Interface LightsailClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Amazon Lightsail is the easiest way to get started with Amazon Web Services (Amazon Web Services) for developers who need to build websites or web applications. It includes everything you need to launch your project quickly - instances (virtual private servers), container services, storage buckets, managed databases, SSD-based block storage, static IP addresses, load balancers, content delivery network (CDN) distributions, DNS management of registered domains, and resource snapshots (backups) - for a low, predictable monthly price.
You can manage your Lightsail resources using the Lightsail console, Lightsail API, Command Line Interface (CLI), or SDKs. For more information about Lightsail concepts and tasks, see the Amazon Lightsail Developer Guide.
This API Reference provides detailed information about the actions, data types, parameters, and errors of the Lightsail service. For more information about the supported Amazon Web Services Regions, endpoints, and service quotas of the Lightsail service, see Amazon Lightsail Endpoints and Quotas in the Amazon Web Services General Reference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AllocateStaticIpResponseallocateStaticIp(Consumer<AllocateStaticIpRequest.Builder> allocateStaticIpRequest) Allocates a static IP address.default AllocateStaticIpResponseallocateStaticIp(AllocateStaticIpRequest allocateStaticIpRequest) Allocates a static IP address.attachCertificateToDistribution(Consumer<AttachCertificateToDistributionRequest.Builder> attachCertificateToDistributionRequest) Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution.attachCertificateToDistribution(AttachCertificateToDistributionRequest attachCertificateToDistributionRequest) Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network (CDN) distribution.default AttachDiskResponseattachDisk(Consumer<AttachDiskRequest.Builder> attachDiskRequest) Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.default AttachDiskResponseattachDisk(AttachDiskRequest attachDiskRequest) Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.attachInstancesToLoadBalancer(Consumer<AttachInstancesToLoadBalancerRequest.Builder> attachInstancesToLoadBalancerRequest) Attaches one or more Lightsail instances to a load balancer.attachInstancesToLoadBalancer(AttachInstancesToLoadBalancerRequest attachInstancesToLoadBalancerRequest) Attaches one or more Lightsail instances to a load balancer.attachLoadBalancerTlsCertificate(Consumer<AttachLoadBalancerTlsCertificateRequest.Builder> attachLoadBalancerTlsCertificateRequest) Attaches a Transport Layer Security (TLS) certificate to your load balancer.attachLoadBalancerTlsCertificate(AttachLoadBalancerTlsCertificateRequest attachLoadBalancerTlsCertificateRequest) Attaches a Transport Layer Security (TLS) certificate to your load balancer.default AttachStaticIpResponseattachStaticIp(Consumer<AttachStaticIpRequest.Builder> attachStaticIpRequest) Attaches a static IP address to a specific Amazon Lightsail instance.default AttachStaticIpResponseattachStaticIp(AttachStaticIpRequest attachStaticIpRequest) Attaches a static IP address to a specific Amazon Lightsail instance.static LightsailClientBuilderbuilder()Create a builder that can be used to configure and create aLightsailClient.default CloseInstancePublicPortsResponsecloseInstancePublicPorts(Consumer<CloseInstancePublicPortsRequest.Builder> closeInstancePublicPortsRequest) Closes ports for a specific Amazon Lightsail instance.default CloseInstancePublicPortsResponsecloseInstancePublicPorts(CloseInstancePublicPortsRequest closeInstancePublicPortsRequest) Closes ports for a specific Amazon Lightsail instance.default CopySnapshotResponsecopySnapshot(Consumer<CopySnapshotRequest.Builder> copySnapshotRequest) 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.default CopySnapshotResponsecopySnapshot(CopySnapshotRequest copySnapshotRequest) 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.static LightsailClientcreate()Create aLightsailClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateBucketResponsecreateBucket(Consumer<CreateBucketRequest.Builder> createBucketRequest) Creates an Amazon Lightsail bucket.default CreateBucketResponsecreateBucket(CreateBucketRequest createBucketRequest) Creates an Amazon Lightsail bucket.default CreateBucketAccessKeyResponsecreateBucketAccessKey(Consumer<CreateBucketAccessKeyRequest.Builder> createBucketAccessKeyRequest) Creates a new access key for the specified Amazon Lightsail bucket.default CreateBucketAccessKeyResponsecreateBucketAccessKey(CreateBucketAccessKeyRequest createBucketAccessKeyRequest) Creates a new access key for the specified Amazon Lightsail bucket.default CreateCertificateResponsecreateCertificate(Consumer<CreateCertificateRequest.Builder> createCertificateRequest) Creates an SSL/TLS certificate for an Amazon Lightsail content delivery network (CDN) distribution and a container service.default CreateCertificateResponsecreateCertificate(CreateCertificateRequest createCertificateRequest) Creates an SSL/TLS certificate for an Amazon Lightsail content delivery network (CDN) distribution and a container service.createCloudFormationStack(Consumer<CreateCloudFormationStackRequest.Builder> createCloudFormationStackRequest) Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported Amazon Lightsail snapshot.createCloudFormationStack(CreateCloudFormationStackRequest createCloudFormationStackRequest) Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported Amazon Lightsail snapshot.default CreateContactMethodResponsecreateContactMethod(Consumer<CreateContactMethodRequest.Builder> createContactMethodRequest) Creates an email or SMS text message contact method.default CreateContactMethodResponsecreateContactMethod(CreateContactMethodRequest createContactMethodRequest) Creates an email or SMS text message contact method.default CreateContainerServiceResponsecreateContainerService(Consumer<CreateContainerServiceRequest.Builder> createContainerServiceRequest) Creates an Amazon Lightsail container service.default CreateContainerServiceResponsecreateContainerService(CreateContainerServiceRequest createContainerServiceRequest) Creates an Amazon Lightsail container service.createContainerServiceDeployment(Consumer<CreateContainerServiceDeploymentRequest.Builder> createContainerServiceDeploymentRequest) Creates a deployment for your Amazon Lightsail container service.createContainerServiceDeployment(CreateContainerServiceDeploymentRequest createContainerServiceDeploymentRequest) Creates a deployment for your Amazon Lightsail container service.createContainerServiceRegistryLogin(Consumer<CreateContainerServiceRegistryLoginRequest.Builder> createContainerServiceRegistryLoginRequest) Creates a temporary set of log in credentials that you can use to log in to the Docker process on your local machine.createContainerServiceRegistryLogin(CreateContainerServiceRegistryLoginRequest createContainerServiceRegistryLoginRequest) Creates a temporary set of log in credentials that you can use to log in to the Docker process on your local machine.default CreateDiskResponsecreateDisk(Consumer<CreateDiskRequest.Builder> createDiskRequest) Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a).default CreateDiskResponsecreateDisk(CreateDiskRequest createDiskRequest) Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (us-east-2a).default CreateDiskFromSnapshotResponsecreateDiskFromSnapshot(Consumer<CreateDiskFromSnapshotRequest.Builder> createDiskFromSnapshotRequest) Creates a block storage disk from a manual or automatic snapshot of a disk.default CreateDiskFromSnapshotResponsecreateDiskFromSnapshot(CreateDiskFromSnapshotRequest createDiskFromSnapshotRequest) Creates a block storage disk from a manual or automatic snapshot of a disk.default CreateDiskSnapshotResponsecreateDiskSnapshot(Consumer<CreateDiskSnapshotRequest.Builder> createDiskSnapshotRequest) Creates a snapshot of a block storage disk.default CreateDiskSnapshotResponsecreateDiskSnapshot(CreateDiskSnapshotRequest createDiskSnapshotRequest) Creates a snapshot of a block storage disk.default CreateDistributionResponsecreateDistribution(Consumer<CreateDistributionRequest.Builder> createDistributionRequest) Creates an Amazon Lightsail content delivery network (CDN) distribution.default CreateDistributionResponsecreateDistribution(CreateDistributionRequest createDistributionRequest) Creates an Amazon Lightsail content delivery network (CDN) distribution.default CreateDomainResponsecreateDomain(Consumer<CreateDomainRequest.Builder> createDomainRequest) Creates a domain resource for the specified domain (example.com).default CreateDomainResponsecreateDomain(CreateDomainRequest createDomainRequest) Creates a domain resource for the specified domain (example.com).default CreateDomainEntryResponsecreateDomainEntry(Consumer<CreateDomainEntryRequest.Builder> createDomainEntryRequest) 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).default CreateDomainEntryResponsecreateDomainEntry(CreateDomainEntryRequest createDomainEntryRequest) 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).createGUISessionAccessDetails(Consumer<CreateGuiSessionAccessDetailsRequest.Builder> createGuiSessionAccessDetailsRequest) Creates two URLs that are used to access a virtual computer’s graphical user interface (GUI) session.createGUISessionAccessDetails(CreateGuiSessionAccessDetailsRequest createGuiSessionAccessDetailsRequest) Creates two URLs that are used to access a virtual computer’s graphical user interface (GUI) session.default CreateInstancesResponsecreateInstances(Consumer<CreateInstancesRequest.Builder> createInstancesRequest) Creates one or more Amazon Lightsail instances.default CreateInstancesResponsecreateInstances(CreateInstancesRequest createInstancesRequest) Creates one or more Amazon Lightsail instances.createInstancesFromSnapshot(Consumer<CreateInstancesFromSnapshotRequest.Builder> createInstancesFromSnapshotRequest) Creates one or more new instances from a manual or automatic snapshot of an instance.createInstancesFromSnapshot(CreateInstancesFromSnapshotRequest createInstancesFromSnapshotRequest) Creates one or more new instances from a manual or automatic snapshot of an instance.default CreateInstanceSnapshotResponsecreateInstanceSnapshot(Consumer<CreateInstanceSnapshotRequest.Builder> createInstanceSnapshotRequest) Creates a snapshot of a specific virtual private server, or instance.default CreateInstanceSnapshotResponsecreateInstanceSnapshot(CreateInstanceSnapshotRequest createInstanceSnapshotRequest) Creates a snapshot of a specific virtual private server, or instance.default CreateKeyPairResponsecreateKeyPair(Consumer<CreateKeyPairRequest.Builder> createKeyPairRequest) Creates a custom SSH key pair that you can use with an Amazon Lightsail instance.default CreateKeyPairResponsecreateKeyPair(CreateKeyPairRequest createKeyPairRequest) Creates a custom SSH key pair that you can use with an Amazon Lightsail instance.default CreateLoadBalancerResponsecreateLoadBalancer(Consumer<CreateLoadBalancerRequest.Builder> createLoadBalancerRequest) Creates a Lightsail load balancer.default CreateLoadBalancerResponsecreateLoadBalancer(CreateLoadBalancerRequest createLoadBalancerRequest) Creates a Lightsail load balancer.createLoadBalancerTlsCertificate(Consumer<CreateLoadBalancerTlsCertificateRequest.Builder> createLoadBalancerTlsCertificateRequest) Creates an SSL/TLS certificate for an Amazon Lightsail load balancer.createLoadBalancerTlsCertificate(CreateLoadBalancerTlsCertificateRequest createLoadBalancerTlsCertificateRequest) Creates an SSL/TLS certificate for an Amazon Lightsail load balancer.default CreateRelationalDatabaseResponsecreateRelationalDatabase(Consumer<CreateRelationalDatabaseRequest.Builder> createRelationalDatabaseRequest) Creates a new database in Amazon Lightsail.default CreateRelationalDatabaseResponsecreateRelationalDatabase(CreateRelationalDatabaseRequest createRelationalDatabaseRequest) Creates a new database in Amazon Lightsail.createRelationalDatabaseFromSnapshot(Consumer<CreateRelationalDatabaseFromSnapshotRequest.Builder> createRelationalDatabaseFromSnapshotRequest) Creates a new database from an existing database snapshot in Amazon Lightsail.createRelationalDatabaseFromSnapshot(CreateRelationalDatabaseFromSnapshotRequest createRelationalDatabaseFromSnapshotRequest) Creates a new database from an existing database snapshot in Amazon Lightsail.createRelationalDatabaseSnapshot(Consumer<CreateRelationalDatabaseSnapshotRequest.Builder> createRelationalDatabaseSnapshotRequest) Creates a snapshot of your database in Amazon Lightsail.createRelationalDatabaseSnapshot(CreateRelationalDatabaseSnapshotRequest createRelationalDatabaseSnapshotRequest) Creates a snapshot of your database in Amazon Lightsail.default DeleteAlarmResponsedeleteAlarm(Consumer<DeleteAlarmRequest.Builder> deleteAlarmRequest) Deletes an alarm.default DeleteAlarmResponsedeleteAlarm(DeleteAlarmRequest deleteAlarmRequest) Deletes an alarm.default DeleteAutoSnapshotResponsedeleteAutoSnapshot(Consumer<DeleteAutoSnapshotRequest.Builder> deleteAutoSnapshotRequest) Deletes an automatic snapshot of an instance or disk.default DeleteAutoSnapshotResponsedeleteAutoSnapshot(DeleteAutoSnapshotRequest deleteAutoSnapshotRequest) Deletes an automatic snapshot of an instance or disk.default DeleteBucketResponsedeleteBucket(Consumer<DeleteBucketRequest.Builder> deleteBucketRequest) Deletes a Amazon Lightsail bucket.default DeleteBucketResponsedeleteBucket(DeleteBucketRequest deleteBucketRequest) Deletes a Amazon Lightsail bucket.default DeleteBucketAccessKeyResponsedeleteBucketAccessKey(Consumer<DeleteBucketAccessKeyRequest.Builder> deleteBucketAccessKeyRequest) Deletes an access key for the specified Amazon Lightsail bucket.default DeleteBucketAccessKeyResponsedeleteBucketAccessKey(DeleteBucketAccessKeyRequest deleteBucketAccessKeyRequest) Deletes an access key for the specified Amazon Lightsail bucket.default DeleteCertificateResponsedeleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest) Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) distribution.default DeleteCertificateResponsedeleteCertificate(DeleteCertificateRequest deleteCertificateRequest) Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) distribution.default DeleteContactMethodResponsedeleteContactMethod(Consumer<DeleteContactMethodRequest.Builder> deleteContactMethodRequest) Deletes a contact method.default DeleteContactMethodResponsedeleteContactMethod(DeleteContactMethodRequest deleteContactMethodRequest) Deletes a contact method.default DeleteContainerImageResponsedeleteContainerImage(Consumer<DeleteContainerImageRequest.Builder> deleteContainerImageRequest) Deletes a container image that is registered to your Amazon Lightsail container service.default DeleteContainerImageResponsedeleteContainerImage(DeleteContainerImageRequest deleteContainerImageRequest) Deletes a container image that is registered to your Amazon Lightsail container service.default DeleteContainerServiceResponsedeleteContainerService(Consumer<DeleteContainerServiceRequest.Builder> deleteContainerServiceRequest) Deletes your Amazon Lightsail container service.default DeleteContainerServiceResponsedeleteContainerService(DeleteContainerServiceRequest deleteContainerServiceRequest) Deletes your Amazon Lightsail container service.default DeleteDiskResponsedeleteDisk(Consumer<DeleteDiskRequest.Builder> deleteDiskRequest) Deletes the specified block storage disk.default DeleteDiskResponsedeleteDisk(DeleteDiskRequest deleteDiskRequest) Deletes the specified block storage disk.default DeleteDiskSnapshotResponsedeleteDiskSnapshot(Consumer<DeleteDiskSnapshotRequest.Builder> deleteDiskSnapshotRequest) Deletes the specified disk snapshot.default DeleteDiskSnapshotResponsedeleteDiskSnapshot(DeleteDiskSnapshotRequest deleteDiskSnapshotRequest) Deletes the specified disk snapshot.default DeleteDistributionResponsedeleteDistribution(Consumer<DeleteDistributionRequest.Builder> deleteDistributionRequest) Deletes your Amazon Lightsail content delivery network (CDN) distribution.default DeleteDistributionResponsedeleteDistribution(DeleteDistributionRequest deleteDistributionRequest) Deletes your Amazon Lightsail content delivery network (CDN) distribution.default DeleteDomainResponsedeleteDomain(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest) Deletes the specified domain recordset and all of its domain records.default DeleteDomainResponsedeleteDomain(DeleteDomainRequest deleteDomainRequest) Deletes the specified domain recordset and all of its domain records.default DeleteDomainEntryResponsedeleteDomainEntry(Consumer<DeleteDomainEntryRequest.Builder> deleteDomainEntryRequest) Deletes a specific domain entry.default DeleteDomainEntryResponsedeleteDomainEntry(DeleteDomainEntryRequest deleteDomainEntryRequest) Deletes a specific domain entry.default DeleteInstanceResponsedeleteInstance(Consumer<DeleteInstanceRequest.Builder> deleteInstanceRequest) Deletes an Amazon Lightsail instance.default DeleteInstanceResponsedeleteInstance(DeleteInstanceRequest deleteInstanceRequest) Deletes an Amazon Lightsail instance.default DeleteInstanceSnapshotResponsedeleteInstanceSnapshot(Consumer<DeleteInstanceSnapshotRequest.Builder> deleteInstanceSnapshotRequest) Deletes a specific snapshot of a virtual private server (or instance).default DeleteInstanceSnapshotResponsedeleteInstanceSnapshot(DeleteInstanceSnapshotRequest deleteInstanceSnapshotRequest) Deletes a specific snapshot of a virtual private server (or instance).default DeleteKeyPairResponsedeleteKeyPair(Consumer<DeleteKeyPairRequest.Builder> deleteKeyPairRequest) Deletes the specified key pair by removing the public key from Amazon Lightsail.default DeleteKeyPairResponsedeleteKeyPair(DeleteKeyPairRequest deleteKeyPairRequest) Deletes the specified key pair by removing the public key from Amazon Lightsail.default DeleteKnownHostKeysResponsedeleteKnownHostKeys(Consumer<DeleteKnownHostKeysRequest.Builder> deleteKnownHostKeysRequest) Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance.default DeleteKnownHostKeysResponsedeleteKnownHostKeys(DeleteKnownHostKeysRequest deleteKnownHostKeysRequest) Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance.default DeleteLoadBalancerResponsedeleteLoadBalancer(Consumer<DeleteLoadBalancerRequest.Builder> deleteLoadBalancerRequest) Deletes a Lightsail load balancer and all its associated SSL/TLS certificates.default DeleteLoadBalancerResponsedeleteLoadBalancer(DeleteLoadBalancerRequest deleteLoadBalancerRequest) Deletes a Lightsail load balancer and all its associated SSL/TLS certificates.deleteLoadBalancerTlsCertificate(Consumer<DeleteLoadBalancerTlsCertificateRequest.Builder> deleteLoadBalancerTlsCertificateRequest) Deletes an SSL/TLS certificate associated with a Lightsail load balancer.deleteLoadBalancerTlsCertificate(DeleteLoadBalancerTlsCertificateRequest deleteLoadBalancerTlsCertificateRequest) Deletes an SSL/TLS certificate associated with a Lightsail load balancer.default DeleteRelationalDatabaseResponsedeleteRelationalDatabase(Consumer<DeleteRelationalDatabaseRequest.Builder> deleteRelationalDatabaseRequest) Deletes a database in Amazon Lightsail.default DeleteRelationalDatabaseResponsedeleteRelationalDatabase(DeleteRelationalDatabaseRequest deleteRelationalDatabaseRequest) Deletes a database in Amazon Lightsail.deleteRelationalDatabaseSnapshot(Consumer<DeleteRelationalDatabaseSnapshotRequest.Builder> deleteRelationalDatabaseSnapshotRequest) Deletes a database snapshot in Amazon Lightsail.deleteRelationalDatabaseSnapshot(DeleteRelationalDatabaseSnapshotRequest deleteRelationalDatabaseSnapshotRequest) Deletes a database snapshot in Amazon Lightsail.detachCertificateFromDistribution(Consumer<DetachCertificateFromDistributionRequest.Builder> detachCertificateFromDistributionRequest) Detaches an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN) distribution.detachCertificateFromDistribution(DetachCertificateFromDistributionRequest detachCertificateFromDistributionRequest) Detaches an SSL/TLS certificate from your Amazon Lightsail content delivery network (CDN) distribution.default DetachDiskResponsedetachDisk(Consumer<DetachDiskRequest.Builder> detachDiskRequest) Detaches a stopped block storage disk from a Lightsail instance.default DetachDiskResponsedetachDisk(DetachDiskRequest detachDiskRequest) Detaches a stopped block storage disk from a Lightsail instance.detachInstancesFromLoadBalancer(Consumer<DetachInstancesFromLoadBalancerRequest.Builder> detachInstancesFromLoadBalancerRequest) Detaches the specified instances from a Lightsail load balancer.detachInstancesFromLoadBalancer(DetachInstancesFromLoadBalancerRequest detachInstancesFromLoadBalancerRequest) Detaches the specified instances from a Lightsail load balancer.default DetachStaticIpResponsedetachStaticIp(Consumer<DetachStaticIpRequest.Builder> detachStaticIpRequest) Detaches a static IP from the Amazon Lightsail instance to which it is attached.default DetachStaticIpResponsedetachStaticIp(DetachStaticIpRequest detachStaticIpRequest) Detaches a static IP from the Amazon Lightsail instance to which it is attached.default DisableAddOnResponsedisableAddOn(Consumer<DisableAddOnRequest.Builder> disableAddOnRequest) Disables an add-on for an Amazon Lightsail resource.default DisableAddOnResponsedisableAddOn(DisableAddOnRequest disableAddOnRequest) Disables an add-on for an Amazon Lightsail resource.default DownloadDefaultKeyPairResponseDownloads the regional Amazon Lightsail default key pair.default DownloadDefaultKeyPairResponsedownloadDefaultKeyPair(Consumer<DownloadDefaultKeyPairRequest.Builder> downloadDefaultKeyPairRequest) Downloads the regional Amazon Lightsail default key pair.default DownloadDefaultKeyPairResponsedownloadDefaultKeyPair(DownloadDefaultKeyPairRequest downloadDefaultKeyPairRequest) Downloads the regional Amazon Lightsail default key pair.default EnableAddOnResponseenableAddOn(Consumer<EnableAddOnRequest.Builder> enableAddOnRequest) Enables or modifies an add-on for an Amazon Lightsail resource.default EnableAddOnResponseenableAddOn(EnableAddOnRequest enableAddOnRequest) Enables or modifies an add-on for an Amazon Lightsail resource.default ExportSnapshotResponseexportSnapshot(Consumer<ExportSnapshotRequest.Builder> exportSnapshotRequest) Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2).default ExportSnapshotResponseexportSnapshot(ExportSnapshotRequest exportSnapshotRequest) Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2).default GetActiveNamesResponseReturns the names of all active (not deleted) resources.default GetActiveNamesResponsegetActiveNames(Consumer<GetActiveNamesRequest.Builder> getActiveNamesRequest) Returns the names of all active (not deleted) resources.default GetActiveNamesResponsegetActiveNames(GetActiveNamesRequest getActiveNamesRequest) Returns the names of all active (not deleted) resources.default GetAlarmsResponsegetAlarms(Consumer<GetAlarmsRequest.Builder> getAlarmsRequest) Returns information about the configured alarms.default GetAlarmsResponsegetAlarms(GetAlarmsRequest getAlarmsRequest) Returns information about the configured alarms.default GetAutoSnapshotsResponsegetAutoSnapshots(Consumer<GetAutoSnapshotsRequest.Builder> getAutoSnapshotsRequest) Returns the available automatic snapshots for an instance or disk.default GetAutoSnapshotsResponsegetAutoSnapshots(GetAutoSnapshotsRequest getAutoSnapshotsRequest) Returns the available automatic snapshots for an instance or disk.default GetBlueprintsResponseReturns the list of available instance images, or blueprints.default GetBlueprintsResponsegetBlueprints(Consumer<GetBlueprintsRequest.Builder> getBlueprintsRequest) Returns the list of available instance images, or blueprints.default GetBlueprintsResponsegetBlueprints(GetBlueprintsRequest getBlueprintsRequest) Returns the list of available instance images, or blueprints.default GetBucketAccessKeysResponsegetBucketAccessKeys(Consumer<GetBucketAccessKeysRequest.Builder> getBucketAccessKeysRequest) Returns the existing access key IDs for the specified Amazon Lightsail bucket.default GetBucketAccessKeysResponsegetBucketAccessKeys(GetBucketAccessKeysRequest getBucketAccessKeysRequest) Returns the existing access key IDs for the specified Amazon Lightsail bucket.default GetBucketBundlesResponsegetBucketBundles(Consumer<GetBucketBundlesRequest.Builder> getBucketBundlesRequest) Returns the bundles that you can apply to a Amazon Lightsail bucket.default GetBucketBundlesResponsegetBucketBundles(GetBucketBundlesRequest getBucketBundlesRequest) Returns the bundles that you can apply to a Amazon Lightsail bucket.default GetBucketMetricDataResponsegetBucketMetricData(Consumer<GetBucketMetricDataRequest.Builder> getBucketMetricDataRequest) Returns the data points of a specific metric for an Amazon Lightsail bucket.default GetBucketMetricDataResponsegetBucketMetricData(GetBucketMetricDataRequest getBucketMetricDataRequest) Returns the data points of a specific metric for an Amazon Lightsail bucket.default GetBucketsResponsegetBuckets(Consumer<GetBucketsRequest.Builder> getBucketsRequest) Returns information about one or more Amazon Lightsail buckets.default GetBucketsResponsegetBuckets(GetBucketsRequest getBucketsRequest) Returns information about one or more Amazon Lightsail buckets.default GetBundlesResponseReturns the bundles that you can apply to an Amazon Lightsail instance when you create it.default GetBundlesResponsegetBundles(Consumer<GetBundlesRequest.Builder> getBundlesRequest) Returns the bundles that you can apply to an Amazon Lightsail instance when you create it.default GetBundlesResponsegetBundles(GetBundlesRequest getBundlesRequest) Returns the bundles that you can apply to an Amazon Lightsail instance when you create it.default GetCertificatesResponsegetCertificates(Consumer<GetCertificatesRequest.Builder> getCertificatesRequest) Returns information about one or more Amazon Lightsail SSL/TLS certificates.default GetCertificatesResponsegetCertificates(GetCertificatesRequest getCertificatesRequest) Returns information about one or more Amazon Lightsail SSL/TLS certificates.Returns the CloudFormation stack record created as a result of thecreate cloud formation stackoperation.getCloudFormationStackRecords(Consumer<GetCloudFormationStackRecordsRequest.Builder> getCloudFormationStackRecordsRequest) Returns the CloudFormation stack record created as a result of thecreate cloud formation stackoperation.getCloudFormationStackRecords(GetCloudFormationStackRecordsRequest getCloudFormationStackRecordsRequest) Returns the CloudFormation stack record created as a result of thecreate cloud formation stackoperation.default GetContactMethodsResponsegetContactMethods(Consumer<GetContactMethodsRequest.Builder> getContactMethodsRequest) Returns information about the configured contact methods.default GetContactMethodsResponsegetContactMethods(GetContactMethodsRequest getContactMethodsRequest) Returns information about the configured contact methods.default GetContainerApiMetadataResponsegetContainerAPIMetadata(Consumer<GetContainerApiMetadataRequest.Builder> getContainerApiMetadataRequest) Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.default GetContainerApiMetadataResponsegetContainerAPIMetadata(GetContainerApiMetadataRequest getContainerApiMetadataRequest) Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.default GetContainerImagesResponsegetContainerImages(Consumer<GetContainerImagesRequest.Builder> getContainerImagesRequest) Returns the container images that are registered to your Amazon Lightsail container service.default GetContainerImagesResponsegetContainerImages(GetContainerImagesRequest getContainerImagesRequest) Returns the container images that are registered to your Amazon Lightsail container service.default GetContainerLogResponsegetContainerLog(Consumer<GetContainerLogRequest.Builder> getContainerLogRequest) Returns the log events of a container of your Amazon Lightsail container service.default GetContainerLogResponsegetContainerLog(GetContainerLogRequest getContainerLogRequest) Returns the log events of a container of your Amazon Lightsail container service.getContainerServiceDeployments(Consumer<GetContainerServiceDeploymentsRequest.Builder> getContainerServiceDeploymentsRequest) Returns the deployments for your Amazon Lightsail container servicegetContainerServiceDeployments(GetContainerServiceDeploymentsRequest getContainerServiceDeploymentsRequest) Returns the deployments for your Amazon Lightsail container servicegetContainerServiceMetricData(Consumer<GetContainerServiceMetricDataRequest.Builder> getContainerServiceMetricDataRequest) Returns the data points of a specific metric of your Amazon Lightsail container service.getContainerServiceMetricData(GetContainerServiceMetricDataRequest getContainerServiceMetricDataRequest) Returns the data points of a specific metric of your Amazon Lightsail container service.getContainerServicePowers(Consumer<GetContainerServicePowersRequest.Builder> getContainerServicePowersRequest) Returns the list of powers that can be specified for your Amazon Lightsail container services.getContainerServicePowers(GetContainerServicePowersRequest getContainerServicePowersRequest) Returns the list of powers that can be specified for your Amazon Lightsail container services.default GetContainerServicesResponsegetContainerServices(Consumer<GetContainerServicesRequest.Builder> getContainerServicesRequest) Returns information about one or more of your Amazon Lightsail container services.default GetContainerServicesResponsegetContainerServices(GetContainerServicesRequest getContainerServicesRequest) Returns information about one or more of your Amazon Lightsail container services.default GetCostEstimateResponsegetCostEstimate(Consumer<GetCostEstimateRequest.Builder> getCostEstimateRequest) Retrieves information about the cost estimate for a specified resource.default GetCostEstimateResponsegetCostEstimate(GetCostEstimateRequest getCostEstimateRequest) Retrieves information about the cost estimate for a specified resource.default GetDiskResponsegetDisk(Consumer<GetDiskRequest.Builder> getDiskRequest) Returns information about a specific block storage disk.default GetDiskResponsegetDisk(GetDiskRequest getDiskRequest) Returns information about a specific block storage disk.default GetDisksResponsegetDisks()Returns information about all block storage disks in your AWS account and region.default GetDisksResponsegetDisks(Consumer<GetDisksRequest.Builder> getDisksRequest) Returns information about all block storage disks in your AWS account and region.default GetDisksResponsegetDisks(GetDisksRequest getDisksRequest) Returns information about all block storage disks in your AWS account and region.default GetDiskSnapshotResponsegetDiskSnapshot(Consumer<GetDiskSnapshotRequest.Builder> getDiskSnapshotRequest) Returns information about a specific block storage disk snapshot.default GetDiskSnapshotResponsegetDiskSnapshot(GetDiskSnapshotRequest getDiskSnapshotRequest) Returns information about a specific block storage disk snapshot.default GetDiskSnapshotsResponseReturns information about all block storage disk snapshots in your AWS account and region.default GetDiskSnapshotsResponsegetDiskSnapshots(Consumer<GetDiskSnapshotsRequest.Builder> getDiskSnapshotsRequest) Returns information about all block storage disk snapshots in your AWS account and region.default GetDiskSnapshotsResponsegetDiskSnapshots(GetDiskSnapshotsRequest getDiskSnapshotsRequest) Returns information about all block storage disk snapshots in your AWS account and region.default GetDistributionBundlesResponsegetDistributionBundles(Consumer<GetDistributionBundlesRequest.Builder> getDistributionBundlesRequest) Returns the bundles that can be applied to your Amazon Lightsail content delivery network (CDN) distributions.default GetDistributionBundlesResponsegetDistributionBundles(GetDistributionBundlesRequest getDistributionBundlesRequest) Returns the bundles that can be applied to your Amazon Lightsail content delivery network (CDN) distributions.getDistributionLatestCacheReset(Consumer<GetDistributionLatestCacheResetRequest.Builder> getDistributionLatestCacheResetRequest) Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.getDistributionLatestCacheReset(GetDistributionLatestCacheResetRequest getDistributionLatestCacheResetRequest) Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.getDistributionMetricData(Consumer<GetDistributionMetricDataRequest.Builder> getDistributionMetricDataRequest) Returns the data points of a specific metric for an Amazon Lightsail content delivery network (CDN) distribution.getDistributionMetricData(GetDistributionMetricDataRequest getDistributionMetricDataRequest) Returns the data points of a specific metric for an Amazon Lightsail content delivery network (CDN) distribution.default GetDistributionsResponsegetDistributions(Consumer<GetDistributionsRequest.Builder> getDistributionsRequest) Returns information about one or more of your Amazon Lightsail content delivery network (CDN) distributions.default GetDistributionsResponsegetDistributions(GetDistributionsRequest getDistributionsRequest) Returns information about one or more of your Amazon Lightsail content delivery network (CDN) distributions.default GetDomainResponsegetDomain(Consumer<GetDomainRequest.Builder> getDomainRequest) Returns information about a specific domain recordset.default GetDomainResponsegetDomain(GetDomainRequest getDomainRequest) Returns information about a specific domain recordset.default GetDomainsResponseReturns a list of all domains in the user's account.default GetDomainsResponsegetDomains(Consumer<GetDomainsRequest.Builder> getDomainsRequest) Returns a list of all domains in the user's account.default GetDomainsResponsegetDomains(GetDomainsRequest getDomainsRequest) Returns a list of all domains in the user's account.default GetExportSnapshotRecordsResponseReturns all export snapshot records created as a result of theexport snapshotoperation.default GetExportSnapshotRecordsResponsegetExportSnapshotRecords(Consumer<GetExportSnapshotRecordsRequest.Builder> getExportSnapshotRecordsRequest) Returns all export snapshot records created as a result of theexport snapshotoperation.default GetExportSnapshotRecordsResponsegetExportSnapshotRecords(GetExportSnapshotRecordsRequest getExportSnapshotRecordsRequest) Returns all export snapshot records created as a result of theexport snapshotoperation.default GetInstanceResponsegetInstance(Consumer<GetInstanceRequest.Builder> getInstanceRequest) Returns information about a specific Amazon Lightsail instance, which is a virtual private server.default GetInstanceResponsegetInstance(GetInstanceRequest getInstanceRequest) Returns information about a specific Amazon Lightsail instance, which is a virtual private server.default GetInstanceAccessDetailsResponsegetInstanceAccessDetails(Consumer<GetInstanceAccessDetailsRequest.Builder> getInstanceAccessDetailsRequest) Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.default GetInstanceAccessDetailsResponsegetInstanceAccessDetails(GetInstanceAccessDetailsRequest getInstanceAccessDetailsRequest) Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.default GetInstanceMetricDataResponsegetInstanceMetricData(Consumer<GetInstanceMetricDataRequest.Builder> getInstanceMetricDataRequest) Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.default GetInstanceMetricDataResponsegetInstanceMetricData(GetInstanceMetricDataRequest getInstanceMetricDataRequest) Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.default GetInstancePortStatesResponsegetInstancePortStates(Consumer<GetInstancePortStatesRequest.Builder> getInstancePortStatesRequest) Returns the firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.default GetInstancePortStatesResponsegetInstancePortStates(GetInstancePortStatesRequest getInstancePortStatesRequest) Returns the firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.default GetInstancesResponseReturns information about all Amazon Lightsail virtual private servers, or instances.default GetInstancesResponsegetInstances(Consumer<GetInstancesRequest.Builder> getInstancesRequest) Returns information about all Amazon Lightsail virtual private servers, or instances.default GetInstancesResponsegetInstances(GetInstancesRequest getInstancesRequest) Returns information about all Amazon Lightsail virtual private servers, or instances.default GetInstanceSnapshotResponsegetInstanceSnapshot(Consumer<GetInstanceSnapshotRequest.Builder> getInstanceSnapshotRequest) Returns information about a specific instance snapshot.default GetInstanceSnapshotResponsegetInstanceSnapshot(GetInstanceSnapshotRequest getInstanceSnapshotRequest) Returns information about a specific instance snapshot.default GetInstanceSnapshotsResponseReturns all instance snapshots for the user's account.default GetInstanceSnapshotsResponsegetInstanceSnapshots(Consumer<GetInstanceSnapshotsRequest.Builder> getInstanceSnapshotsRequest) Returns all instance snapshots for the user's account.default GetInstanceSnapshotsResponsegetInstanceSnapshots(GetInstanceSnapshotsRequest getInstanceSnapshotsRequest) Returns all instance snapshots for the user's account.default GetInstanceStateResponsegetInstanceState(Consumer<GetInstanceStateRequest.Builder> getInstanceStateRequest) Returns the state of a specific instance.default GetInstanceStateResponsegetInstanceState(GetInstanceStateRequest getInstanceStateRequest) Returns the state of a specific instance.default GetKeyPairResponsegetKeyPair(Consumer<GetKeyPairRequest.Builder> getKeyPairRequest) Returns information about a specific key pair.default GetKeyPairResponsegetKeyPair(GetKeyPairRequest getKeyPairRequest) Returns information about a specific key pair.default GetKeyPairsResponseReturns information about all key pairs in the user's account.default GetKeyPairsResponsegetKeyPairs(Consumer<GetKeyPairsRequest.Builder> getKeyPairsRequest) Returns information about all key pairs in the user's account.default GetKeyPairsResponsegetKeyPairs(GetKeyPairsRequest getKeyPairsRequest) Returns information about all key pairs in the user's account.default GetLoadBalancerResponsegetLoadBalancer(Consumer<GetLoadBalancerRequest.Builder> getLoadBalancerRequest) Returns information about the specified Lightsail load balancer.default GetLoadBalancerResponsegetLoadBalancer(GetLoadBalancerRequest getLoadBalancerRequest) Returns information about the specified Lightsail load balancer.getLoadBalancerMetricData(Consumer<GetLoadBalancerMetricDataRequest.Builder> getLoadBalancerMetricDataRequest) Returns information about health metrics for your Lightsail load balancer.getLoadBalancerMetricData(GetLoadBalancerMetricDataRequest getLoadBalancerMetricDataRequest) Returns information about health metrics for your Lightsail load balancer.default GetLoadBalancersResponseReturns information about all load balancers in an account.default GetLoadBalancersResponsegetLoadBalancers(Consumer<GetLoadBalancersRequest.Builder> getLoadBalancersRequest) Returns information about all load balancers in an account.default GetLoadBalancersResponsegetLoadBalancers(GetLoadBalancersRequest getLoadBalancersRequest) Returns information about all load balancers in an account.getLoadBalancerTlsCertificates(Consumer<GetLoadBalancerTlsCertificatesRequest.Builder> getLoadBalancerTlsCertificatesRequest) Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.getLoadBalancerTlsCertificates(GetLoadBalancerTlsCertificatesRequest getLoadBalancerTlsCertificatesRequest) Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.getLoadBalancerTlsPolicies(Consumer<GetLoadBalancerTlsPoliciesRequest.Builder> getLoadBalancerTlsPoliciesRequest) Returns a list of TLS security policies that you can apply to Lightsail load balancers.getLoadBalancerTlsPolicies(GetLoadBalancerTlsPoliciesRequest getLoadBalancerTlsPoliciesRequest) Returns a list of TLS security policies that you can apply to Lightsail load balancers.default GetOperationResponsegetOperation(Consumer<GetOperationRequest.Builder> getOperationRequest) Returns information about a specific operation.default GetOperationResponsegetOperation(GetOperationRequest getOperationRequest) Returns information about a specific operation.default GetOperationsResponseReturns information about all operations.default GetOperationsResponsegetOperations(Consumer<GetOperationsRequest.Builder> getOperationsRequest) Returns information about all operations.default GetOperationsResponsegetOperations(GetOperationsRequest getOperationsRequest) Returns information about all operations.default GetOperationsForResourceResponsegetOperationsForResource(Consumer<GetOperationsForResourceRequest.Builder> getOperationsForResourceRequest) Gets operations for a specific resource (an instance or a static IP).default GetOperationsForResourceResponsegetOperationsForResource(GetOperationsForResourceRequest getOperationsForResourceRequest) Gets operations for a specific resource (an instance or a static IP).default GetRegionsResponseReturns a list of all valid regions for Amazon Lightsail.default GetRegionsResponsegetRegions(Consumer<GetRegionsRequest.Builder> getRegionsRequest) Returns a list of all valid regions for Amazon Lightsail.default GetRegionsResponsegetRegions(GetRegionsRequest getRegionsRequest) Returns a list of all valid regions for Amazon Lightsail.default GetRelationalDatabaseResponsegetRelationalDatabase(Consumer<GetRelationalDatabaseRequest.Builder> getRelationalDatabaseRequest) Returns information about a specific database in Amazon Lightsail.default GetRelationalDatabaseResponsegetRelationalDatabase(GetRelationalDatabaseRequest getRelationalDatabaseRequest) Returns information about a specific database in Amazon Lightsail.Returns a list of available database blueprints in Amazon Lightsail.getRelationalDatabaseBlueprints(Consumer<GetRelationalDatabaseBlueprintsRequest.Builder> getRelationalDatabaseBlueprintsRequest) Returns a list of available database blueprints in Amazon Lightsail.getRelationalDatabaseBlueprints(GetRelationalDatabaseBlueprintsRequest getRelationalDatabaseBlueprintsRequest) Returns a list of available database blueprints in Amazon Lightsail.Returns the list of bundles that are available in Amazon Lightsail.getRelationalDatabaseBundles(Consumer<GetRelationalDatabaseBundlesRequest.Builder> getRelationalDatabaseBundlesRequest) Returns the list of bundles that are available in Amazon Lightsail.getRelationalDatabaseBundles(GetRelationalDatabaseBundlesRequest getRelationalDatabaseBundlesRequest) Returns the list of bundles that are available in Amazon Lightsail.getRelationalDatabaseEvents(Consumer<GetRelationalDatabaseEventsRequest.Builder> getRelationalDatabaseEventsRequest) Returns a list of events for a specific database in Amazon Lightsail.getRelationalDatabaseEvents(GetRelationalDatabaseEventsRequest getRelationalDatabaseEventsRequest) Returns a list of events for a specific database in Amazon Lightsail.getRelationalDatabaseLogEvents(Consumer<GetRelationalDatabaseLogEventsRequest.Builder> getRelationalDatabaseLogEventsRequest) Returns a list of log events for a database in Amazon Lightsail.getRelationalDatabaseLogEvents(GetRelationalDatabaseLogEventsRequest getRelationalDatabaseLogEventsRequest) Returns a list of log events for a database in Amazon Lightsail.getRelationalDatabaseLogStreams(Consumer<GetRelationalDatabaseLogStreamsRequest.Builder> getRelationalDatabaseLogStreamsRequest) Returns a list of available log streams for a specific database in Amazon Lightsail.getRelationalDatabaseLogStreams(GetRelationalDatabaseLogStreamsRequest getRelationalDatabaseLogStreamsRequest) Returns a list of available log streams for a specific database in Amazon Lightsail.getRelationalDatabaseMasterUserPassword(Consumer<GetRelationalDatabaseMasterUserPasswordRequest.Builder> getRelationalDatabaseMasterUserPasswordRequest) Returns the current, previous, or pending versions of the master user password for a Lightsail database.getRelationalDatabaseMasterUserPassword(GetRelationalDatabaseMasterUserPasswordRequest getRelationalDatabaseMasterUserPasswordRequest) Returns the current, previous, or pending versions of the master user password for a Lightsail database.getRelationalDatabaseMetricData(Consumer<GetRelationalDatabaseMetricDataRequest.Builder> getRelationalDatabaseMetricDataRequest) Returns the data points of the specified metric for a database in Amazon Lightsail.getRelationalDatabaseMetricData(GetRelationalDatabaseMetricDataRequest getRelationalDatabaseMetricDataRequest) Returns the data points of the specified metric for a database in Amazon Lightsail.getRelationalDatabaseParameters(Consumer<GetRelationalDatabaseParametersRequest.Builder> getRelationalDatabaseParametersRequest) Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail.getRelationalDatabaseParameters(GetRelationalDatabaseParametersRequest getRelationalDatabaseParametersRequest) Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail.default GetRelationalDatabasesResponseReturns information about all of your databases in Amazon Lightsail.default GetRelationalDatabasesResponsegetRelationalDatabases(Consumer<GetRelationalDatabasesRequest.Builder> getRelationalDatabasesRequest) Returns information about all of your databases in Amazon Lightsail.default GetRelationalDatabasesResponsegetRelationalDatabases(GetRelationalDatabasesRequest getRelationalDatabasesRequest) Returns information about all of your databases in Amazon Lightsail.getRelationalDatabaseSnapshot(Consumer<GetRelationalDatabaseSnapshotRequest.Builder> getRelationalDatabaseSnapshotRequest) Returns information about a specific database snapshot in Amazon Lightsail.getRelationalDatabaseSnapshot(GetRelationalDatabaseSnapshotRequest getRelationalDatabaseSnapshotRequest) Returns information about a specific database snapshot in Amazon Lightsail.Returns information about all of your database snapshots in Amazon Lightsail.getRelationalDatabaseSnapshots(Consumer<GetRelationalDatabaseSnapshotsRequest.Builder> getRelationalDatabaseSnapshotsRequest) Returns information about all of your database snapshots in Amazon Lightsail.getRelationalDatabaseSnapshots(GetRelationalDatabaseSnapshotsRequest getRelationalDatabaseSnapshotsRequest) Returns information about all of your database snapshots in Amazon Lightsail.default GetSetupHistoryResponsegetSetupHistory(Consumer<GetSetupHistoryRequest.Builder> getSetupHistoryRequest) Returns detailed information for five of the most recentSetupInstanceHttpsrequests that were ran on the target instance.default GetSetupHistoryResponsegetSetupHistory(GetSetupHistoryRequest getSetupHistoryRequest) Returns detailed information for five of the most recentSetupInstanceHttpsrequests that were ran on the target instance.default GetStaticIpResponsegetStaticIp(Consumer<GetStaticIpRequest.Builder> getStaticIpRequest) Returns information about an Amazon Lightsail static IP.default GetStaticIpResponsegetStaticIp(GetStaticIpRequest getStaticIpRequest) Returns information about an Amazon Lightsail static IP.default GetStaticIpsResponseReturns information about all static IPs in the user's account.default GetStaticIpsResponsegetStaticIps(Consumer<GetStaticIpsRequest.Builder> getStaticIpsRequest) Returns information about all static IPs in the user's account.default GetStaticIpsResponsegetStaticIps(GetStaticIpsRequest getStaticIpsRequest) Returns information about all static IPs in the user's account.default ImportKeyPairResponseimportKeyPair(Consumer<ImportKeyPairRequest.Builder> importKeyPairRequest) Imports a public SSH key from a specific key pair.default ImportKeyPairResponseimportKeyPair(ImportKeyPairRequest importKeyPairRequest) Imports a public SSH key from a specific key pair.default IsVpcPeeredResponseReturns a Boolean value indicating whether your Lightsail VPC is peered.default IsVpcPeeredResponseisVpcPeered(Consumer<IsVpcPeeredRequest.Builder> isVpcPeeredRequest) Returns a Boolean value indicating whether your Lightsail VPC is peered.default IsVpcPeeredResponseisVpcPeered(IsVpcPeeredRequest isVpcPeeredRequest) Returns a Boolean value indicating whether your Lightsail VPC is peered.default OpenInstancePublicPortsResponseopenInstancePublicPorts(Consumer<OpenInstancePublicPortsRequest.Builder> openInstancePublicPortsRequest) Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.default OpenInstancePublicPortsResponseopenInstancePublicPorts(OpenInstancePublicPortsRequest openInstancePublicPortsRequest) Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.default PeerVpcResponsepeerVpc()Peers the Lightsail VPC with the user's default VPC.default PeerVpcResponsepeerVpc(Consumer<PeerVpcRequest.Builder> peerVpcRequest) Peers the Lightsail VPC with the user's default VPC.default PeerVpcResponsepeerVpc(PeerVpcRequest peerVpcRequest) Peers the Lightsail VPC with the user's default VPC.default PutAlarmResponseputAlarm(Consumer<PutAlarmRequest.Builder> putAlarmRequest) Creates or updates an alarm, and associates it with the specified metric.default PutAlarmResponseputAlarm(PutAlarmRequest putAlarmRequest) Creates or updates an alarm, and associates it with the specified metric.default PutInstancePublicPortsResponseputInstancePublicPorts(Consumer<PutInstancePublicPortsRequest.Builder> putInstancePublicPortsRequest) Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.default PutInstancePublicPortsResponseputInstancePublicPorts(PutInstancePublicPortsRequest putInstancePublicPortsRequest) Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.default RebootInstanceResponserebootInstance(Consumer<RebootInstanceRequest.Builder> rebootInstanceRequest) Restarts a specific instance.default RebootInstanceResponserebootInstance(RebootInstanceRequest rebootInstanceRequest) Restarts a specific instance.default RebootRelationalDatabaseResponserebootRelationalDatabase(Consumer<RebootRelationalDatabaseRequest.Builder> rebootRelationalDatabaseRequest) Restarts a specific database in Amazon Lightsail.default RebootRelationalDatabaseResponserebootRelationalDatabase(RebootRelationalDatabaseRequest rebootRelationalDatabaseRequest) Restarts a specific database in Amazon Lightsail.default RegisterContainerImageResponseregisterContainerImage(Consumer<RegisterContainerImageRequest.Builder> registerContainerImageRequest) Registers a container image to your Amazon Lightsail container service.default RegisterContainerImageResponseregisterContainerImage(RegisterContainerImageRequest registerContainerImageRequest) Registers a container image to your Amazon Lightsail container service.default ReleaseStaticIpResponsereleaseStaticIp(Consumer<ReleaseStaticIpRequest.Builder> releaseStaticIpRequest) Deletes a specific static IP from your account.default ReleaseStaticIpResponsereleaseStaticIp(ReleaseStaticIpRequest releaseStaticIpRequest) Deletes a specific static IP from your account.default ResetDistributionCacheResponseresetDistributionCache(Consumer<ResetDistributionCacheRequest.Builder> resetDistributionCacheRequest) Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) distribution.default ResetDistributionCacheResponseresetDistributionCache(ResetDistributionCacheRequest resetDistributionCacheRequest) Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) distribution.sendContactMethodVerification(Consumer<SendContactMethodVerificationRequest.Builder> sendContactMethodVerificationRequest) Sends a verification request to an email contact method to ensure it's owned by the requester.sendContactMethodVerification(SendContactMethodVerificationRequest sendContactMethodVerificationRequest) Sends a verification request to an email contact method to ensure it's owned by the requester.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault SetIpAddressTypeResponsesetIpAddressType(Consumer<SetIpAddressTypeRequest.Builder> setIpAddressTypeRequest) Sets the IP address type for an Amazon Lightsail resource.default SetIpAddressTypeResponsesetIpAddressType(SetIpAddressTypeRequest setIpAddressTypeRequest) Sets the IP address type for an Amazon Lightsail resource.setResourceAccessForBucket(Consumer<SetResourceAccessForBucketRequest.Builder> setResourceAccessForBucketRequest) Sets the Amazon Lightsail resources that can access the specified Lightsail bucket.setResourceAccessForBucket(SetResourceAccessForBucketRequest setResourceAccessForBucketRequest) Sets the Amazon Lightsail resources that can access the specified Lightsail bucket.default SetupInstanceHttpsResponsesetupInstanceHttps(Consumer<SetupInstanceHttpsRequest.Builder> setupInstanceHttpsRequest) Creates an SSL/TLS certificate that secures traffic for your website.default SetupInstanceHttpsResponsesetupInstanceHttps(SetupInstanceHttpsRequest setupInstanceHttpsRequest) Creates an SSL/TLS certificate that secures traffic for your website.default StartGuiSessionResponsestartGUISession(Consumer<StartGuiSessionRequest.Builder> startGuiSessionRequest) Initiates a graphical user interface (GUI) session that’s used to access a virtual computer’s operating system and application.default StartGuiSessionResponsestartGUISession(StartGuiSessionRequest startGuiSessionRequest) Initiates a graphical user interface (GUI) session that’s used to access a virtual computer’s operating system and application.default StartInstanceResponsestartInstance(Consumer<StartInstanceRequest.Builder> startInstanceRequest) Starts a specific Amazon Lightsail instance from a stopped state.default StartInstanceResponsestartInstance(StartInstanceRequest startInstanceRequest) Starts a specific Amazon Lightsail instance from a stopped state.default StartRelationalDatabaseResponsestartRelationalDatabase(Consumer<StartRelationalDatabaseRequest.Builder> startRelationalDatabaseRequest) Starts a specific database from a stopped state in Amazon Lightsail.default StartRelationalDatabaseResponsestartRelationalDatabase(StartRelationalDatabaseRequest startRelationalDatabaseRequest) Starts a specific database from a stopped state in Amazon Lightsail.default StopGuiSessionResponsestopGUISession(Consumer<StopGuiSessionRequest.Builder> stopGuiSessionRequest) Terminates a web-based NICE DCV session that’s used to access a virtual computer’s operating system or application.default StopGuiSessionResponsestopGUISession(StopGuiSessionRequest stopGuiSessionRequest) Terminates a web-based NICE DCV session that’s used to access a virtual computer’s operating system or application.default StopInstanceResponsestopInstance(Consumer<StopInstanceRequest.Builder> stopInstanceRequest) Stops a specific Amazon Lightsail instance that is currently running.default StopInstanceResponsestopInstance(StopInstanceRequest stopInstanceRequest) Stops a specific Amazon Lightsail instance that is currently running.default StopRelationalDatabaseResponsestopRelationalDatabase(Consumer<StopRelationalDatabaseRequest.Builder> stopRelationalDatabaseRequest) Stops a specific database that is currently running in Amazon Lightsail.default StopRelationalDatabaseResponsestopRelationalDatabase(StopRelationalDatabaseRequest stopRelationalDatabaseRequest) Stops a specific database that is currently running in Amazon Lightsail.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags to the specified Amazon Lightsail resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds one or more tags to the specified Amazon Lightsail resource.default TestAlarmResponsetestAlarm(Consumer<TestAlarmRequest.Builder> testAlarmRequest) Tests an alarm by displaying a banner on the Amazon Lightsail console.default TestAlarmResponsetestAlarm(TestAlarmRequest testAlarmRequest) Tests an alarm by displaying a banner on the Amazon Lightsail console.default UnpeerVpcResponseUnpeers the Lightsail VPC from the user's default VPC.default UnpeerVpcResponseunpeerVpc(Consumer<UnpeerVpcRequest.Builder> unpeerVpcRequest) Unpeers the Lightsail VPC from the user's default VPC.default UnpeerVpcResponseunpeerVpc(UnpeerVpcRequest unpeerVpcRequest) Unpeers the Lightsail VPC from the user's default VPC.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.default UpdateBucketResponseupdateBucket(Consumer<UpdateBucketRequest.Builder> updateBucketRequest) Updates an existing Amazon Lightsail bucket.default UpdateBucketResponseupdateBucket(UpdateBucketRequest updateBucketRequest) Updates an existing Amazon Lightsail bucket.default UpdateBucketBundleResponseupdateBucketBundle(Consumer<UpdateBucketBundleRequest.Builder> updateBucketBundleRequest) Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket.default UpdateBucketBundleResponseupdateBucketBundle(UpdateBucketBundleRequest updateBucketBundleRequest) Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket.default UpdateContainerServiceResponseupdateContainerService(Consumer<UpdateContainerServiceRequest.Builder> updateContainerServiceRequest) Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.default UpdateContainerServiceResponseupdateContainerService(UpdateContainerServiceRequest updateContainerServiceRequest) Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.default UpdateDistributionResponseupdateDistribution(Consumer<UpdateDistributionRequest.Builder> updateDistributionRequest) Updates an existing Amazon Lightsail content delivery network (CDN) distribution.default UpdateDistributionResponseupdateDistribution(UpdateDistributionRequest updateDistributionRequest) Updates an existing Amazon Lightsail content delivery network (CDN) distribution.default UpdateDistributionBundleResponseupdateDistributionBundle(Consumer<UpdateDistributionBundleRequest.Builder> updateDistributionBundleRequest) Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.default UpdateDistributionBundleResponseupdateDistributionBundle(UpdateDistributionBundleRequest updateDistributionBundleRequest) Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.default UpdateDomainEntryResponseupdateDomainEntry(Consumer<UpdateDomainEntryRequest.Builder> updateDomainEntryRequest) Updates a domain recordset after it is created.default UpdateDomainEntryResponseupdateDomainEntry(UpdateDomainEntryRequest updateDomainEntryRequest) Updates a domain recordset after it is created.updateInstanceMetadataOptions(Consumer<UpdateInstanceMetadataOptionsRequest.Builder> updateInstanceMetadataOptionsRequest) Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance.updateInstanceMetadataOptions(UpdateInstanceMetadataOptionsRequest updateInstanceMetadataOptionsRequest) Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance.updateLoadBalancerAttribute(Consumer<UpdateLoadBalancerAttributeRequest.Builder> updateLoadBalancerAttributeRequest) Updates the specified attribute for a load balancer.updateLoadBalancerAttribute(UpdateLoadBalancerAttributeRequest updateLoadBalancerAttributeRequest) Updates the specified attribute for a load balancer.default UpdateRelationalDatabaseResponseupdateRelationalDatabase(Consumer<UpdateRelationalDatabaseRequest.Builder> updateRelationalDatabaseRequest) Allows the update of one or more attributes of a database in Amazon Lightsail.default UpdateRelationalDatabaseResponseupdateRelationalDatabase(UpdateRelationalDatabaseRequest updateRelationalDatabaseRequest) Allows the update of one or more attributes of a database in Amazon Lightsail.updateRelationalDatabaseParameters(Consumer<UpdateRelationalDatabaseParametersRequest.Builder> updateRelationalDatabaseParametersRequest) Allows the update of one or more parameters of a database in Amazon Lightsail.updateRelationalDatabaseParameters(UpdateRelationalDatabaseParametersRequest updateRelationalDatabaseParametersRequest) Allows the update of one or more parameters of a database in Amazon Lightsail.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
allocateStaticIp
default AllocateStaticIpResponse allocateStaticIp(AllocateStaticIpRequest allocateStaticIpRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Allocates a static IP address.
- Parameters:
allocateStaticIpRequest-- Returns:
- Result of the AllocateStaticIp operation returned by the service.
- See Also:
-
allocateStaticIp
default AllocateStaticIpResponse allocateStaticIp(Consumer<AllocateStaticIpRequest.Builder> allocateStaticIpRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Allocates a static IP address.
This is a convenience which creates an instance of the
AllocateStaticIpRequest.Builderavoiding the need to create one manually viaAllocateStaticIpRequest.builder()- Parameters:
allocateStaticIpRequest- AConsumerthat will call methods onAllocateStaticIpRequest.Builderto create a request.- Returns:
- Result of the AllocateStaticIp operation returned by the service.
- See Also:
-
attachCertificateToDistribution
default AttachCertificateToDistributionResponse attachCertificateToDistribution(AttachCertificateToDistributionRequest attachCertificateToDistributionRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
CreateCertificateaction to create a certificate that you can attach to your distribution.Only certificates created in the
us-east-1Amazon 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 theus-east-1Region.- Parameters:
attachCertificateToDistributionRequest-- Returns:
- Result of the AttachCertificateToDistribution operation returned by the service.
- See Also:
-
attachCertificateToDistribution
default AttachCertificateToDistributionResponse attachCertificateToDistribution(Consumer<AttachCertificateToDistributionRequest.Builder> attachCertificateToDistributionRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
CreateCertificateaction to create a certificate that you can attach to your distribution.Only certificates created in the
us-east-1Amazon 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 theus-east-1Region.
This is a convenience which creates an instance of the
AttachCertificateToDistributionRequest.Builderavoiding the need to create one manually viaAttachCertificateToDistributionRequest.builder()- Parameters:
attachCertificateToDistributionRequest- AConsumerthat will call methods onAttachCertificateToDistributionRequest.Builderto create a request.- Returns:
- Result of the AttachCertificateToDistribution operation returned by the service.
- See Also:
-
attachDisk
default AttachDiskResponse attachDisk(AttachDiskRequest attachDiskRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 diskoperation supports tag-based access control via resource tags applied to the resource identified bydisk name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
attachDiskRequest-- Returns:
- Result of the AttachDisk operation returned by the service.
- See Also:
-
attachDisk
default AttachDiskResponse attachDisk(Consumer<AttachDiskRequest.Builder> attachDiskRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 diskoperation supports tag-based access control via resource tags applied to the resource identified bydisk name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
AttachDiskRequest.Builderavoiding the need to create one manually viaAttachDiskRequest.builder()- Parameters:
attachDiskRequest- AConsumerthat will call methods onAttachDiskRequest.Builderto create a request.- Returns:
- Result of the AttachDisk operation returned by the service.
- See Also:
-
attachInstancesToLoadBalancer
default AttachInstancesToLoadBalancerResponse attachInstancesToLoadBalancer(AttachInstancesToLoadBalancerRequest attachInstancesToLoadBalancerRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 balanceroperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Lightsail Developer Guide.- Parameters:
attachInstancesToLoadBalancerRequest-- Returns:
- Result of the AttachInstancesToLoadBalancer operation returned by the service.
- See Also:
-
attachInstancesToLoadBalancer
default AttachInstancesToLoadBalancerResponse attachInstancesToLoadBalancer(Consumer<AttachInstancesToLoadBalancerRequest.Builder> attachInstancesToLoadBalancerRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 balanceroperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Lightsail Developer Guide.
This is a convenience which creates an instance of the
AttachInstancesToLoadBalancerRequest.Builderavoiding the need to create one manually viaAttachInstancesToLoadBalancerRequest.builder()- Parameters:
attachInstancesToLoadBalancerRequest- AConsumerthat will call methods onAttachInstancesToLoadBalancerRequest.Builderto create a request.- Returns:
- Result of the AttachInstancesToLoadBalancer operation returned by the service.
- See Also:
-
attachLoadBalancerTlsCertificate
default AttachLoadBalancerTlsCertificateResponse attachLoadBalancerTlsCertificate(AttachLoadBalancerTlsCertificateRequest attachLoadBalancerTlsCertificateRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
AttachLoadBalancerTlsCertificateaction with the non-attached certificate, and it will replace the existing one and become the attached certificate.The
AttachLoadBalancerTlsCertificateoperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
attachLoadBalancerTlsCertificateRequest-- Returns:
- Result of the AttachLoadBalancerTlsCertificate operation returned by the service.
- See Also:
-
attachLoadBalancerTlsCertificate
default AttachLoadBalancerTlsCertificateResponse attachLoadBalancerTlsCertificate(Consumer<AttachLoadBalancerTlsCertificateRequest.Builder> attachLoadBalancerTlsCertificateRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
AttachLoadBalancerTlsCertificateaction with the non-attached certificate, and it will replace the existing one and become the attached certificate.The
AttachLoadBalancerTlsCertificateoperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
AttachLoadBalancerTlsCertificateRequest.Builderavoiding the need to create one manually viaAttachLoadBalancerTlsCertificateRequest.builder()- Parameters:
attachLoadBalancerTlsCertificateRequest- AConsumerthat will call methods onAttachLoadBalancerTlsCertificateRequest.Builderto create a request.- Returns:
- Result of the AttachLoadBalancerTlsCertificate operation returned by the service.
- See Also:
-
attachStaticIp
default AttachStaticIpResponse attachStaticIp(AttachStaticIpRequest attachStaticIpRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Attaches a static IP address to a specific Amazon Lightsail instance.
- Parameters:
attachStaticIpRequest-- Returns:
- Result of the AttachStaticIp operation returned by the service.
- See Also:
-
attachStaticIp
default AttachStaticIpResponse attachStaticIp(Consumer<AttachStaticIpRequest.Builder> attachStaticIpRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Attaches a static IP address to a specific Amazon Lightsail instance.
This is a convenience which creates an instance of the
AttachStaticIpRequest.Builderavoiding the need to create one manually viaAttachStaticIpRequest.builder()- Parameters:
attachStaticIpRequest- AConsumerthat will call methods onAttachStaticIpRequest.Builderto create a request.- Returns:
- Result of the AttachStaticIp operation returned by the service.
- See Also:
-
closeInstancePublicPorts
default CloseInstancePublicPortsResponse closeInstancePublicPorts(CloseInstancePublicPortsRequest closeInstancePublicPortsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Closes ports for a specific Amazon Lightsail instance.
The
CloseInstancePublicPortsaction supports tag-based access control via resource tags applied to the resource identified byinstanceName. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
closeInstancePublicPortsRequest-- Returns:
- Result of the CloseInstancePublicPorts operation returned by the service.
- See Also:
-
closeInstancePublicPorts
default CloseInstancePublicPortsResponse closeInstancePublicPorts(Consumer<CloseInstancePublicPortsRequest.Builder> closeInstancePublicPortsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Closes ports for a specific Amazon Lightsail instance.
The
CloseInstancePublicPortsaction supports tag-based access control via resource tags applied to the resource identified byinstanceName. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CloseInstancePublicPortsRequest.Builderavoiding the need to create one manually viaCloseInstancePublicPortsRequest.builder()- Parameters:
closeInstancePublicPortsRequest- AConsumerthat will call methods onCloseInstancePublicPortsRequest.Builderto create a request.- Returns:
- Result of the CloseInstancePublicPorts operation returned by the service.
- See Also:
-
copySnapshot
default CopySnapshotResponse copySnapshot(CopySnapshotRequest copySnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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, andtarget snapshot nameparameters.When copying an automatic snapshot, be sure to define the
source region,source resource name,target snapshot name, and either therestore dateor theuse latest restorable auto snapshotparameters.- Parameters:
copySnapshotRequest-- Returns:
- Result of the CopySnapshot operation returned by the service.
- See Also:
-
copySnapshot
default CopySnapshotResponse copySnapshot(Consumer<CopySnapshotRequest.Builder> copySnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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, andtarget snapshot nameparameters.When copying an automatic snapshot, be sure to define the
source region,source resource name,target snapshot name, and either therestore dateor theuse latest restorable auto snapshotparameters.
This is a convenience which creates an instance of the
CopySnapshotRequest.Builderavoiding the need to create one manually viaCopySnapshotRequest.builder()- Parameters:
copySnapshotRequest- AConsumerthat will call methods onCopySnapshotRequest.Builderto create a request.- Returns:
- Result of the CopySnapshot operation returned by the service.
- See Also:
-
createBucket
default CreateBucketResponse createBucket(CreateBucketRequest createBucketRequest) throws AccessDeniedException, InvalidInputException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
createBucketRequest-- Returns:
- Result of the CreateBucket operation returned by the service.
- See Also:
-
createBucket
default CreateBucketResponse createBucket(Consumer<CreateBucketRequest.Builder> createBucketRequest) throws AccessDeniedException, InvalidInputException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
CreateBucketRequest.Builderavoiding the need to create one manually viaCreateBucketRequest.builder()- Parameters:
createBucketRequest- AConsumerthat will call methods onCreateBucketRequest.Builderto create a request.- Returns:
- Result of the CreateBucket operation returned by the service.
- See Also:
-
createBucketAccessKey
default CreateBucketAccessKeyResponse createBucketAccessKey(CreateBucketAccessKeyRequest createBucketAccessKeyRequest) throws AccessDeniedException, NotFoundException, InvalidInputException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
secretAccessKeyvalue is returned only in response to theCreateBucketAccessKeyaction. 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.- Parameters:
createBucketAccessKeyRequest-- Returns:
- Result of the CreateBucketAccessKey operation returned by the service.
- See Also:
-
createBucketAccessKey
default CreateBucketAccessKeyResponse createBucketAccessKey(Consumer<CreateBucketAccessKeyRequest.Builder> createBucketAccessKeyRequest) throws AccessDeniedException, NotFoundException, InvalidInputException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
secretAccessKeyvalue is returned only in response to theCreateBucketAccessKeyaction. 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.
This is a convenience which creates an instance of the
CreateBucketAccessKeyRequest.Builderavoiding the need to create one manually viaCreateBucketAccessKeyRequest.builder()- Parameters:
createBucketAccessKeyRequest- AConsumerthat will call methods onCreateBucketAccessKeyRequest.Builderto create a request.- Returns:
- Result of the CreateBucketAccessKey operation returned by the service.
- See Also:
-
createCertificate
default CreateCertificateResponse createCertificate(CreateCertificateRequest createCertificateRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
AttachCertificateToDistributionaction to use the certificate and its domains with your distribution. Or use theUpdateContainerServiceaction to use the certificate and its domains with your container service.Only certificates created in the
us-east-1Amazon 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 theus-east-1Region.- Parameters:
createCertificateRequest-- Returns:
- Result of the CreateCertificate operation returned by the service.
- See Also:
-
createCertificate
default CreateCertificateResponse createCertificate(Consumer<CreateCertificateRequest.Builder> createCertificateRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
AttachCertificateToDistributionaction to use the certificate and its domains with your distribution. Or use theUpdateContainerServiceaction to use the certificate and its domains with your container service.Only certificates created in the
us-east-1Amazon 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 theus-east-1Region.
This is a convenience which creates an instance of the
CreateCertificateRequest.Builderavoiding the need to create one manually viaCreateCertificateRequest.builder()- Parameters:
createCertificateRequest- AConsumerthat will call methods onCreateCertificateRequest.Builderto create a request.- Returns:
- Result of the CreateCertificate operation returned by the service.
- See Also:
-
createCloudFormationStack
default CreateCloudFormationStackResponse createCloudFormationStack(CreateCloudFormationStackRequest createCloudFormationStackRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 recordsoperation 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 stackoperation again with the same export snapshot record.- Parameters:
createCloudFormationStackRequest-- Returns:
- Result of the CreateCloudFormationStack operation returned by the service.
- See Also:
-
createCloudFormationStack
default CreateCloudFormationStackResponse createCloudFormationStack(Consumer<CreateCloudFormationStackRequest.Builder> createCloudFormationStackRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 recordsoperation 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 stackoperation again with the same export snapshot record.
This is a convenience which creates an instance of the
CreateCloudFormationStackRequest.Builderavoiding the need to create one manually viaCreateCloudFormationStackRequest.builder()- Parameters:
createCloudFormationStackRequest- AConsumerthat will call methods onCreateCloudFormationStackRequest.Builderto create a request.- Returns:
- Result of the CreateCloudFormationStack operation returned by the service.
- See Also:
-
createContactMethod
default CreateContactMethodResponse createContactMethod(CreateContactMethodRequest createContactMethodRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
createContactMethodRequest-- Returns:
- Result of the CreateContactMethod operation returned by the service.
- See Also:
-
createContactMethod
default CreateContactMethodResponse createContactMethod(Consumer<CreateContactMethodRequest.Builder> createContactMethodRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
CreateContactMethodRequest.Builderavoiding the need to create one manually viaCreateContactMethodRequest.builder()- Parameters:
createContactMethodRequest- AConsumerthat will call methods onCreateContactMethodRequest.Builderto create a request.- Returns:
- Result of the CreateContactMethod operation returned by the service.
- See Also:
-
createContainerService
default CreateContainerServiceResponse createContainerService(CreateContainerServiceRequest createContainerServiceRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
createContainerServiceRequest-- Returns:
- Result of the CreateContainerService operation returned by the service.
- See Also:
-
createContainerService
default CreateContainerServiceResponse createContainerService(Consumer<CreateContainerServiceRequest.Builder> createContainerServiceRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
CreateContainerServiceRequest.Builderavoiding the need to create one manually viaCreateContainerServiceRequest.builder()- Parameters:
createContainerServiceRequest- AConsumerthat will call methods onCreateContainerServiceRequest.Builderto create a request.- Returns:
- Result of the CreateContainerService operation returned by the service.
- See Also:
-
createContainerServiceDeployment
default CreateContainerServiceDeploymentResponse createContainerServiceDeployment(CreateContainerServiceDeploymentRequest createContainerServiceDeploymentRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
createContainerServiceDeploymentRequest-- Returns:
- Result of the CreateContainerServiceDeployment operation returned by the service.
- See Also:
-
createContainerServiceDeployment
default CreateContainerServiceDeploymentResponse createContainerServiceDeployment(Consumer<CreateContainerServiceDeploymentRequest.Builder> createContainerServiceDeploymentRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
CreateContainerServiceDeploymentRequest.Builderavoiding the need to create one manually viaCreateContainerServiceDeploymentRequest.builder()- Parameters:
createContainerServiceDeploymentRequest- AConsumerthat will call methods onCreateContainerServiceDeploymentRequest.Builderto create a request.- Returns:
- Result of the CreateContainerServiceDeployment operation returned by the service.
- See Also:
-
createContainerServiceRegistryLogin
default CreateContainerServiceRegistryLoginResponse createContainerServiceRegistryLogin(CreateContainerServiceRegistryLoginRequest createContainerServiceRegistryLoginRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
RegisterContainerImageaction 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.
- Parameters:
createContainerServiceRegistryLoginRequest-- Returns:
- Result of the CreateContainerServiceRegistryLogin operation returned by the service.
- See Also:
-
createContainerServiceRegistryLogin
default CreateContainerServiceRegistryLoginResponse createContainerServiceRegistryLogin(Consumer<CreateContainerServiceRegistryLoginRequest.Builder> createContainerServiceRegistryLoginRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
RegisterContainerImageaction 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.
This is a convenience which creates an instance of the
CreateContainerServiceRegistryLoginRequest.Builderavoiding the need to create one manually viaCreateContainerServiceRegistryLoginRequest.builder()- Parameters:
createContainerServiceRegistryLoginRequest- AConsumerthat will call methods onCreateContainerServiceRegistryLoginRequest.Builderto create a request.- Returns:
- Result of the CreateContainerServiceRegistryLogin operation returned by the service.
- See Also:
-
createDisk
default CreateDiskResponse createDisk(CreateDiskRequest createDiskRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (
us-east-2a).The
create diskoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createDiskRequest-- Returns:
- Result of the CreateDisk operation returned by the service.
- See Also:
-
createDisk
default CreateDiskResponse createDisk(Consumer<CreateDiskRequest.Builder> createDiskRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (
us-east-2a).The
create diskoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateDiskRequest.Builderavoiding the need to create one manually viaCreateDiskRequest.builder()- Parameters:
createDiskRequest- AConsumerthat will call methods onCreateDiskRequest.Builderto create a request.- Returns:
- Result of the CreateDisk operation returned by the service.
- See Also:
-
createDiskFromSnapshot
default CreateDiskFromSnapshotResponse createDiskFromSnapshot(CreateDiskFromSnapshotRequest createDiskFromSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 snapshotoperation supports tag-based access control via request tags and resource tags applied to the resource identified bydisk snapshot name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createDiskFromSnapshotRequest-- Returns:
- Result of the CreateDiskFromSnapshot operation returned by the service.
- See Also:
-
createDiskFromSnapshot
default CreateDiskFromSnapshotResponse createDiskFromSnapshot(Consumer<CreateDiskFromSnapshotRequest.Builder> createDiskFromSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 snapshotoperation supports tag-based access control via request tags and resource tags applied to the resource identified bydisk snapshot name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateDiskFromSnapshotRequest.Builderavoiding the need to create one manually viaCreateDiskFromSnapshotRequest.builder()- Parameters:
createDiskFromSnapshotRequest- AConsumerthat will call methods onCreateDiskFromSnapshotRequest.Builderto create a request.- Returns:
- Result of the CreateDiskFromSnapshot operation returned by the service.
- See Also:
-
createDiskSnapshot
default CreateDiskSnapshotResponse createDiskSnapshot(CreateDiskSnapshotRequest createDiskSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 nameparameter 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 snapshotoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createDiskSnapshotRequest-- Returns:
- Result of the CreateDiskSnapshot operation returned by the service.
- See Also:
-
createDiskSnapshot
default CreateDiskSnapshotResponse createDiskSnapshot(Consumer<CreateDiskSnapshotRequest.Builder> createDiskSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 nameparameter 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 snapshotoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateDiskSnapshotRequest.Builderavoiding the need to create one manually viaCreateDiskSnapshotRequest.builder()- Parameters:
createDiskSnapshotRequest- AConsumerthat will call methods onCreateDiskSnapshotRequest.Builderto create a request.- Returns:
- Result of the CreateDiskSnapshot operation returned by the service.
- See Also:
-
createDistribution
default CreateDistributionResponse createDistribution(CreateDistributionRequest createDistributionRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
createDistributionRequest-- Returns:
- Result of the CreateDistribution operation returned by the service.
- See Also:
-
createDistribution
default CreateDistributionResponse createDistribution(Consumer<CreateDistributionRequest.Builder> createDistributionRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
CreateDistributionRequest.Builderavoiding the need to create one manually viaCreateDistributionRequest.builder()- Parameters:
createDistributionRequest- AConsumerthat will call methods onCreateDistributionRequest.Builderto create a request.- Returns:
- Result of the CreateDistribution operation returned by the service.
- See Also:
-
createDomain
default CreateDomainResponse createDomain(CreateDomainRequest createDomainRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates a domain resource for the specified domain (example.com).
The
create domainoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createDomainRequest-- Returns:
- Result of the CreateDomain operation returned by the service.
- See Also:
-
createDomain
default CreateDomainResponse createDomain(Consumer<CreateDomainRequest.Builder> createDomainRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates a domain resource for the specified domain (example.com).
The
create domainoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateDomainRequest.Builderavoiding the need to create one manually viaCreateDomainRequest.builder()- Parameters:
createDomainRequest- AConsumerthat will call methods onCreateDomainRequest.Builderto create a request.- Returns:
- Result of the CreateDomain operation returned by the service.
- See Also:
-
createDomainEntry
default CreateDomainEntryResponse createDomainEntry(CreateDomainEntryRequest createDomainEntryRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 entryoperation supports tag-based access control via resource tags applied to the resource identified bydomain name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createDomainEntryRequest-- Returns:
- Result of the CreateDomainEntry operation returned by the service.
- See Also:
-
createDomainEntry
default CreateDomainEntryResponse createDomainEntry(Consumer<CreateDomainEntryRequest.Builder> createDomainEntryRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 entryoperation supports tag-based access control via resource tags applied to the resource identified bydomain name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateDomainEntryRequest.Builderavoiding the need to create one manually viaCreateDomainEntryRequest.builder()- Parameters:
createDomainEntryRequest- AConsumerthat will call methods onCreateDomainEntryRequest.Builderto create a request.- Returns:
- Result of the CreateDomainEntry operation returned by the service.
- See Also:
-
createGUISessionAccessDetails
default CreateGuiSessionAccessDetailsResponse createGUISessionAccessDetails(CreateGuiSessionAccessDetailsRequest createGuiSessionAccessDetailsRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
StartGUISessionto open the session.- Parameters:
createGuiSessionAccessDetailsRequest-- Returns:
- Result of the CreateGUISessionAccessDetails operation returned by the service.
- See Also:
-
createGUISessionAccessDetails
default CreateGuiSessionAccessDetailsResponse createGUISessionAccessDetails(Consumer<CreateGuiSessionAccessDetailsRequest.Builder> createGuiSessionAccessDetailsRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
StartGUISessionto open the session.
This is a convenience which creates an instance of the
CreateGuiSessionAccessDetailsRequest.Builderavoiding the need to create one manually viaCreateGuiSessionAccessDetailsRequest.builder()- Parameters:
createGuiSessionAccessDetailsRequest- AConsumerthat will call methods onCreateGuiSessionAccessDetailsRequest.Builderto create a request.- Returns:
- Result of the CreateGUISessionAccessDetails operation returned by the service.
- See Also:
-
createInstanceSnapshot
default CreateInstanceSnapshotResponse createInstanceSnapshot(CreateInstanceSnapshotRequest createInstanceSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 snapshotoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createInstanceSnapshotRequest-- Returns:
- Result of the CreateInstanceSnapshot operation returned by the service.
- See Also:
-
createInstanceSnapshot
default CreateInstanceSnapshotResponse createInstanceSnapshot(Consumer<CreateInstanceSnapshotRequest.Builder> createInstanceSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 snapshotoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateInstanceSnapshotRequest.Builderavoiding the need to create one manually viaCreateInstanceSnapshotRequest.builder()- Parameters:
createInstanceSnapshotRequest- AConsumerthat will call methods onCreateInstanceSnapshotRequest.Builderto create a request.- Returns:
- Result of the CreateInstanceSnapshot operation returned by the service.
- See Also:
-
createInstances
default CreateInstancesResponse createInstances(CreateInstancesRequest createInstancesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates one or more Amazon Lightsail instances.
The
create instancesoperation supports tag-based access control via request tags. For more information, see the Lightsail Developer Guide.- Parameters:
createInstancesRequest-- Returns:
- Result of the CreateInstances operation returned by the service.
- See Also:
-
createInstances
default CreateInstancesResponse createInstances(Consumer<CreateInstancesRequest.Builder> createInstancesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates one or more Amazon Lightsail instances.
The
create instancesoperation supports tag-based access control via request tags. For more information, see the Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateInstancesRequest.Builderavoiding the need to create one manually viaCreateInstancesRequest.builder()- Parameters:
createInstancesRequest- AConsumerthat will call methods onCreateInstancesRequest.Builderto create a request.- Returns:
- Result of the CreateInstances operation returned by the service.
- See Also:
-
createInstancesFromSnapshot
default CreateInstancesFromSnapshotResponse createInstancesFromSnapshot(CreateInstancesFromSnapshotRequest createInstancesFromSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates one or more new instances from a manual or automatic snapshot of an instance.
The
create instances from snapshotoperation supports tag-based access control via request tags and resource tags applied to the resource identified byinstance snapshot name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createInstancesFromSnapshotRequest-- Returns:
- Result of the CreateInstancesFromSnapshot operation returned by the service.
- See Also:
-
createInstancesFromSnapshot
default CreateInstancesFromSnapshotResponse createInstancesFromSnapshot(Consumer<CreateInstancesFromSnapshotRequest.Builder> createInstancesFromSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates one or more new instances from a manual or automatic snapshot of an instance.
The
create instances from snapshotoperation supports tag-based access control via request tags and resource tags applied to the resource identified byinstance snapshot name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateInstancesFromSnapshotRequest.Builderavoiding the need to create one manually viaCreateInstancesFromSnapshotRequest.builder()- Parameters:
createInstancesFromSnapshotRequest- AConsumerthat will call methods onCreateInstancesFromSnapshotRequest.Builderto create a request.- Returns:
- Result of the CreateInstancesFromSnapshot operation returned by the service.
- See Also:
-
createKeyPair
default CreateKeyPairResponse createKeyPair(CreateKeyPairRequest createKeyPairRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 pairoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createKeyPairRequest-- Returns:
- Result of the CreateKeyPair operation returned by the service.
- See Also:
-
createKeyPair
default CreateKeyPairResponse createKeyPair(Consumer<CreateKeyPairRequest.Builder> createKeyPairRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 pairoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateKeyPairRequest.Builderavoiding the need to create one manually viaCreateKeyPairRequest.builder()- Parameters:
createKeyPairRequest- AConsumerthat will call methods onCreateKeyPairRequest.Builderto create a request.- Returns:
- Result of the CreateKeyPair operation returned by the service.
- See Also:
-
createLoadBalancer
default CreateLoadBalancerResponse createLoadBalancer(CreateLoadBalancerRequest createLoadBalancerRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
UpdateLoadBalancerAttributeoperation.The
create load balanceroperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createLoadBalancerRequest-- Returns:
- Result of the CreateLoadBalancer operation returned by the service.
- See Also:
-
createLoadBalancer
default CreateLoadBalancerResponse createLoadBalancer(Consumer<CreateLoadBalancerRequest.Builder> createLoadBalancerRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
UpdateLoadBalancerAttributeoperation.The
create load balanceroperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateLoadBalancerRequest.Builderavoiding the need to create one manually viaCreateLoadBalancerRequest.builder()- Parameters:
createLoadBalancerRequest- AConsumerthat will call methods onCreateLoadBalancerRequest.Builderto create a request.- Returns:
- Result of the CreateLoadBalancer operation returned by the service.
- See Also:
-
createLoadBalancerTlsCertificate
default CreateLoadBalancerTlsCertificateResponse createLoadBalancerTlsCertificate(CreateLoadBalancerTlsCertificateRequest createLoadBalancerTlsCertificateRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
CreateLoadBalancerTlsCertificateoperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createLoadBalancerTlsCertificateRequest-- Returns:
- Result of the CreateLoadBalancerTlsCertificate operation returned by the service.
- See Also:
-
createLoadBalancerTlsCertificate
default CreateLoadBalancerTlsCertificateResponse createLoadBalancerTlsCertificate(Consumer<CreateLoadBalancerTlsCertificateRequest.Builder> createLoadBalancerTlsCertificateRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
CreateLoadBalancerTlsCertificateoperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateLoadBalancerTlsCertificateRequest.Builderavoiding the need to create one manually viaCreateLoadBalancerTlsCertificateRequest.builder()- Parameters:
createLoadBalancerTlsCertificateRequest- AConsumerthat will call methods onCreateLoadBalancerTlsCertificateRequest.Builderto create a request.- Returns:
- Result of the CreateLoadBalancerTlsCertificate operation returned by the service.
- See Also:
-
createRelationalDatabase
default CreateRelationalDatabaseResponse createRelationalDatabase(CreateRelationalDatabaseRequest createRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates a new database in Amazon Lightsail.
The
create relational databaseoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createRelationalDatabaseRequest-- Returns:
- Result of the CreateRelationalDatabase operation returned by the service.
- See Also:
-
createRelationalDatabase
default CreateRelationalDatabaseResponse createRelationalDatabase(Consumer<CreateRelationalDatabaseRequest.Builder> createRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates a new database in Amazon Lightsail.
The
create relational databaseoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateRelationalDatabaseRequest.Builderavoiding the need to create one manually viaCreateRelationalDatabaseRequest.builder()- Parameters:
createRelationalDatabaseRequest- AConsumerthat will call methods onCreateRelationalDatabaseRequest.Builderto create a request.- Returns:
- Result of the CreateRelationalDatabase operation returned by the service.
- See Also:
-
createRelationalDatabaseFromSnapshot
default CreateRelationalDatabaseFromSnapshotResponse createRelationalDatabaseFromSnapshot(CreateRelationalDatabaseFromSnapshotRequest createRelationalDatabaseFromSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 snapshotoperation 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.- Parameters:
createRelationalDatabaseFromSnapshotRequest-- Returns:
- Result of the CreateRelationalDatabaseFromSnapshot operation returned by the service.
- See Also:
-
createRelationalDatabaseFromSnapshot
default CreateRelationalDatabaseFromSnapshotResponse createRelationalDatabaseFromSnapshot(Consumer<CreateRelationalDatabaseFromSnapshotRequest.Builder> createRelationalDatabaseFromSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 snapshotoperation 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.
This is a convenience which creates an instance of the
CreateRelationalDatabaseFromSnapshotRequest.Builderavoiding the need to create one manually viaCreateRelationalDatabaseFromSnapshotRequest.builder()- Parameters:
createRelationalDatabaseFromSnapshotRequest- AConsumerthat will call methods onCreateRelationalDatabaseFromSnapshotRequest.Builderto create a request.- Returns:
- Result of the CreateRelationalDatabaseFromSnapshot operation returned by the service.
- See Also:
-
createRelationalDatabaseSnapshot
default CreateRelationalDatabaseSnapshotResponse createRelationalDatabaseSnapshot(CreateRelationalDatabaseSnapshotRequest createRelationalDatabaseSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 snapshotoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
createRelationalDatabaseSnapshotRequest-- Returns:
- Result of the CreateRelationalDatabaseSnapshot operation returned by the service.
- See Also:
-
createRelationalDatabaseSnapshot
default CreateRelationalDatabaseSnapshotResponse createRelationalDatabaseSnapshot(Consumer<CreateRelationalDatabaseSnapshotRequest.Builder> createRelationalDatabaseSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 snapshotoperation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
CreateRelationalDatabaseSnapshotRequest.Builderavoiding the need to create one manually viaCreateRelationalDatabaseSnapshotRequest.builder()- Parameters:
createRelationalDatabaseSnapshotRequest- AConsumerthat will call methods onCreateRelationalDatabaseSnapshotRequest.Builderto create a request.- Returns:
- Result of the CreateRelationalDatabaseSnapshot operation returned by the service.
- See Also:
-
deleteAlarm
default DeleteAlarmResponse deleteAlarm(DeleteAlarmRequest deleteAlarmRequest) throws ServiceException, InvalidInputException, OperationFailureException, UnauthenticatedException, AccessDeniedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
deleteAlarmRequest-- Returns:
- Result of the DeleteAlarm operation returned by the service.
- See Also:
-
deleteAlarm
default DeleteAlarmResponse deleteAlarm(Consumer<DeleteAlarmRequest.Builder> deleteAlarmRequest) throws ServiceException, InvalidInputException, OperationFailureException, UnauthenticatedException, AccessDeniedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
DeleteAlarmRequest.Builderavoiding the need to create one manually viaDeleteAlarmRequest.builder()- Parameters:
deleteAlarmRequest- AConsumerthat will call methods onDeleteAlarmRequest.Builderto create a request.- Returns:
- Result of the DeleteAlarm operation returned by the service.
- See Also:
-
deleteAutoSnapshot
default DeleteAutoSnapshotResponse deleteAutoSnapshot(DeleteAutoSnapshotRequest deleteAutoSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes an automatic snapshot of an instance or disk. For more information, see the Amazon Lightsail Developer Guide.
- Parameters:
deleteAutoSnapshotRequest-- Returns:
- Result of the DeleteAutoSnapshot operation returned by the service.
- See Also:
-
deleteAutoSnapshot
default DeleteAutoSnapshotResponse deleteAutoSnapshot(Consumer<DeleteAutoSnapshotRequest.Builder> deleteAutoSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes an automatic snapshot of an instance or disk. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteAutoSnapshotRequest.Builderavoiding the need to create one manually viaDeleteAutoSnapshotRequest.builder()- Parameters:
deleteAutoSnapshotRequest- AConsumerthat will call methods onDeleteAutoSnapshotRequest.Builderto create a request.- Returns:
- Result of the DeleteAutoSnapshot operation returned by the service.
- See Also:
-
deleteBucket
default DeleteBucketResponse deleteBucket(DeleteBucketRequest deleteBucketRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
deleteBucketRequest-- Returns:
- Result of the DeleteBucket operation returned by the service.
- See Also:
-
deleteBucket
default DeleteBucketResponse deleteBucket(Consumer<DeleteBucketRequest.Builder> deleteBucketRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
DeleteBucketRequest.Builderavoiding the need to create one manually viaDeleteBucketRequest.builder()- Parameters:
deleteBucketRequest- AConsumerthat will call methods onDeleteBucketRequest.Builderto create a request.- Returns:
- Result of the DeleteBucket operation returned by the service.
- See Also:
-
deleteBucketAccessKey
default DeleteBucketAccessKeyResponse deleteBucketAccessKey(DeleteBucketAccessKeyRequest deleteBucketAccessKeyRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
deleteBucketAccessKeyRequest-- Returns:
- Result of the DeleteBucketAccessKey operation returned by the service.
- See Also:
-
deleteBucketAccessKey
default DeleteBucketAccessKeyResponse deleteBucketAccessKey(Consumer<DeleteBucketAccessKeyRequest.Builder> deleteBucketAccessKeyRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
DeleteBucketAccessKeyRequest.Builderavoiding the need to create one manually viaDeleteBucketAccessKeyRequest.builder()- Parameters:
deleteBucketAccessKeyRequest- AConsumerthat will call methods onDeleteBucketAccessKeyRequest.Builderto create a request.- Returns:
- Result of the DeleteBucketAccessKey operation returned by the service.
- See Also:
-
deleteCertificate
default DeleteCertificateResponse deleteCertificate(DeleteCertificateRequest deleteCertificateRequest) throws ServiceException, InvalidInputException, AccessDeniedException, NotFoundException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
DetachCertificateFromDistributionaction to detach a certificate from a distribution.- Parameters:
deleteCertificateRequest-- Returns:
- Result of the DeleteCertificate operation returned by the service.
- See Also:
-
deleteCertificate
default DeleteCertificateResponse deleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest) throws ServiceException, InvalidInputException, AccessDeniedException, NotFoundException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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
DetachCertificateFromDistributionaction to detach a certificate from a distribution.
This is a convenience which creates an instance of the
DeleteCertificateRequest.Builderavoiding the need to create one manually viaDeleteCertificateRequest.builder()- Parameters:
deleteCertificateRequest- AConsumerthat will call methods onDeleteCertificateRequest.Builderto create a request.- Returns:
- Result of the DeleteCertificate operation returned by the service.
- See Also:
-
deleteContactMethod
default DeleteContactMethodResponse deleteContactMethod(DeleteContactMethodRequest deleteContactMethodRequest) throws ServiceException, InvalidInputException, OperationFailureException, UnauthenticatedException, AccessDeniedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
deleteContactMethodRequest-- Returns:
- Result of the DeleteContactMethod operation returned by the service.
- See Also:
-
deleteContactMethod
default DeleteContactMethodResponse deleteContactMethod(Consumer<DeleteContactMethodRequest.Builder> deleteContactMethodRequest) throws ServiceException, InvalidInputException, OperationFailureException, UnauthenticatedException, AccessDeniedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
DeleteContactMethodRequest.Builderavoiding the need to create one manually viaDeleteContactMethodRequest.builder()- Parameters:
deleteContactMethodRequest- AConsumerthat will call methods onDeleteContactMethodRequest.Builderto create a request.- Returns:
- Result of the DeleteContactMethod operation returned by the service.
- See Also:
-
deleteContainerImage
default DeleteContainerImageResponse deleteContainerImage(DeleteContainerImageRequest deleteContainerImageRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a container image that is registered to your Amazon Lightsail container service.
- Parameters:
deleteContainerImageRequest-- Returns:
- Result of the DeleteContainerImage operation returned by the service.
- See Also:
-
deleteContainerImage
default DeleteContainerImageResponse deleteContainerImage(Consumer<DeleteContainerImageRequest.Builder> deleteContainerImageRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a container image that is registered to your Amazon Lightsail container service.
This is a convenience which creates an instance of the
DeleteContainerImageRequest.Builderavoiding the need to create one manually viaDeleteContainerImageRequest.builder()- Parameters:
deleteContainerImageRequest- AConsumerthat will call methods onDeleteContainerImageRequest.Builderto create a request.- Returns:
- Result of the DeleteContainerImage operation returned by the service.
- See Also:
-
deleteContainerService
default DeleteContainerServiceResponse deleteContainerService(DeleteContainerServiceRequest deleteContainerServiceRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes your Amazon Lightsail container service.
- Parameters:
deleteContainerServiceRequest-- Returns:
- Result of the DeleteContainerService operation returned by the service.
- See Also:
-
deleteContainerService
default DeleteContainerServiceResponse deleteContainerService(Consumer<DeleteContainerServiceRequest.Builder> deleteContainerServiceRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes your Amazon Lightsail container service.
This is a convenience which creates an instance of the
DeleteContainerServiceRequest.Builderavoiding the need to create one manually viaDeleteContainerServiceRequest.builder()- Parameters:
deleteContainerServiceRequest- AConsumerthat will call methods onDeleteContainerServiceRequest.Builderto create a request.- Returns:
- Result of the DeleteContainerService operation returned by the service.
- See Also:
-
deleteDisk
default DeleteDiskResponse deleteDisk(DeleteDiskRequest deleteDiskRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes the specified block storage disk. The disk must be in the
availablestate (not attached to a Lightsail instance).The disk may remain in the
deletingstate for several minutes.The
delete diskoperation supports tag-based access control via resource tags applied to the resource identified bydisk name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteDiskRequest-- Returns:
- Result of the DeleteDisk operation returned by the service.
- See Also:
-
deleteDisk
default DeleteDiskResponse deleteDisk(Consumer<DeleteDiskRequest.Builder> deleteDiskRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes the specified block storage disk. The disk must be in the
availablestate (not attached to a Lightsail instance).The disk may remain in the
deletingstate for several minutes.The
delete diskoperation supports tag-based access control via resource tags applied to the resource identified bydisk name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteDiskRequest.Builderavoiding the need to create one manually viaDeleteDiskRequest.builder()- Parameters:
deleteDiskRequest- AConsumerthat will call methods onDeleteDiskRequest.Builderto create a request.- Returns:
- Result of the DeleteDisk operation returned by the service.
- See Also:
-
deleteDiskSnapshot
default DeleteDiskSnapshotResponse deleteDiskSnapshot(DeleteDiskSnapshotRequest deleteDiskSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 snapshotoperation supports tag-based access control via resource tags applied to the resource identified bydisk snapshot name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteDiskSnapshotRequest-- Returns:
- Result of the DeleteDiskSnapshot operation returned by the service.
- See Also:
-
deleteDiskSnapshot
default DeleteDiskSnapshotResponse deleteDiskSnapshot(Consumer<DeleteDiskSnapshotRequest.Builder> deleteDiskSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 snapshotoperation supports tag-based access control via resource tags applied to the resource identified bydisk snapshot name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteDiskSnapshotRequest.Builderavoiding the need to create one manually viaDeleteDiskSnapshotRequest.builder()- Parameters:
deleteDiskSnapshotRequest- AConsumerthat will call methods onDeleteDiskSnapshotRequest.Builderto create a request.- Returns:
- Result of the DeleteDiskSnapshot operation returned by the service.
- See Also:
-
deleteDistribution
default DeleteDistributionResponse deleteDistribution(DeleteDistributionRequest deleteDistributionRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes your Amazon Lightsail content delivery network (CDN) distribution.
- Parameters:
deleteDistributionRequest-- Returns:
- Result of the DeleteDistribution operation returned by the service.
- See Also:
-
deleteDistribution
default DeleteDistributionResponse deleteDistribution(Consumer<DeleteDistributionRequest.Builder> deleteDistributionRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes your Amazon Lightsail content delivery network (CDN) distribution.
This is a convenience which creates an instance of the
DeleteDistributionRequest.Builderavoiding the need to create one manually viaDeleteDistributionRequest.builder()- Parameters:
deleteDistributionRequest- AConsumerthat will call methods onDeleteDistributionRequest.Builderto create a request.- Returns:
- Result of the DeleteDistribution operation returned by the service.
- See Also:
-
deleteDomain
default DeleteDomainResponse deleteDomain(DeleteDomainRequest deleteDomainRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes the specified domain recordset and all of its domain records.
The
delete domainoperation supports tag-based access control via resource tags applied to the resource identified bydomain name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteDomainRequest-- Returns:
- Result of the DeleteDomain operation returned by the service.
- See Also:
-
deleteDomain
default DeleteDomainResponse deleteDomain(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes the specified domain recordset and all of its domain records.
The
delete domainoperation supports tag-based access control via resource tags applied to the resource identified bydomain name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteDomainRequest.Builderavoiding the need to create one manually viaDeleteDomainRequest.builder()- Parameters:
deleteDomainRequest- AConsumerthat will call methods onDeleteDomainRequest.Builderto create a request.- Returns:
- Result of the DeleteDomain operation returned by the service.
- See Also:
-
deleteDomainEntry
default DeleteDomainEntryResponse deleteDomainEntry(DeleteDomainEntryRequest deleteDomainEntryRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a specific domain entry.
The
delete domain entryoperation supports tag-based access control via resource tags applied to the resource identified bydomain name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteDomainEntryRequest-- Returns:
- Result of the DeleteDomainEntry operation returned by the service.
- See Also:
-
deleteDomainEntry
default DeleteDomainEntryResponse deleteDomainEntry(Consumer<DeleteDomainEntryRequest.Builder> deleteDomainEntryRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a specific domain entry.
The
delete domain entryoperation supports tag-based access control via resource tags applied to the resource identified bydomain name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteDomainEntryRequest.Builderavoiding the need to create one manually viaDeleteDomainEntryRequest.builder()- Parameters:
deleteDomainEntryRequest- AConsumerthat will call methods onDeleteDomainEntryRequest.Builderto create a request.- Returns:
- Result of the DeleteDomainEntry operation returned by the service.
- See Also:
-
deleteInstance
default DeleteInstanceResponse deleteInstance(DeleteInstanceRequest deleteInstanceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes an Amazon Lightsail instance.
The
delete instanceoperation supports tag-based access control via resource tags applied to the resource identified byinstance name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteInstanceRequest-- Returns:
- Result of the DeleteInstance operation returned by the service.
- See Also:
-
deleteInstance
default DeleteInstanceResponse deleteInstance(Consumer<DeleteInstanceRequest.Builder> deleteInstanceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes an Amazon Lightsail instance.
The
delete instanceoperation supports tag-based access control via resource tags applied to the resource identified byinstance name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteInstanceRequest.Builderavoiding the need to create one manually viaDeleteInstanceRequest.builder()- Parameters:
deleteInstanceRequest- AConsumerthat will call methods onDeleteInstanceRequest.Builderto create a request.- Returns:
- Result of the DeleteInstance operation returned by the service.
- See Also:
-
deleteInstanceSnapshot
default DeleteInstanceSnapshotResponse deleteInstanceSnapshot(DeleteInstanceSnapshotRequest deleteInstanceSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a specific snapshot of a virtual private server (or instance).
The
delete instance snapshotoperation supports tag-based access control via resource tags applied to the resource identified byinstance snapshot name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteInstanceSnapshotRequest-- Returns:
- Result of the DeleteInstanceSnapshot operation returned by the service.
- See Also:
-
deleteInstanceSnapshot
default DeleteInstanceSnapshotResponse deleteInstanceSnapshot(Consumer<DeleteInstanceSnapshotRequest.Builder> deleteInstanceSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a specific snapshot of a virtual private server (or instance).
The
delete instance snapshotoperation supports tag-based access control via resource tags applied to the resource identified byinstance snapshot name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteInstanceSnapshotRequest.Builderavoiding the need to create one manually viaDeleteInstanceSnapshotRequest.builder()- Parameters:
deleteInstanceSnapshotRequest- AConsumerthat will call methods onDeleteInstanceSnapshotRequest.Builderto create a request.- Returns:
- Result of the DeleteInstanceSnapshot operation returned by the service.
- See Also:
-
deleteKeyPair
default DeleteKeyPairResponse deleteKeyPair(DeleteKeyPairRequest deleteKeyPairRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 pairoperation supports tag-based access control via resource tags applied to the resource identified bykey pair name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteKeyPairRequest-- Returns:
- Result of the DeleteKeyPair operation returned by the service.
- See Also:
-
deleteKeyPair
default DeleteKeyPairResponse deleteKeyPair(Consumer<DeleteKeyPairRequest.Builder> deleteKeyPairRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 pairoperation supports tag-based access control via resource tags applied to the resource identified bykey pair name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteKeyPairRequest.Builderavoiding the need to create one manually viaDeleteKeyPairRequest.builder()- Parameters:
deleteKeyPairRequest- AConsumerthat will call methods onDeleteKeyPairRequest.Builderto create a request.- Returns:
- Result of the DeleteKeyPair operation returned by the service.
- See Also:
-
deleteKnownHostKeys
default DeleteKnownHostKeysResponse deleteKnownHostKeys(DeleteKnownHostKeysRequest deleteKnownHostKeysRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
deleteKnownHostKeysRequest-- Returns:
- Result of the DeleteKnownHostKeys operation returned by the service.
- See Also:
-
deleteKnownHostKeys
default DeleteKnownHostKeysResponse deleteKnownHostKeys(Consumer<DeleteKnownHostKeysRequest.Builder> deleteKnownHostKeysRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
DeleteKnownHostKeysRequest.Builderavoiding the need to create one manually viaDeleteKnownHostKeysRequest.builder()- Parameters:
deleteKnownHostKeysRequest- AConsumerthat will call methods onDeleteKnownHostKeysRequest.Builderto create a request.- Returns:
- Result of the DeleteKnownHostKeys operation returned by the service.
- See Also:
-
deleteLoadBalancer
default DeleteLoadBalancerResponse deleteLoadBalancer(DeleteLoadBalancerRequest deleteLoadBalancerRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 balanceroperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteLoadBalancerRequest-- Returns:
- Result of the DeleteLoadBalancer operation returned by the service.
- See Also:
-
deleteLoadBalancer
default DeleteLoadBalancerResponse deleteLoadBalancer(Consumer<DeleteLoadBalancerRequest.Builder> deleteLoadBalancerRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 balanceroperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteLoadBalancerRequest.Builderavoiding the need to create one manually viaDeleteLoadBalancerRequest.builder()- Parameters:
deleteLoadBalancerRequest- AConsumerthat will call methods onDeleteLoadBalancerRequest.Builderto create a request.- Returns:
- Result of the DeleteLoadBalancer operation returned by the service.
- See Also:
-
deleteLoadBalancerTlsCertificate
default DeleteLoadBalancerTlsCertificateResponse deleteLoadBalancerTlsCertificate(DeleteLoadBalancerTlsCertificateRequest deleteLoadBalancerTlsCertificateRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes an SSL/TLS certificate associated with a Lightsail load balancer.
The
DeleteLoadBalancerTlsCertificateoperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteLoadBalancerTlsCertificateRequest-- Returns:
- Result of the DeleteLoadBalancerTlsCertificate operation returned by the service.
- See Also:
-
deleteLoadBalancerTlsCertificate
default DeleteLoadBalancerTlsCertificateResponse deleteLoadBalancerTlsCertificate(Consumer<DeleteLoadBalancerTlsCertificateRequest.Builder> deleteLoadBalancerTlsCertificateRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes an SSL/TLS certificate associated with a Lightsail load balancer.
The
DeleteLoadBalancerTlsCertificateoperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteLoadBalancerTlsCertificateRequest.Builderavoiding the need to create one manually viaDeleteLoadBalancerTlsCertificateRequest.builder()- Parameters:
deleteLoadBalancerTlsCertificateRequest- AConsumerthat will call methods onDeleteLoadBalancerTlsCertificateRequest.Builderto create a request.- Returns:
- Result of the DeleteLoadBalancerTlsCertificate operation returned by the service.
- See Also:
-
deleteRelationalDatabase
default DeleteRelationalDatabaseResponse deleteRelationalDatabase(DeleteRelationalDatabaseRequest deleteRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a database in Amazon Lightsail.
The
delete relational databaseoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteRelationalDatabaseRequest-- Returns:
- Result of the DeleteRelationalDatabase operation returned by the service.
- See Also:
-
deleteRelationalDatabase
default DeleteRelationalDatabaseResponse deleteRelationalDatabase(Consumer<DeleteRelationalDatabaseRequest.Builder> deleteRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a database in Amazon Lightsail.
The
delete relational databaseoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteRelationalDatabaseRequest.Builderavoiding the need to create one manually viaDeleteRelationalDatabaseRequest.builder()- Parameters:
deleteRelationalDatabaseRequest- AConsumerthat will call methods onDeleteRelationalDatabaseRequest.Builderto create a request.- Returns:
- Result of the DeleteRelationalDatabase operation returned by the service.
- See Also:
-
deleteRelationalDatabaseSnapshot
default DeleteRelationalDatabaseSnapshotResponse deleteRelationalDatabaseSnapshot(DeleteRelationalDatabaseSnapshotRequest deleteRelationalDatabaseSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a database snapshot in Amazon Lightsail.
The
delete relational database snapshotoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
deleteRelationalDatabaseSnapshotRequest-- Returns:
- Result of the DeleteRelationalDatabaseSnapshot operation returned by the service.
- See Also:
-
deleteRelationalDatabaseSnapshot
default DeleteRelationalDatabaseSnapshotResponse deleteRelationalDatabaseSnapshot(Consumer<DeleteRelationalDatabaseSnapshotRequest.Builder> deleteRelationalDatabaseSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a database snapshot in Amazon Lightsail.
The
delete relational database snapshotoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DeleteRelationalDatabaseSnapshotRequest.Builderavoiding the need to create one manually viaDeleteRelationalDatabaseSnapshotRequest.builder()- Parameters:
deleteRelationalDatabaseSnapshotRequest- AConsumerthat will call methods onDeleteRelationalDatabaseSnapshotRequest.Builderto create a request.- Returns:
- Result of the DeleteRelationalDatabaseSnapshot operation returned by the service.
- See Also:
-
detachCertificateFromDistribution
default DetachCertificateFromDistributionResponse detachCertificateFromDistribution(DetachCertificateFromDistributionRequest detachCertificateFromDistributionRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
detachCertificateFromDistributionRequest-- Returns:
- Result of the DetachCertificateFromDistribution operation returned by the service.
- See Also:
-
detachCertificateFromDistribution
default DetachCertificateFromDistributionResponse detachCertificateFromDistribution(Consumer<DetachCertificateFromDistributionRequest.Builder> detachCertificateFromDistributionRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
DetachCertificateFromDistributionRequest.Builderavoiding the need to create one manually viaDetachCertificateFromDistributionRequest.builder()- Parameters:
detachCertificateFromDistributionRequest- AConsumerthat will call methods onDetachCertificateFromDistributionRequest.Builderto create a request.- Returns:
- Result of the DetachCertificateFromDistribution operation returned by the service.
- See Also:
-
detachDisk
default DetachDiskResponse detachDisk(DetachDiskRequest detachDiskRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 diskoperation supports tag-based access control via resource tags applied to the resource identified bydisk name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
detachDiskRequest-- Returns:
- Result of the DetachDisk operation returned by the service.
- See Also:
-
detachDisk
default DetachDiskResponse detachDisk(Consumer<DetachDiskRequest.Builder> detachDiskRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 diskoperation supports tag-based access control via resource tags applied to the resource identified bydisk name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DetachDiskRequest.Builderavoiding the need to create one manually viaDetachDiskRequest.builder()- Parameters:
detachDiskRequest- AConsumerthat will call methods onDetachDiskRequest.Builderto create a request.- Returns:
- Result of the DetachDisk operation returned by the service.
- See Also:
-
detachInstancesFromLoadBalancer
default DetachInstancesFromLoadBalancerResponse detachInstancesFromLoadBalancer(DetachInstancesFromLoadBalancerRequest detachInstancesFromLoadBalancerRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 balanceroperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
detachInstancesFromLoadBalancerRequest-- Returns:
- Result of the DetachInstancesFromLoadBalancer operation returned by the service.
- See Also:
-
detachInstancesFromLoadBalancer
default DetachInstancesFromLoadBalancerResponse detachInstancesFromLoadBalancer(Consumer<DetachInstancesFromLoadBalancerRequest.Builder> detachInstancesFromLoadBalancerRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 balanceroperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DetachInstancesFromLoadBalancerRequest.Builderavoiding the need to create one manually viaDetachInstancesFromLoadBalancerRequest.builder()- Parameters:
detachInstancesFromLoadBalancerRequest- AConsumerthat will call methods onDetachInstancesFromLoadBalancerRequest.Builderto create a request.- Returns:
- Result of the DetachInstancesFromLoadBalancer operation returned by the service.
- See Also:
-
detachStaticIp
default DetachStaticIpResponse detachStaticIp(DetachStaticIpRequest detachStaticIpRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Detaches a static IP from the Amazon Lightsail instance to which it is attached.
- Parameters:
detachStaticIpRequest-- Returns:
- Result of the DetachStaticIp operation returned by the service.
- See Also:
-
detachStaticIp
default DetachStaticIpResponse detachStaticIp(Consumer<DetachStaticIpRequest.Builder> detachStaticIpRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Detaches a static IP from the Amazon Lightsail instance to which it is attached.
This is a convenience which creates an instance of the
DetachStaticIpRequest.Builderavoiding the need to create one manually viaDetachStaticIpRequest.builder()- Parameters:
detachStaticIpRequest- AConsumerthat will call methods onDetachStaticIpRequest.Builderto create a request.- Returns:
- Result of the DetachStaticIp operation returned by the service.
- See Also:
-
disableAddOn
default DisableAddOnResponse disableAddOn(DisableAddOnRequest disableAddOnRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Disables an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.
- Parameters:
disableAddOnRequest-- Returns:
- Result of the DisableAddOn operation returned by the service.
- See Also:
-
disableAddOn
default DisableAddOnResponse disableAddOn(Consumer<DisableAddOnRequest.Builder> disableAddOnRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Disables an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
DisableAddOnRequest.Builderavoiding the need to create one manually viaDisableAddOnRequest.builder()- Parameters:
disableAddOnRequest- AConsumerthat will call methods onDisableAddOnRequest.Builderto create a request.- Returns:
- Result of the DisableAddOn operation returned by the service.
- See Also:
-
downloadDefaultKeyPair
default DownloadDefaultKeyPairResponse downloadDefaultKeyPair(DownloadDefaultKeyPairRequest downloadDefaultKeyPairRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
downloadDefaultKeyPairRequest-- Returns:
- Result of the DownloadDefaultKeyPair operation returned by the service.
- See Also:
-
downloadDefaultKeyPair
default DownloadDefaultKeyPairResponse downloadDefaultKeyPair(Consumer<DownloadDefaultKeyPairRequest.Builder> downloadDefaultKeyPairRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
DownloadDefaultKeyPairRequest.Builderavoiding the need to create one manually viaDownloadDefaultKeyPairRequest.builder()- Parameters:
downloadDefaultKeyPairRequest- AConsumerthat will call methods onDownloadDefaultKeyPairRequest.Builderto create a request.- Returns:
- Result of the DownloadDefaultKeyPair operation returned by the service.
- See Also:
-
downloadDefaultKeyPair
default DownloadDefaultKeyPairResponse downloadDefaultKeyPair() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionDownloads 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.
- Returns:
- Result of the DownloadDefaultKeyPair operation returned by the service.
- See Also:
-
enableAddOn
default EnableAddOnResponse enableAddOn(EnableAddOnRequest enableAddOnRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.
- Parameters:
enableAddOnRequest-- Returns:
- Result of the EnableAddOn operation returned by the service.
- See Also:
-
enableAddOn
default EnableAddOnResponse enableAddOn(Consumer<EnableAddOnRequest.Builder> enableAddOnRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
EnableAddOnRequest.Builderavoiding the need to create one manually viaEnableAddOnRequest.builder()- Parameters:
enableAddOnRequest- AConsumerthat will call methods onEnableAddOnRequest.Builderto create a request.- Returns:
- Result of the EnableAddOn operation returned by the service.
- See Also:
-
exportSnapshot
default ExportSnapshotResponse exportSnapshot(ExportSnapshotRequest exportSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 stackoperation 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 snapshotoperation supports tag-based access control via resource tags applied to the resource identified bysource snapshot name. For more information, see the Amazon Lightsail Developer Guide.Use the
get instance snapshotsorget disk snapshotsoperations to get a list of snapshots that you can export to Amazon EC2.- Parameters:
exportSnapshotRequest-- Returns:
- Result of the ExportSnapshot operation returned by the service.
- See Also:
-
exportSnapshot
default ExportSnapshotResponse exportSnapshot(Consumer<ExportSnapshotRequest.Builder> exportSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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 stackoperation 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 snapshotoperation supports tag-based access control via resource tags applied to the resource identified bysource snapshot name. For more information, see the Amazon Lightsail Developer Guide.Use the
get instance snapshotsorget disk snapshotsoperations to get a list of snapshots that you can export to Amazon EC2.
This is a convenience which creates an instance of the
ExportSnapshotRequest.Builderavoiding the need to create one manually viaExportSnapshotRequest.builder()- Parameters:
exportSnapshotRequest- AConsumerthat will call methods onExportSnapshotRequest.Builderto create a request.- Returns:
- Result of the ExportSnapshot operation returned by the service.
- See Also:
-
getActiveNames
default GetActiveNamesResponse getActiveNames(GetActiveNamesRequest getActiveNamesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the names of all active (not deleted) resources.
- Parameters:
getActiveNamesRequest-- Returns:
- Result of the GetActiveNames operation returned by the service.
- See Also:
-
getActiveNames
default GetActiveNamesResponse getActiveNames(Consumer<GetActiveNamesRequest.Builder> getActiveNamesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the names of all active (not deleted) resources.
This is a convenience which creates an instance of the
GetActiveNamesRequest.Builderavoiding the need to create one manually viaGetActiveNamesRequest.builder()- Parameters:
getActiveNamesRequest- AConsumerthat will call methods onGetActiveNamesRequest.Builderto create a request.- Returns:
- Result of the GetActiveNames operation returned by the service.
- See Also:
-
getActiveNames
default GetActiveNamesResponse getActiveNames() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns the names of all active (not deleted) resources.
- Returns:
- Result of the GetActiveNames operation returned by the service.
- See Also:
-
getAlarms
default GetAlarmsResponse getAlarms(GetAlarmsRequest getAlarmsRequest) throws ServiceException, InvalidInputException, OperationFailureException, UnauthenticatedException, AccessDeniedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getAlarmsRequest-- Returns:
- Result of the GetAlarms operation returned by the service.
- See Also:
-
getAlarms
default GetAlarmsResponse getAlarms(Consumer<GetAlarmsRequest.Builder> getAlarmsRequest) throws ServiceException, InvalidInputException, OperationFailureException, UnauthenticatedException, AccessDeniedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetAlarmsRequest.Builderavoiding the need to create one manually viaGetAlarmsRequest.builder()- Parameters:
getAlarmsRequest- AConsumerthat will call methods onGetAlarmsRequest.Builderto create a request.- Returns:
- Result of the GetAlarms operation returned by the service.
- See Also:
-
getAutoSnapshots
default GetAutoSnapshotsResponse getAutoSnapshots(GetAutoSnapshotsRequest getAutoSnapshotsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the available automatic snapshots for an instance or disk. For more information, see the Amazon Lightsail Developer Guide.
- Parameters:
getAutoSnapshotsRequest-- Returns:
- Result of the GetAutoSnapshots operation returned by the service.
- See Also:
-
getAutoSnapshots
default GetAutoSnapshotsResponse getAutoSnapshots(Consumer<GetAutoSnapshotsRequest.Builder> getAutoSnapshotsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the available automatic snapshots for an instance or disk. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
GetAutoSnapshotsRequest.Builderavoiding the need to create one manually viaGetAutoSnapshotsRequest.builder()- Parameters:
getAutoSnapshotsRequest- AConsumerthat will call methods onGetAutoSnapshotsRequest.Builderto create a request.- Returns:
- Result of the GetAutoSnapshots operation returned by the service.
- See Also:
-
getBlueprints
default GetBlueprintsResponse getBlueprints(GetBlueprintsRequest getBlueprintsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getBlueprintsRequest-- Returns:
- Result of the GetBlueprints operation returned by the service.
- See Also:
-
getBlueprints
default GetBlueprintsResponse getBlueprints(Consumer<GetBlueprintsRequest.Builder> getBlueprintsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetBlueprintsRequest.Builderavoiding the need to create one manually viaGetBlueprintsRequest.builder()- Parameters:
getBlueprintsRequest- AConsumerthat will call methods onGetBlueprintsRequest.Builderto create a request.- Returns:
- Result of the GetBlueprints operation returned by the service.
- See Also:
-
getBlueprints
default GetBlueprintsResponse getBlueprints() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns 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.
- Returns:
- Result of the GetBlueprints operation returned by the service.
- See Also:
-
getBucketAccessKeys
default GetBucketAccessKeysResponse getBucketAccessKeys(GetBucketAccessKeysRequest getBucketAccessKeysRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getBucketAccessKeysRequest-- Returns:
- Result of the GetBucketAccessKeys operation returned by the service.
- See Also:
-
getBucketAccessKeys
default GetBucketAccessKeysResponse getBucketAccessKeys(Consumer<GetBucketAccessKeysRequest.Builder> getBucketAccessKeysRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetBucketAccessKeysRequest.Builderavoiding the need to create one manually viaGetBucketAccessKeysRequest.builder()- Parameters:
getBucketAccessKeysRequest- AConsumerthat will call methods onGetBucketAccessKeysRequest.Builderto create a request.- Returns:
- Result of the GetBucketAccessKeys operation returned by the service.
- See Also:
-
getBucketBundles
default GetBucketBundlesResponse getBucketBundles(GetBucketBundlesRequest getBucketBundlesRequest) throws AccessDeniedException, InvalidInputException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getBucketBundlesRequest-- Returns:
- Result of the GetBucketBundles operation returned by the service.
- See Also:
-
getBucketBundles
default GetBucketBundlesResponse getBucketBundles(Consumer<GetBucketBundlesRequest.Builder> getBucketBundlesRequest) throws AccessDeniedException, InvalidInputException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetBucketBundlesRequest.Builderavoiding the need to create one manually viaGetBucketBundlesRequest.builder()- Parameters:
getBucketBundlesRequest- AConsumerthat will call methods onGetBucketBundlesRequest.Builderto create a request.- Returns:
- Result of the GetBucketBundles operation returned by the service.
- See Also:
-
getBucketMetricData
default GetBucketMetricDataResponse getBucketMetricData(GetBucketMetricDataRequest getBucketMetricDataRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getBucketMetricDataRequest-- Returns:
- Result of the GetBucketMetricData operation returned by the service.
- See Also:
-
getBucketMetricData
default GetBucketMetricDataResponse getBucketMetricData(Consumer<GetBucketMetricDataRequest.Builder> getBucketMetricDataRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetBucketMetricDataRequest.Builderavoiding the need to create one manually viaGetBucketMetricDataRequest.builder()- Parameters:
getBucketMetricDataRequest- AConsumerthat will call methods onGetBucketMetricDataRequest.Builderto create a request.- Returns:
- Result of the GetBucketMetricData operation returned by the service.
- See Also:
-
getBuckets
default GetBucketsResponse getBuckets(GetBucketsRequest getBucketsRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getBucketsRequest-- Returns:
- Result of the GetBuckets operation returned by the service.
- See Also:
-
getBuckets
default GetBucketsResponse getBuckets(Consumer<GetBucketsRequest.Builder> getBucketsRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetBucketsRequest.Builderavoiding the need to create one manually viaGetBucketsRequest.builder()- Parameters:
getBucketsRequest- AConsumerthat will call methods onGetBucketsRequest.Builderto create a request.- Returns:
- Result of the GetBuckets operation returned by the service.
- See Also:
-
getBundles
default GetBundlesResponse getBundles(GetBundlesRequest getBundlesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getBundlesRequest-- Returns:
- Result of the GetBundles operation returned by the service.
- See Also:
-
getBundles
default GetBundlesResponse getBundles(Consumer<GetBundlesRequest.Builder> getBundlesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetBundlesRequest.Builderavoiding the need to create one manually viaGetBundlesRequest.builder()- Parameters:
getBundlesRequest- AConsumerthat will call methods onGetBundlesRequest.Builderto create a request.- Returns:
- Result of the GetBundles operation returned by the service.
- See Also:
-
getBundles
default GetBundlesResponse getBundles() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns 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.
- Returns:
- Result of the GetBundles operation returned by the service.
- See Also:
-
getCertificates
default GetCertificatesResponse getCertificates(GetCertificatesRequest getCertificatesRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about one or more Amazon Lightsail SSL/TLS certificates.
To get a summary of a certificate, omit
includeCertificateDetailsfrom your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.- Parameters:
getCertificatesRequest-- Returns:
- Result of the GetCertificates operation returned by the service.
- See Also:
-
getCertificates
default GetCertificatesResponse getCertificates(Consumer<GetCertificatesRequest.Builder> getCertificatesRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about one or more Amazon Lightsail SSL/TLS certificates.
To get a summary of a certificate, omit
includeCertificateDetailsfrom your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.
This is a convenience which creates an instance of the
GetCertificatesRequest.Builderavoiding the need to create one manually viaGetCertificatesRequest.builder()- Parameters:
getCertificatesRequest- AConsumerthat will call methods onGetCertificatesRequest.Builderto create a request.- Returns:
- Result of the GetCertificates operation returned by the service.
- See Also:
-
getCloudFormationStackRecords
default GetCloudFormationStackRecordsResponse getCloudFormationStackRecords(GetCloudFormationStackRecordsRequest getCloudFormationStackRecordsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the CloudFormation stack record created as a result of the
create cloud formation stackoperation.An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.
- Parameters:
getCloudFormationStackRecordsRequest-- Returns:
- Result of the GetCloudFormationStackRecords operation returned by the service.
- See Also:
-
getCloudFormationStackRecords
default GetCloudFormationStackRecordsResponse getCloudFormationStackRecords(Consumer<GetCloudFormationStackRecordsRequest.Builder> getCloudFormationStackRecordsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the CloudFormation stack record created as a result of the
create cloud formation stackoperation.An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.
This is a convenience which creates an instance of the
GetCloudFormationStackRecordsRequest.Builderavoiding the need to create one manually viaGetCloudFormationStackRecordsRequest.builder()- Parameters:
getCloudFormationStackRecordsRequest- AConsumerthat will call methods onGetCloudFormationStackRecordsRequest.Builderto create a request.- Returns:
- Result of the GetCloudFormationStackRecords operation returned by the service.
- See Also:
-
getCloudFormationStackRecords
default GetCloudFormationStackRecordsResponse getCloudFormationStackRecords() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns the CloudFormation stack record created as a result of the
create cloud formation stackoperation.An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.
- Returns:
- Result of the GetCloudFormationStackRecords operation returned by the service.
- See Also:
-
getContactMethods
default GetContactMethodsResponse getContactMethods(GetContactMethodsRequest getContactMethodsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getContactMethodsRequest-- Returns:
- Result of the GetContactMethods operation returned by the service.
- See Also:
-
getContactMethods
default GetContactMethodsResponse getContactMethods(Consumer<GetContactMethodsRequest.Builder> getContactMethodsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetContactMethodsRequest.Builderavoiding the need to create one manually viaGetContactMethodsRequest.builder()- Parameters:
getContactMethodsRequest- AConsumerthat will call methods onGetContactMethodsRequest.Builderto create a request.- Returns:
- Result of the GetContactMethods operation returned by the service.
- See Also:
-
getContainerAPIMetadata
default GetContainerApiMetadataResponse getContainerAPIMetadata(GetContainerApiMetadataRequest getContainerApiMetadataRequest) throws ServiceException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.
- Parameters:
getContainerApiMetadataRequest-- Returns:
- Result of the GetContainerAPIMetadata operation returned by the service.
- See Also:
-
getContainerAPIMetadata
default GetContainerApiMetadataResponse getContainerAPIMetadata(Consumer<GetContainerApiMetadataRequest.Builder> getContainerApiMetadataRequest) throws ServiceException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.
This is a convenience which creates an instance of the
GetContainerApiMetadataRequest.Builderavoiding the need to create one manually viaGetContainerApiMetadataRequest.builder()- Parameters:
getContainerApiMetadataRequest- AConsumerthat will call methods onGetContainerApiMetadataRequest.Builderto create a request.- Returns:
- Result of the GetContainerAPIMetadata operation returned by the service.
- See Also:
-
getContainerImages
default GetContainerImagesResponse getContainerImages(GetContainerImagesRequest getContainerImagesRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getContainerImagesRequest-- Returns:
- Result of the GetContainerImages operation returned by the service.
- See Also:
-
getContainerImages
default GetContainerImagesResponse getContainerImages(Consumer<GetContainerImagesRequest.Builder> getContainerImagesRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetContainerImagesRequest.Builderavoiding the need to create one manually viaGetContainerImagesRequest.builder()- Parameters:
getContainerImagesRequest- AConsumerthat will call methods onGetContainerImagesRequest.Builderto create a request.- Returns:
- Result of the GetContainerImages operation returned by the service.
- See Also:
-
getContainerLog
default GetContainerLogResponse getContainerLog(GetContainerLogRequest getContainerLogRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getContainerLogRequest-- Returns:
- Result of the GetContainerLog operation returned by the service.
- See Also:
-
getContainerLog
default GetContainerLogResponse getContainerLog(Consumer<GetContainerLogRequest.Builder> getContainerLogRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetContainerLogRequest.Builderavoiding the need to create one manually viaGetContainerLogRequest.builder()- Parameters:
getContainerLogRequest- AConsumerthat will call methods onGetContainerLogRequest.Builderto create a request.- Returns:
- Result of the GetContainerLog operation returned by the service.
- See Also:
-
getContainerServiceDeployments
default GetContainerServiceDeploymentsResponse getContainerServiceDeployments(GetContainerServiceDeploymentsRequest getContainerServiceDeploymentsRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getContainerServiceDeploymentsRequest-- Returns:
- Result of the GetContainerServiceDeployments operation returned by the service.
- See Also:
-
getContainerServiceDeployments
default GetContainerServiceDeploymentsResponse getContainerServiceDeployments(Consumer<GetContainerServiceDeploymentsRequest.Builder> getContainerServiceDeploymentsRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetContainerServiceDeploymentsRequest.Builderavoiding the need to create one manually viaGetContainerServiceDeploymentsRequest.builder()- Parameters:
getContainerServiceDeploymentsRequest- AConsumerthat will call methods onGetContainerServiceDeploymentsRequest.Builderto create a request.- Returns:
- Result of the GetContainerServiceDeployments operation returned by the service.
- See Also:
-
getContainerServiceMetricData
default GetContainerServiceMetricDataResponse getContainerServiceMetricData(GetContainerServiceMetricDataRequest getContainerServiceMetricDataRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getContainerServiceMetricDataRequest-- Returns:
- Result of the GetContainerServiceMetricData operation returned by the service.
- See Also:
-
getContainerServiceMetricData
default GetContainerServiceMetricDataResponse getContainerServiceMetricData(Consumer<GetContainerServiceMetricDataRequest.Builder> getContainerServiceMetricDataRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetContainerServiceMetricDataRequest.Builderavoiding the need to create one manually viaGetContainerServiceMetricDataRequest.builder()- Parameters:
getContainerServiceMetricDataRequest- AConsumerthat will call methods onGetContainerServiceMetricDataRequest.Builderto create a request.- Returns:
- Result of the GetContainerServiceMetricData operation returned by the service.
- See Also:
-
getContainerServicePowers
default GetContainerServicePowersResponse getContainerServicePowers(GetContainerServicePowersRequest getContainerServicePowersRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getContainerServicePowersRequest-- Returns:
- Result of the GetContainerServicePowers operation returned by the service.
- See Also:
-
getContainerServicePowers
default GetContainerServicePowersResponse getContainerServicePowers(Consumer<GetContainerServicePowersRequest.Builder> getContainerServicePowersRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetContainerServicePowersRequest.Builderavoiding the need to create one manually viaGetContainerServicePowersRequest.builder()- Parameters:
getContainerServicePowersRequest- AConsumerthat will call methods onGetContainerServicePowersRequest.Builderto create a request.- Returns:
- Result of the GetContainerServicePowers operation returned by the service.
- See Also:
-
getContainerServices
default GetContainerServicesResponse getContainerServices(GetContainerServicesRequest getContainerServicesRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about one or more of your Amazon Lightsail container services.
- Parameters:
getContainerServicesRequest-- Returns:
- Result of the GetContainerServices operation returned by the service.
- See Also:
-
getContainerServices
default GetContainerServicesResponse getContainerServices(Consumer<GetContainerServicesRequest.Builder> getContainerServicesRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about one or more of your Amazon Lightsail container services.
This is a convenience which creates an instance of the
GetContainerServicesRequest.Builderavoiding the need to create one manually viaGetContainerServicesRequest.builder()- Parameters:
getContainerServicesRequest- AConsumerthat will call methods onGetContainerServicesRequest.Builderto create a request.- Returns:
- Result of the GetContainerServices operation returned by the service.
- See Also:
-
getCostEstimate
default GetCostEstimateResponse getCostEstimate(GetCostEstimateRequest getCostEstimateRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Retrieves information about the cost estimate for a specified resource. A cost estimate will not generate for a resource that has been deleted.
- Parameters:
getCostEstimateRequest-- Returns:
- Result of the GetCostEstimate operation returned by the service.
- See Also:
-
getCostEstimate
default GetCostEstimateResponse getCostEstimate(Consumer<GetCostEstimateRequest.Builder> getCostEstimateRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Retrieves information about the cost estimate for a specified resource. A cost estimate will not generate for a resource that has been deleted.
This is a convenience which creates an instance of the
GetCostEstimateRequest.Builderavoiding the need to create one manually viaGetCostEstimateRequest.builder()- Parameters:
getCostEstimateRequest- AConsumerthat will call methods onGetCostEstimateRequest.Builderto create a request.- Returns:
- Result of the GetCostEstimate operation returned by the service.
- See Also:
-
getDisk
default GetDiskResponse getDisk(GetDiskRequest getDiskRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific block storage disk.
- Parameters:
getDiskRequest-- Returns:
- Result of the GetDisk operation returned by the service.
- See Also:
-
getDisk
default GetDiskResponse getDisk(Consumer<GetDiskRequest.Builder> getDiskRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific block storage disk.
This is a convenience which creates an instance of the
GetDiskRequest.Builderavoiding the need to create one manually viaGetDiskRequest.builder()- Parameters:
getDiskRequest- AConsumerthat will call methods onGetDiskRequest.Builderto create a request.- Returns:
- Result of the GetDisk operation returned by the service.
- See Also:
-
getDiskSnapshot
default GetDiskSnapshotResponse getDiskSnapshot(GetDiskSnapshotRequest getDiskSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific block storage disk snapshot.
- Parameters:
getDiskSnapshotRequest-- Returns:
- Result of the GetDiskSnapshot operation returned by the service.
- See Also:
-
getDiskSnapshot
default GetDiskSnapshotResponse getDiskSnapshot(Consumer<GetDiskSnapshotRequest.Builder> getDiskSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific block storage disk snapshot.
This is a convenience which creates an instance of the
GetDiskSnapshotRequest.Builderavoiding the need to create one manually viaGetDiskSnapshotRequest.builder()- Parameters:
getDiskSnapshotRequest- AConsumerthat will call methods onGetDiskSnapshotRequest.Builderto create a request.- Returns:
- Result of the GetDiskSnapshot operation returned by the service.
- See Also:
-
getDiskSnapshots
default GetDiskSnapshotsResponse getDiskSnapshots(GetDiskSnapshotsRequest getDiskSnapshotsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all block storage disk snapshots in your AWS account and region.
- Parameters:
getDiskSnapshotsRequest-- Returns:
- Result of the GetDiskSnapshots operation returned by the service.
- See Also:
-
getDiskSnapshots
default GetDiskSnapshotsResponse getDiskSnapshots(Consumer<GetDiskSnapshotsRequest.Builder> getDiskSnapshotsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all block storage disk snapshots in your AWS account and region.
This is a convenience which creates an instance of the
GetDiskSnapshotsRequest.Builderavoiding the need to create one manually viaGetDiskSnapshotsRequest.builder()- Parameters:
getDiskSnapshotsRequest- AConsumerthat will call methods onGetDiskSnapshotsRequest.Builderto create a request.- Returns:
- Result of the GetDiskSnapshots operation returned by the service.
- See Also:
-
getDiskSnapshots
default GetDiskSnapshotsResponse getDiskSnapshots() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns information about all block storage disk snapshots in your AWS account and region.
- Returns:
- Result of the GetDiskSnapshots operation returned by the service.
- See Also:
-
getDisks
default GetDisksResponse getDisks(GetDisksRequest getDisksRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all block storage disks in your AWS account and region.
- Parameters:
getDisksRequest-- Returns:
- Result of the GetDisks operation returned by the service.
- See Also:
-
getDisks
default GetDisksResponse getDisks(Consumer<GetDisksRequest.Builder> getDisksRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all block storage disks in your AWS account and region.
This is a convenience which creates an instance of the
GetDisksRequest.Builderavoiding the need to create one manually viaGetDisksRequest.builder()- Parameters:
getDisksRequest- AConsumerthat will call methods onGetDisksRequest.Builderto create a request.- Returns:
- Result of the GetDisks operation returned by the service.
- See Also:
-
getDisks
default GetDisksResponse getDisks() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns information about all block storage disks in your AWS account and region.
- Returns:
- Result of the GetDisks operation returned by the service.
- See Also:
-
getDistributionBundles
default GetDistributionBundlesResponse getDistributionBundles(GetDistributionBundlesRequest getDistributionBundlesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getDistributionBundlesRequest-- Returns:
- Result of the GetDistributionBundles operation returned by the service.
- See Also:
-
getDistributionBundles
default GetDistributionBundlesResponse getDistributionBundles(Consumer<GetDistributionBundlesRequest.Builder> getDistributionBundlesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetDistributionBundlesRequest.Builderavoiding the need to create one manually viaGetDistributionBundlesRequest.builder()- Parameters:
getDistributionBundlesRequest- AConsumerthat will call methods onGetDistributionBundlesRequest.Builderto create a request.- Returns:
- Result of the GetDistributionBundles operation returned by the service.
- See Also:
-
getDistributionLatestCacheReset
default GetDistributionLatestCacheResetResponse getDistributionLatestCacheReset(GetDistributionLatestCacheResetRequest getDistributionLatestCacheResetRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.
- Parameters:
getDistributionLatestCacheResetRequest-- Returns:
- Result of the GetDistributionLatestCacheReset operation returned by the service.
- See Also:
-
getDistributionLatestCacheReset
default GetDistributionLatestCacheResetResponse getDistributionLatestCacheReset(Consumer<GetDistributionLatestCacheResetRequest.Builder> getDistributionLatestCacheResetRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail content delivery network (CDN) distribution.
This is a convenience which creates an instance of the
GetDistributionLatestCacheResetRequest.Builderavoiding the need to create one manually viaGetDistributionLatestCacheResetRequest.builder()- Parameters:
getDistributionLatestCacheResetRequest- AConsumerthat will call methods onGetDistributionLatestCacheResetRequest.Builderto create a request.- Returns:
- Result of the GetDistributionLatestCacheReset operation returned by the service.
- See Also:
-
getDistributionMetricData
default GetDistributionMetricDataResponse getDistributionMetricData(GetDistributionMetricDataRequest getDistributionMetricDataRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
- Parameters:
getDistributionMetricDataRequest-- Returns:
- Result of the GetDistributionMetricData operation returned by the service.
- See Also:
-
getDistributionMetricData
default GetDistributionMetricDataResponse getDistributionMetricData(Consumer<GetDistributionMetricDataRequest.Builder> getDistributionMetricDataRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException 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.
This is a convenience which creates an instance of the
GetDistributionMetricDataRequest.Builderavoiding the need to create one manually viaGetDistributionMetricDataRequest.builder()- Parameters:
getDistributionMetricDataRequest- AConsumerthat will call methods onGetDistributionMetricDataRequest.Builderto create a request.- Returns:
- Result of the GetDistributionMetricData operation returned by the service.
- See Also:
-
getDistributions
default GetDistributionsResponse getDistributions(GetDistributionsRequest getDistributionsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about one or more of your Amazon Lightsail content delivery network (CDN) distributions.
- Parameters:
getDistributionsRequest-- Returns:
- Result of the GetDistributions operation returned by the service.
- See Also:
-
getDistributions
default GetDistributionsResponse getDistributions(Consumer<GetDistributionsRequest.Builder> getDistributionsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about one or more of your Amazon Lightsail content delivery network (CDN) distributions.
This is a convenience which creates an instance of the
GetDistributionsRequest.Builderavoiding the need to create one manually viaGetDistributionsRequest.builder()- Parameters:
getDistributionsRequest- AConsumerthat will call methods onGetDistributionsRequest.Builderto create a request.- Returns:
- Result of the GetDistributions operation returned by the service.
- See Also:
-
getDomain
default GetDomainResponse getDomain(GetDomainRequest getDomainRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific domain recordset.
- Parameters:
getDomainRequest-- Returns:
- Result of the GetDomain operation returned by the service.
- See Also:
-
getDomain
default GetDomainResponse getDomain(Consumer<GetDomainRequest.Builder> getDomainRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific domain recordset.
This is a convenience which creates an instance of the
GetDomainRequest.Builderavoiding the need to create one manually viaGetDomainRequest.builder()- Parameters:
getDomainRequest- AConsumerthat will call methods onGetDomainRequest.Builderto create a request.- Returns:
- Result of the GetDomain operation returned by the service.
- See Also:
-
getDomains
default GetDomainsResponse getDomains(GetDomainsRequest getDomainsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of all domains in the user's account.
- Parameters:
getDomainsRequest-- Returns:
- Result of the GetDomains operation returned by the service.
- See Also:
-
getDomains
default GetDomainsResponse getDomains(Consumer<GetDomainsRequest.Builder> getDomainsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of all domains in the user's account.
This is a convenience which creates an instance of the
GetDomainsRequest.Builderavoiding the need to create one manually viaGetDomainsRequest.builder()- Parameters:
getDomainsRequest- AConsumerthat will call methods onGetDomainsRequest.Builderto create a request.- Returns:
- Result of the GetDomains operation returned by the service.
- See Also:
-
getDomains
default GetDomainsResponse getDomains() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns a list of all domains in the user's account.
- Returns:
- Result of the GetDomains operation returned by the service.
- See Also:
-
getExportSnapshotRecords
default GetExportSnapshotRecordsResponse getExportSnapshotRecords(GetExportSnapshotRecordsRequest getExportSnapshotRecordsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns all export snapshot records created as a result of the
export snapshotoperation.An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the CreateCloudFormationStack action.
- Parameters:
getExportSnapshotRecordsRequest-- Returns:
- Result of the GetExportSnapshotRecords operation returned by the service.
- See Also:
-
getExportSnapshotRecords
default GetExportSnapshotRecordsResponse getExportSnapshotRecords(Consumer<GetExportSnapshotRecordsRequest.Builder> getExportSnapshotRecordsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns all export snapshot records created as a result of the
export snapshotoperation.An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the CreateCloudFormationStack action.
This is a convenience which creates an instance of the
GetExportSnapshotRecordsRequest.Builderavoiding the need to create one manually viaGetExportSnapshotRecordsRequest.builder()- Parameters:
getExportSnapshotRecordsRequest- AConsumerthat will call methods onGetExportSnapshotRecordsRequest.Builderto create a request.- Returns:
- Result of the GetExportSnapshotRecords operation returned by the service.
- See Also:
-
getExportSnapshotRecords
default GetExportSnapshotRecordsResponse getExportSnapshotRecords() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns all export snapshot records created as a result of the
export snapshotoperation.An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the CreateCloudFormationStack action.
- Returns:
- Result of the GetExportSnapshotRecords operation returned by the service.
- See Also:
-
getInstance
default GetInstanceResponse getInstance(GetInstanceRequest getInstanceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
- Parameters:
getInstanceRequest-- Returns:
- Result of the GetInstance operation returned by the service.
- See Also:
-
getInstance
default GetInstanceResponse getInstance(Consumer<GetInstanceRequest.Builder> getInstanceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
This is a convenience which creates an instance of the
GetInstanceRequest.Builderavoiding the need to create one manually viaGetInstanceRequest.builder()- Parameters:
getInstanceRequest- AConsumerthat will call methods onGetInstanceRequest.Builderto create a request.- Returns:
- Result of the GetInstance operation returned by the service.
- See Also:
-
getInstanceAccessDetails
default GetInstanceAccessDetailsResponse getInstanceAccessDetails(GetInstanceAccessDetailsRequest getInstanceAccessDetailsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
The
get instance access detailsoperation supports tag-based access control via resource tags applied to the resource identified byinstance name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
getInstanceAccessDetailsRequest-- Returns:
- Result of the GetInstanceAccessDetails operation returned by the service.
- See Also:
-
getInstanceAccessDetails
default GetInstanceAccessDetailsResponse getInstanceAccessDetails(Consumer<GetInstanceAccessDetailsRequest.Builder> getInstanceAccessDetailsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
The
get instance access detailsoperation supports tag-based access control via resource tags applied to the resource identified byinstance name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
GetInstanceAccessDetailsRequest.Builderavoiding the need to create one manually viaGetInstanceAccessDetailsRequest.builder()- Parameters:
getInstanceAccessDetailsRequest- AConsumerthat will call methods onGetInstanceAccessDetailsRequest.Builderto create a request.- Returns:
- Result of the GetInstanceAccessDetails operation returned by the service.
- See Also:
-
getInstanceMetricData
default GetInstanceMetricDataResponse getInstanceMetricData(GetInstanceMetricDataRequest getInstanceMetricDataRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
- Parameters:
getInstanceMetricDataRequest-- Returns:
- Result of the GetInstanceMetricData operation returned by the service.
- See Also:
-
getInstanceMetricData
default GetInstanceMetricDataResponse getInstanceMetricData(Consumer<GetInstanceMetricDataRequest.Builder> getInstanceMetricDataRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
This is a convenience which creates an instance of the
GetInstanceMetricDataRequest.Builderavoiding the need to create one manually viaGetInstanceMetricDataRequest.builder()- Parameters:
getInstanceMetricDataRequest- AConsumerthat will call methods onGetInstanceMetricDataRequest.Builderto create a request.- Returns:
- Result of the GetInstanceMetricData operation returned by the service.
- See Also:
-
getInstancePortStates
default GetInstancePortStatesResponse getInstancePortStates(GetInstancePortStatesRequest getInstancePortStatesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.
- Parameters:
getInstancePortStatesRequest-- Returns:
- Result of the GetInstancePortStates operation returned by the service.
- See Also:
-
getInstancePortStates
default GetInstancePortStatesResponse getInstancePortStates(Consumer<GetInstancePortStatesRequest.Builder> getInstancePortStatesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.
This is a convenience which creates an instance of the
GetInstancePortStatesRequest.Builderavoiding the need to create one manually viaGetInstancePortStatesRequest.builder()- Parameters:
getInstancePortStatesRequest- AConsumerthat will call methods onGetInstancePortStatesRequest.Builderto create a request.- Returns:
- Result of the GetInstancePortStates operation returned by the service.
- See Also:
-
getInstanceSnapshot
default GetInstanceSnapshotResponse getInstanceSnapshot(GetInstanceSnapshotRequest getInstanceSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific instance snapshot.
- Parameters:
getInstanceSnapshotRequest-- Returns:
- Result of the GetInstanceSnapshot operation returned by the service.
- See Also:
-
getInstanceSnapshot
default GetInstanceSnapshotResponse getInstanceSnapshot(Consumer<GetInstanceSnapshotRequest.Builder> getInstanceSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific instance snapshot.
This is a convenience which creates an instance of the
GetInstanceSnapshotRequest.Builderavoiding the need to create one manually viaGetInstanceSnapshotRequest.builder()- Parameters:
getInstanceSnapshotRequest- AConsumerthat will call methods onGetInstanceSnapshotRequest.Builderto create a request.- Returns:
- Result of the GetInstanceSnapshot operation returned by the service.
- See Also:
-
getInstanceSnapshots
default GetInstanceSnapshotsResponse getInstanceSnapshots(GetInstanceSnapshotsRequest getInstanceSnapshotsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns all instance snapshots for the user's account.
- Parameters:
getInstanceSnapshotsRequest-- Returns:
- Result of the GetInstanceSnapshots operation returned by the service.
- See Also:
-
getInstanceSnapshots
default GetInstanceSnapshotsResponse getInstanceSnapshots(Consumer<GetInstanceSnapshotsRequest.Builder> getInstanceSnapshotsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns all instance snapshots for the user's account.
This is a convenience which creates an instance of the
GetInstanceSnapshotsRequest.Builderavoiding the need to create one manually viaGetInstanceSnapshotsRequest.builder()- Parameters:
getInstanceSnapshotsRequest- AConsumerthat will call methods onGetInstanceSnapshotsRequest.Builderto create a request.- Returns:
- Result of the GetInstanceSnapshots operation returned by the service.
- See Also:
-
getInstanceSnapshots
default GetInstanceSnapshotsResponse getInstanceSnapshots() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns all instance snapshots for the user's account.
- Returns:
- Result of the GetInstanceSnapshots operation returned by the service.
- See Also:
-
getInstanceState
default GetInstanceStateResponse getInstanceState(GetInstanceStateRequest getInstanceStateRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the state of a specific instance. Works on one instance at a time.
- Parameters:
getInstanceStateRequest-- Returns:
- Result of the GetInstanceState operation returned by the service.
- See Also:
-
getInstanceState
default GetInstanceStateResponse getInstanceState(Consumer<GetInstanceStateRequest.Builder> getInstanceStateRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the state of a specific instance. Works on one instance at a time.
This is a convenience which creates an instance of the
GetInstanceStateRequest.Builderavoiding the need to create one manually viaGetInstanceStateRequest.builder()- Parameters:
getInstanceStateRequest- AConsumerthat will call methods onGetInstanceStateRequest.Builderto create a request.- Returns:
- Result of the GetInstanceState operation returned by the service.
- See Also:
-
getInstances
default GetInstancesResponse getInstances(GetInstancesRequest getInstancesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all Amazon Lightsail virtual private servers, or instances.
- Parameters:
getInstancesRequest-- Returns:
- Result of the GetInstances operation returned by the service.
- See Also:
-
getInstances
default GetInstancesResponse getInstances(Consumer<GetInstancesRequest.Builder> getInstancesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all Amazon Lightsail virtual private servers, or instances.
This is a convenience which creates an instance of the
GetInstancesRequest.Builderavoiding the need to create one manually viaGetInstancesRequest.builder()- Parameters:
getInstancesRequest- AConsumerthat will call methods onGetInstancesRequest.Builderto create a request.- Returns:
- Result of the GetInstances operation returned by the service.
- See Also:
-
getInstances
default GetInstancesResponse getInstances() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns information about all Amazon Lightsail virtual private servers, or instances.
- Returns:
- Result of the GetInstances operation returned by the service.
- See Also:
-
getKeyPair
default GetKeyPairResponse getKeyPair(GetKeyPairRequest getKeyPairRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific key pair.
- Parameters:
getKeyPairRequest-- Returns:
- Result of the GetKeyPair operation returned by the service.
- See Also:
-
getKeyPair
default GetKeyPairResponse getKeyPair(Consumer<GetKeyPairRequest.Builder> getKeyPairRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific key pair.
This is a convenience which creates an instance of the
GetKeyPairRequest.Builderavoiding the need to create one manually viaGetKeyPairRequest.builder()- Parameters:
getKeyPairRequest- AConsumerthat will call methods onGetKeyPairRequest.Builderto create a request.- Returns:
- Result of the GetKeyPair operation returned by the service.
- See Also:
-
getKeyPairs
default GetKeyPairsResponse getKeyPairs(GetKeyPairsRequest getKeyPairsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all key pairs in the user's account.
- Parameters:
getKeyPairsRequest-- Returns:
- Result of the GetKeyPairs operation returned by the service.
- See Also:
-
getKeyPairs
default GetKeyPairsResponse getKeyPairs(Consumer<GetKeyPairsRequest.Builder> getKeyPairsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all key pairs in the user's account.
This is a convenience which creates an instance of the
GetKeyPairsRequest.Builderavoiding the need to create one manually viaGetKeyPairsRequest.builder()- Parameters:
getKeyPairsRequest- AConsumerthat will call methods onGetKeyPairsRequest.Builderto create a request.- Returns:
- Result of the GetKeyPairs operation returned by the service.
- See Also:
-
getKeyPairs
default GetKeyPairsResponse getKeyPairs() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns information about all key pairs in the user's account.
- Returns:
- Result of the GetKeyPairs operation returned by the service.
- See Also:
-
getLoadBalancer
default GetLoadBalancerResponse getLoadBalancer(GetLoadBalancerRequest getLoadBalancerRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about the specified Lightsail load balancer.
- Parameters:
getLoadBalancerRequest-- Returns:
- Result of the GetLoadBalancer operation returned by the service.
- See Also:
-
getLoadBalancer
default GetLoadBalancerResponse getLoadBalancer(Consumer<GetLoadBalancerRequest.Builder> getLoadBalancerRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about the specified Lightsail load balancer.
This is a convenience which creates an instance of the
GetLoadBalancerRequest.Builderavoiding the need to create one manually viaGetLoadBalancerRequest.builder()- Parameters:
getLoadBalancerRequest- AConsumerthat will call methods onGetLoadBalancerRequest.Builderto create a request.- Returns:
- Result of the GetLoadBalancer operation returned by the service.
- See Also:
-
getLoadBalancerMetricData
default GetLoadBalancerMetricDataResponse getLoadBalancerMetricData(GetLoadBalancerMetricDataRequest getLoadBalancerMetricDataRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about health metrics for your Lightsail load balancer.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
- Parameters:
getLoadBalancerMetricDataRequest-- Returns:
- Result of the GetLoadBalancerMetricData operation returned by the service.
- See Also:
-
getLoadBalancerMetricData
default GetLoadBalancerMetricDataResponse getLoadBalancerMetricData(Consumer<GetLoadBalancerMetricDataRequest.Builder> getLoadBalancerMetricDataRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about health metrics for your Lightsail load balancer.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
This is a convenience which creates an instance of the
GetLoadBalancerMetricDataRequest.Builderavoiding the need to create one manually viaGetLoadBalancerMetricDataRequest.builder()- Parameters:
getLoadBalancerMetricDataRequest- AConsumerthat will call methods onGetLoadBalancerMetricDataRequest.Builderto create a request.- Returns:
- Result of the GetLoadBalancerMetricData operation returned by the service.
- See Also:
-
getLoadBalancerTlsCertificates
default GetLoadBalancerTlsCertificatesResponse getLoadBalancerTlsCertificates(GetLoadBalancerTlsCertificatesRequest getLoadBalancerTlsCertificatesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.
- Parameters:
getLoadBalancerTlsCertificatesRequest-- Returns:
- Result of the GetLoadBalancerTlsCertificates operation returned by the service.
- See Also:
-
getLoadBalancerTlsCertificates
default GetLoadBalancerTlsCertificatesResponse getLoadBalancerTlsCertificates(Consumer<GetLoadBalancerTlsCertificatesRequest.Builder> getLoadBalancerTlsCertificatesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.
This is a convenience which creates an instance of the
GetLoadBalancerTlsCertificatesRequest.Builderavoiding the need to create one manually viaGetLoadBalancerTlsCertificatesRequest.builder()- Parameters:
getLoadBalancerTlsCertificatesRequest- AConsumerthat will call methods onGetLoadBalancerTlsCertificatesRequest.Builderto create a request.- Returns:
- Result of the GetLoadBalancerTlsCertificates operation returned by the service.
- See Also:
-
getLoadBalancerTlsPolicies
default GetLoadBalancerTlsPoliciesResponse getLoadBalancerTlsPolicies(GetLoadBalancerTlsPoliciesRequest getLoadBalancerTlsPoliciesRequest) throws ServiceException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, InvalidInputException, AwsServiceException, SdkClientException, LightsailException Returns a list of TLS security policies that you can apply to Lightsail load balancers.
For more information about load balancer TLS security policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.
- Parameters:
getLoadBalancerTlsPoliciesRequest-- Returns:
- Result of the GetLoadBalancerTlsPolicies operation returned by the service.
- See Also:
-
getLoadBalancerTlsPolicies
default GetLoadBalancerTlsPoliciesResponse getLoadBalancerTlsPolicies(Consumer<GetLoadBalancerTlsPoliciesRequest.Builder> getLoadBalancerTlsPoliciesRequest) throws ServiceException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, InvalidInputException, AwsServiceException, SdkClientException, LightsailException Returns a list of TLS security policies that you can apply to Lightsail load balancers.
For more information about load balancer TLS security policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
GetLoadBalancerTlsPoliciesRequest.Builderavoiding the need to create one manually viaGetLoadBalancerTlsPoliciesRequest.builder()- Parameters:
getLoadBalancerTlsPoliciesRequest- AConsumerthat will call methods onGetLoadBalancerTlsPoliciesRequest.Builderto create a request.- Returns:
- Result of the GetLoadBalancerTlsPolicies operation returned by the service.
- See Also:
-
getLoadBalancers
default GetLoadBalancersResponse getLoadBalancers(GetLoadBalancersRequest getLoadBalancersRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all load balancers in an account.
- Parameters:
getLoadBalancersRequest-- Returns:
- Result of the GetLoadBalancers operation returned by the service.
- See Also:
-
getLoadBalancers
default GetLoadBalancersResponse getLoadBalancers(Consumer<GetLoadBalancersRequest.Builder> getLoadBalancersRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all load balancers in an account.
This is a convenience which creates an instance of the
GetLoadBalancersRequest.Builderavoiding the need to create one manually viaGetLoadBalancersRequest.builder()- Parameters:
getLoadBalancersRequest- AConsumerthat will call methods onGetLoadBalancersRequest.Builderto create a request.- Returns:
- Result of the GetLoadBalancers operation returned by the service.
- See Also:
-
getLoadBalancers
default GetLoadBalancersResponse getLoadBalancers() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns information about all load balancers in an account.
- Returns:
- Result of the GetLoadBalancers operation returned by the service.
- See Also:
-
getOperation
default GetOperationResponse getOperation(GetOperationRequest getOperationRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.
- Parameters:
getOperationRequest-- Returns:
- Result of the GetOperation operation returned by the service.
- See Also:
-
getOperation
default GetOperationResponse getOperation(Consumer<GetOperationRequest.Builder> getOperationRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.
This is a convenience which creates an instance of the
GetOperationRequest.Builderavoiding the need to create one manually viaGetOperationRequest.builder()- Parameters:
getOperationRequest- AConsumerthat will call methods onGetOperationRequest.Builderto create a request.- Returns:
- Result of the GetOperation operation returned by the service.
- See Also:
-
getOperations
default GetOperationsResponse getOperations(GetOperationsRequest getOperationsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to
GetOperationsuse the maximum (last)statusChangedAtvalue from the previous request.- Parameters:
getOperationsRequest-- Returns:
- Result of the GetOperations operation returned by the service.
- See Also:
-
getOperations
default GetOperationsResponse getOperations(Consumer<GetOperationsRequest.Builder> getOperationsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to
GetOperationsuse the maximum (last)statusChangedAtvalue from the previous request.
This is a convenience which creates an instance of the
GetOperationsRequest.Builderavoiding the need to create one manually viaGetOperationsRequest.builder()- Parameters:
getOperationsRequest- AConsumerthat will call methods onGetOperationsRequest.Builderto create a request.- Returns:
- Result of the GetOperations operation returned by the service.
- See Also:
-
getOperations
default GetOperationsResponse getOperations() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to
GetOperationsuse the maximum (last)statusChangedAtvalue from the previous request.- Returns:
- Result of the GetOperations operation returned by the service.
- See Also:
-
getOperationsForResource
default GetOperationsForResourceResponse getOperationsForResource(GetOperationsForResourceRequest getOperationsForResourceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Gets operations for a specific resource (an instance or a static IP).
- Parameters:
getOperationsForResourceRequest-- Returns:
- Result of the GetOperationsForResource operation returned by the service.
- See Also:
-
getOperationsForResource
default GetOperationsForResourceResponse getOperationsForResource(Consumer<GetOperationsForResourceRequest.Builder> getOperationsForResourceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Gets operations for a specific resource (an instance or a static IP).
This is a convenience which creates an instance of the
GetOperationsForResourceRequest.Builderavoiding the need to create one manually viaGetOperationsForResourceRequest.builder()- Parameters:
getOperationsForResourceRequest- AConsumerthat will call methods onGetOperationsForResourceRequest.Builderto create a request.- Returns:
- Result of the GetOperationsForResource operation returned by the service.
- See Also:
-
getRegions
default GetRegionsResponse getRegions(GetRegionsRequest getRegionsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of all valid regions for Amazon Lightsail. Use the
include availability zonesparameter to also return the Availability Zones in a region.- Parameters:
getRegionsRequest-- Returns:
- Result of the GetRegions operation returned by the service.
- See Also:
-
getRegions
default GetRegionsResponse getRegions(Consumer<GetRegionsRequest.Builder> getRegionsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of all valid regions for Amazon Lightsail. Use the
include availability zonesparameter to also return the Availability Zones in a region.
This is a convenience which creates an instance of the
GetRegionsRequest.Builderavoiding the need to create one manually viaGetRegionsRequest.builder()- Parameters:
getRegionsRequest- AConsumerthat will call methods onGetRegionsRequest.Builderto create a request.- Returns:
- Result of the GetRegions operation returned by the service.
- See Also:
-
getRegions
default GetRegionsResponse getRegions() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns a list of all valid regions for Amazon Lightsail. Use the
include availability zonesparameter to also return the Availability Zones in a region.- Returns:
- Result of the GetRegions operation returned by the service.
- See Also:
-
getRelationalDatabase
default GetRelationalDatabaseResponse getRelationalDatabase(GetRelationalDatabaseRequest getRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific database in Amazon Lightsail.
- Parameters:
getRelationalDatabaseRequest-- Returns:
- Result of the GetRelationalDatabase operation returned by the service.
- See Also:
-
getRelationalDatabase
default GetRelationalDatabaseResponse getRelationalDatabase(Consumer<GetRelationalDatabaseRequest.Builder> getRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific database in Amazon Lightsail.
This is a convenience which creates an instance of the
GetRelationalDatabaseRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseRequest.builder()- Parameters:
getRelationalDatabaseRequest- AConsumerthat will call methods onGetRelationalDatabaseRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabase operation returned by the service.
- See Also:
-
getRelationalDatabaseBlueprints
default GetRelationalDatabaseBlueprintsResponse getRelationalDatabaseBlueprints(GetRelationalDatabaseBlueprintsRequest getRelationalDatabaseBlueprintsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database.
You can use a blueprint ID to create a new database that runs a specific database engine.
- Parameters:
getRelationalDatabaseBlueprintsRequest-- Returns:
- Result of the GetRelationalDatabaseBlueprints operation returned by the service.
- See Also:
-
getRelationalDatabaseBlueprints
default GetRelationalDatabaseBlueprintsResponse getRelationalDatabaseBlueprints(Consumer<GetRelationalDatabaseBlueprintsRequest.Builder> getRelationalDatabaseBlueprintsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database.
You can use a blueprint ID to create a new database that runs a specific database engine.
This is a convenience which creates an instance of the
GetRelationalDatabaseBlueprintsRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseBlueprintsRequest.builder()- Parameters:
getRelationalDatabaseBlueprintsRequest- AConsumerthat will call methods onGetRelationalDatabaseBlueprintsRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabaseBlueprints operation returned by the service.
- See Also:
-
getRelationalDatabaseBlueprints
default GetRelationalDatabaseBlueprintsResponse getRelationalDatabaseBlueprints() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database.
You can use a blueprint ID to create a new database that runs a specific database engine.
- Returns:
- Result of the GetRelationalDatabaseBlueprints operation returned by the service.
- See Also:
-
getRelationalDatabaseBundles
default GetRelationalDatabaseBundlesResponse getRelationalDatabaseBundles(GetRelationalDatabaseBundlesRequest getRelationalDatabaseBundlesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database.
You can use a bundle ID to create a new database with explicit performance specifications.
- Parameters:
getRelationalDatabaseBundlesRequest-- Returns:
- Result of the GetRelationalDatabaseBundles operation returned by the service.
- See Also:
-
getRelationalDatabaseBundles
default GetRelationalDatabaseBundlesResponse getRelationalDatabaseBundles(Consumer<GetRelationalDatabaseBundlesRequest.Builder> getRelationalDatabaseBundlesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database.
You can use a bundle ID to create a new database with explicit performance specifications.
This is a convenience which creates an instance of the
GetRelationalDatabaseBundlesRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseBundlesRequest.builder()- Parameters:
getRelationalDatabaseBundlesRequest- AConsumerthat will call methods onGetRelationalDatabaseBundlesRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabaseBundles operation returned by the service.
- See Also:
-
getRelationalDatabaseBundles
default GetRelationalDatabaseBundlesResponse getRelationalDatabaseBundles() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database.
You can use a bundle ID to create a new database with explicit performance specifications.
- Returns:
- Result of the GetRelationalDatabaseBundles operation returned by the service.
- See Also:
-
getRelationalDatabaseEvents
default GetRelationalDatabaseEventsResponse getRelationalDatabaseEvents(GetRelationalDatabaseEventsRequest getRelationalDatabaseEventsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of events for a specific database in Amazon Lightsail.
- Parameters:
getRelationalDatabaseEventsRequest-- Returns:
- Result of the GetRelationalDatabaseEvents operation returned by the service.
- See Also:
-
getRelationalDatabaseEvents
default GetRelationalDatabaseEventsResponse getRelationalDatabaseEvents(Consumer<GetRelationalDatabaseEventsRequest.Builder> getRelationalDatabaseEventsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of events for a specific database in Amazon Lightsail.
This is a convenience which creates an instance of the
GetRelationalDatabaseEventsRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseEventsRequest.builder()- Parameters:
getRelationalDatabaseEventsRequest- AConsumerthat will call methods onGetRelationalDatabaseEventsRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabaseEvents operation returned by the service.
- See Also:
-
getRelationalDatabaseLogEvents
default GetRelationalDatabaseLogEventsResponse getRelationalDatabaseLogEvents(GetRelationalDatabaseLogEventsRequest getRelationalDatabaseLogEventsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of log events for a database in Amazon Lightsail.
- Parameters:
getRelationalDatabaseLogEventsRequest-- Returns:
- Result of the GetRelationalDatabaseLogEvents operation returned by the service.
- See Also:
-
getRelationalDatabaseLogEvents
default GetRelationalDatabaseLogEventsResponse getRelationalDatabaseLogEvents(Consumer<GetRelationalDatabaseLogEventsRequest.Builder> getRelationalDatabaseLogEventsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of log events for a database in Amazon Lightsail.
This is a convenience which creates an instance of the
GetRelationalDatabaseLogEventsRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseLogEventsRequest.builder()- Parameters:
getRelationalDatabaseLogEventsRequest- AConsumerthat will call methods onGetRelationalDatabaseLogEventsRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabaseLogEvents operation returned by the service.
- See Also:
-
getRelationalDatabaseLogStreams
default GetRelationalDatabaseLogStreamsResponse getRelationalDatabaseLogStreams(GetRelationalDatabaseLogStreamsRequest getRelationalDatabaseLogStreamsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of available log streams for a specific database in Amazon Lightsail.
- Parameters:
getRelationalDatabaseLogStreamsRequest-- Returns:
- Result of the GetRelationalDatabaseLogStreams operation returned by the service.
- See Also:
-
getRelationalDatabaseLogStreams
default GetRelationalDatabaseLogStreamsResponse getRelationalDatabaseLogStreams(Consumer<GetRelationalDatabaseLogStreamsRequest.Builder> getRelationalDatabaseLogStreamsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a list of available log streams for a specific database in Amazon Lightsail.
This is a convenience which creates an instance of the
GetRelationalDatabaseLogStreamsRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseLogStreamsRequest.builder()- Parameters:
getRelationalDatabaseLogStreamsRequest- AConsumerthat will call methods onGetRelationalDatabaseLogStreamsRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabaseLogStreams operation returned by the service.
- See Also:
-
getRelationalDatabaseMasterUserPassword
default GetRelationalDatabaseMasterUserPasswordResponse getRelationalDatabaseMasterUserPassword(GetRelationalDatabaseMasterUserPasswordRequest getRelationalDatabaseMasterUserPasswordRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the current, previous, or pending versions of the master user password for a Lightsail database.
The
GetRelationalDatabaseMasterUserPasswordoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName.- Parameters:
getRelationalDatabaseMasterUserPasswordRequest-- Returns:
- Result of the GetRelationalDatabaseMasterUserPassword operation returned by the service.
- See Also:
-
getRelationalDatabaseMasterUserPassword
default GetRelationalDatabaseMasterUserPasswordResponse getRelationalDatabaseMasterUserPassword(Consumer<GetRelationalDatabaseMasterUserPasswordRequest.Builder> getRelationalDatabaseMasterUserPasswordRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the current, previous, or pending versions of the master user password for a Lightsail database.
The
GetRelationalDatabaseMasterUserPasswordoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName.
This is a convenience which creates an instance of the
GetRelationalDatabaseMasterUserPasswordRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseMasterUserPasswordRequest.builder()- Parameters:
getRelationalDatabaseMasterUserPasswordRequest- AConsumerthat will call methods onGetRelationalDatabaseMasterUserPasswordRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabaseMasterUserPassword operation returned by the service.
- See Also:
-
getRelationalDatabaseMetricData
default GetRelationalDatabaseMetricDataResponse getRelationalDatabaseMetricData(GetRelationalDatabaseMetricDataRequest getRelationalDatabaseMetricDataRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the data points of the specified metric for a database in Amazon Lightsail.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
- Parameters:
getRelationalDatabaseMetricDataRequest-- Returns:
- Result of the GetRelationalDatabaseMetricData operation returned by the service.
- See Also:
-
getRelationalDatabaseMetricData
default GetRelationalDatabaseMetricDataResponse getRelationalDatabaseMetricData(Consumer<GetRelationalDatabaseMetricDataRequest.Builder> getRelationalDatabaseMetricDataRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns the data points of the specified metric for a database in Amazon Lightsail.
Metrics report the utilization of your resources, and the error counts generated by them. Monitor and collect metric data regularly to maintain the reliability, availability, and performance of your resources.
This is a convenience which creates an instance of the
GetRelationalDatabaseMetricDataRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseMetricDataRequest.builder()- Parameters:
getRelationalDatabaseMetricDataRequest- AConsumerthat will call methods onGetRelationalDatabaseMetricDataRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabaseMetricData operation returned by the service.
- See Also:
-
getRelationalDatabaseParameters
default GetRelationalDatabaseParametersResponse getRelationalDatabaseParameters(GetRelationalDatabaseParametersRequest getRelationalDatabaseParametersRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail.
In addition to the parameter names and values, this operation returns other information about each parameter. This information includes whether changes require a reboot, whether the parameter is modifiable, the allowed values, and the data types.
- Parameters:
getRelationalDatabaseParametersRequest-- Returns:
- Result of the GetRelationalDatabaseParameters operation returned by the service.
- See Also:
-
getRelationalDatabaseParameters
default GetRelationalDatabaseParametersResponse getRelationalDatabaseParameters(Consumer<GetRelationalDatabaseParametersRequest.Builder> getRelationalDatabaseParametersRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail.
In addition to the parameter names and values, this operation returns other information about each parameter. This information includes whether changes require a reboot, whether the parameter is modifiable, the allowed values, and the data types.
This is a convenience which creates an instance of the
GetRelationalDatabaseParametersRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseParametersRequest.builder()- Parameters:
getRelationalDatabaseParametersRequest- AConsumerthat will call methods onGetRelationalDatabaseParametersRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabaseParameters operation returned by the service.
- See Also:
-
getRelationalDatabaseSnapshot
default GetRelationalDatabaseSnapshotResponse getRelationalDatabaseSnapshot(GetRelationalDatabaseSnapshotRequest getRelationalDatabaseSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific database snapshot in Amazon Lightsail.
- Parameters:
getRelationalDatabaseSnapshotRequest-- Returns:
- Result of the GetRelationalDatabaseSnapshot operation returned by the service.
- See Also:
-
getRelationalDatabaseSnapshot
default GetRelationalDatabaseSnapshotResponse getRelationalDatabaseSnapshot(Consumer<GetRelationalDatabaseSnapshotRequest.Builder> getRelationalDatabaseSnapshotRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about a specific database snapshot in Amazon Lightsail.
This is a convenience which creates an instance of the
GetRelationalDatabaseSnapshotRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseSnapshotRequest.builder()- Parameters:
getRelationalDatabaseSnapshotRequest- AConsumerthat will call methods onGetRelationalDatabaseSnapshotRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabaseSnapshot operation returned by the service.
- See Also:
-
getRelationalDatabaseSnapshots
default GetRelationalDatabaseSnapshotsResponse getRelationalDatabaseSnapshots(GetRelationalDatabaseSnapshotsRequest getRelationalDatabaseSnapshotsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all of your database snapshots in Amazon Lightsail.
- Parameters:
getRelationalDatabaseSnapshotsRequest-- Returns:
- Result of the GetRelationalDatabaseSnapshots operation returned by the service.
- See Also:
-
getRelationalDatabaseSnapshots
default GetRelationalDatabaseSnapshotsResponse getRelationalDatabaseSnapshots(Consumer<GetRelationalDatabaseSnapshotsRequest.Builder> getRelationalDatabaseSnapshotsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all of your database snapshots in Amazon Lightsail.
This is a convenience which creates an instance of the
GetRelationalDatabaseSnapshotsRequest.Builderavoiding the need to create one manually viaGetRelationalDatabaseSnapshotsRequest.builder()- Parameters:
getRelationalDatabaseSnapshotsRequest- AConsumerthat will call methods onGetRelationalDatabaseSnapshotsRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabaseSnapshots operation returned by the service.
- See Also:
-
getRelationalDatabaseSnapshots
default GetRelationalDatabaseSnapshotsResponse getRelationalDatabaseSnapshots() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns information about all of your database snapshots in Amazon Lightsail.
- Returns:
- Result of the GetRelationalDatabaseSnapshots operation returned by the service.
- See Also:
-
getRelationalDatabases
default GetRelationalDatabasesResponse getRelationalDatabases(GetRelationalDatabasesRequest getRelationalDatabasesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all of your databases in Amazon Lightsail.
- Parameters:
getRelationalDatabasesRequest-- Returns:
- Result of the GetRelationalDatabases operation returned by the service.
- See Also:
-
getRelationalDatabases
default GetRelationalDatabasesResponse getRelationalDatabases(Consumer<GetRelationalDatabasesRequest.Builder> getRelationalDatabasesRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all of your databases in Amazon Lightsail.
This is a convenience which creates an instance of the
GetRelationalDatabasesRequest.Builderavoiding the need to create one manually viaGetRelationalDatabasesRequest.builder()- Parameters:
getRelationalDatabasesRequest- AConsumerthat will call methods onGetRelationalDatabasesRequest.Builderto create a request.- Returns:
- Result of the GetRelationalDatabases operation returned by the service.
- See Also:
-
getRelationalDatabases
default GetRelationalDatabasesResponse getRelationalDatabases() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns information about all of your databases in Amazon Lightsail.
- Returns:
- Result of the GetRelationalDatabases operation returned by the service.
- See Also:
-
getSetupHistory
default GetSetupHistoryResponse getSetupHistory(GetSetupHistoryRequest getSetupHistoryRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns detailed information for five of the most recent
SetupInstanceHttpsrequests that were ran on the target instance.- Parameters:
getSetupHistoryRequest-- Returns:
- Result of the GetSetupHistory operation returned by the service.
- See Also:
-
getSetupHistory
default GetSetupHistoryResponse getSetupHistory(Consumer<GetSetupHistoryRequest.Builder> getSetupHistoryRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns detailed information for five of the most recent
SetupInstanceHttpsrequests that were ran on the target instance.
This is a convenience which creates an instance of the
GetSetupHistoryRequest.Builderavoiding the need to create one manually viaGetSetupHistoryRequest.builder()- Parameters:
getSetupHistoryRequest- AConsumerthat will call methods onGetSetupHistoryRequest.Builderto create a request.- Returns:
- Result of the GetSetupHistory operation returned by the service.
- See Also:
-
getStaticIp
default GetStaticIpResponse getStaticIp(GetStaticIpRequest getStaticIpRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about an Amazon Lightsail static IP.
- Parameters:
getStaticIpRequest-- Returns:
- Result of the GetStaticIp operation returned by the service.
- See Also:
-
getStaticIp
default GetStaticIpResponse getStaticIp(Consumer<GetStaticIpRequest.Builder> getStaticIpRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about an Amazon Lightsail static IP.
This is a convenience which creates an instance of the
GetStaticIpRequest.Builderavoiding the need to create one manually viaGetStaticIpRequest.builder()- Parameters:
getStaticIpRequest- AConsumerthat will call methods onGetStaticIpRequest.Builderto create a request.- Returns:
- Result of the GetStaticIp operation returned by the service.
- See Also:
-
getStaticIps
default GetStaticIpsResponse getStaticIps(GetStaticIpsRequest getStaticIpsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all static IPs in the user's account.
- Parameters:
getStaticIpsRequest-- Returns:
- Result of the GetStaticIps operation returned by the service.
- See Also:
-
getStaticIps
default GetStaticIpsResponse getStaticIps(Consumer<GetStaticIpsRequest.Builder> getStaticIpsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns information about all static IPs in the user's account.
This is a convenience which creates an instance of the
GetStaticIpsRequest.Builderavoiding the need to create one manually viaGetStaticIpsRequest.builder()- Parameters:
getStaticIpsRequest- AConsumerthat will call methods onGetStaticIpsRequest.Builderto create a request.- Returns:
- Result of the GetStaticIps operation returned by the service.
- See Also:
-
getStaticIps
default GetStaticIpsResponse getStaticIps() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns information about all static IPs in the user's account.
- Returns:
- Result of the GetStaticIps operation returned by the service.
- See Also:
-
importKeyPair
default ImportKeyPairResponse importKeyPair(ImportKeyPairRequest importKeyPairRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Imports a public SSH key from a specific key pair.
- Parameters:
importKeyPairRequest-- Returns:
- Result of the ImportKeyPair operation returned by the service.
- See Also:
-
importKeyPair
default ImportKeyPairResponse importKeyPair(Consumer<ImportKeyPairRequest.Builder> importKeyPairRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Imports a public SSH key from a specific key pair.
This is a convenience which creates an instance of the
ImportKeyPairRequest.Builderavoiding the need to create one manually viaImportKeyPairRequest.builder()- Parameters:
importKeyPairRequest- AConsumerthat will call methods onImportKeyPairRequest.Builderto create a request.- Returns:
- Result of the ImportKeyPair operation returned by the service.
- See Also:
-
isVpcPeered
default IsVpcPeeredResponse isVpcPeered(IsVpcPeeredRequest isVpcPeeredRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a Boolean value indicating whether your Lightsail VPC is peered.
- Parameters:
isVpcPeeredRequest-- Returns:
- Result of the IsVpcPeered operation returned by the service.
- See Also:
-
isVpcPeered
default IsVpcPeeredResponse isVpcPeered(Consumer<IsVpcPeeredRequest.Builder> isVpcPeeredRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Returns a Boolean value indicating whether your Lightsail VPC is peered.
This is a convenience which creates an instance of the
IsVpcPeeredRequest.Builderavoiding the need to create one manually viaIsVpcPeeredRequest.builder()- Parameters:
isVpcPeeredRequest- AConsumerthat will call methods onIsVpcPeeredRequest.Builderto create a request.- Returns:
- Result of the IsVpcPeered operation returned by the service.
- See Also:
-
isVpcPeered
default IsVpcPeeredResponse isVpcPeered() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionReturns a Boolean value indicating whether your Lightsail VPC is peered.
- Returns:
- Result of the IsVpcPeered operation returned by the service.
- See Also:
-
openInstancePublicPorts
default OpenInstancePublicPortsResponse openInstancePublicPorts(OpenInstancePublicPortsRequest openInstancePublicPortsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.
The
OpenInstancePublicPortsaction supports tag-based access control via resource tags applied to the resource identified byinstanceName. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
openInstancePublicPortsRequest-- Returns:
- Result of the OpenInstancePublicPorts operation returned by the service.
- See Also:
-
openInstancePublicPorts
default OpenInstancePublicPortsResponse openInstancePublicPorts(Consumer<OpenInstancePublicPortsRequest.Builder> openInstancePublicPortsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.
The
OpenInstancePublicPortsaction supports tag-based access control via resource tags applied to the resource identified byinstanceName. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
OpenInstancePublicPortsRequest.Builderavoiding the need to create one manually viaOpenInstancePublicPortsRequest.builder()- Parameters:
openInstancePublicPortsRequest- AConsumerthat will call methods onOpenInstancePublicPortsRequest.Builderto create a request.- Returns:
- Result of the OpenInstancePublicPorts operation returned by the service.
- See Also:
-
peerVpc
default PeerVpcResponse peerVpc(PeerVpcRequest peerVpcRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Peers the Lightsail VPC with the user's default VPC.
- Parameters:
peerVpcRequest-- Returns:
- Result of the PeerVpc operation returned by the service.
- See Also:
-
peerVpc
default PeerVpcResponse peerVpc(Consumer<PeerVpcRequest.Builder> peerVpcRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Peers the Lightsail VPC with the user's default VPC.
This is a convenience which creates an instance of the
PeerVpcRequest.Builderavoiding the need to create one manually viaPeerVpcRequest.builder()- Parameters:
peerVpcRequest- AConsumerthat will call methods onPeerVpcRequest.Builderto create a request.- Returns:
- Result of the PeerVpc operation returned by the service.
- See Also:
-
peerVpc
default PeerVpcResponse peerVpc() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionPeers the Lightsail VPC with the user's default VPC.
- Returns:
- Result of the PeerVpc operation returned by the service.
- See Also:
-
putAlarm
default PutAlarmResponse putAlarm(PutAlarmRequest putAlarmRequest) throws ServiceException, InvalidInputException, OperationFailureException, AccessDeniedException, UnauthenticatedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException Creates or updates an alarm, and associates it with the specified metric.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
When this action creates an alarm, the alarm state is immediately set to
INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed.When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. The alarm is then evaluated with the updated configuration.
- Parameters:
putAlarmRequest-- Returns:
- Result of the PutAlarm operation returned by the service.
- See Also:
-
putAlarm
default PutAlarmResponse putAlarm(Consumer<PutAlarmRequest.Builder> putAlarmRequest) throws ServiceException, InvalidInputException, OperationFailureException, AccessDeniedException, UnauthenticatedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException Creates or updates an alarm, and associates it with the specified metric.
An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
When this action creates an alarm, the alarm state is immediately set to
INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed.When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. The alarm is then evaluated with the updated configuration.
This is a convenience which creates an instance of the
PutAlarmRequest.Builderavoiding the need to create one manually viaPutAlarmRequest.builder()- Parameters:
putAlarmRequest- AConsumerthat will call methods onPutAlarmRequest.Builderto create a request.- Returns:
- Result of the PutAlarm operation returned by the service.
- See Also:
-
putInstancePublicPorts
default PutInstancePublicPortsResponse putInstancePublicPorts(PutInstancePublicPortsRequest putInstancePublicPortsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol. This action also closes all currently open ports that are not included in the request. Include all of the ports and the protocols you want to open in your
PutInstancePublicPortsrequest. Or use theOpenInstancePublicPortsaction to open ports without closing currently open ports.The
PutInstancePublicPortsaction supports tag-based access control via resource tags applied to the resource identified byinstanceName. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
putInstancePublicPortsRequest-- Returns:
- Result of the PutInstancePublicPorts operation returned by the service.
- See Also:
-
putInstancePublicPorts
default PutInstancePublicPortsResponse putInstancePublicPorts(Consumer<PutInstancePublicPortsRequest.Builder> putInstancePublicPortsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol. This action also closes all currently open ports that are not included in the request. Include all of the ports and the protocols you want to open in your
PutInstancePublicPortsrequest. Or use theOpenInstancePublicPortsaction to open ports without closing currently open ports.The
PutInstancePublicPortsaction supports tag-based access control via resource tags applied to the resource identified byinstanceName. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
PutInstancePublicPortsRequest.Builderavoiding the need to create one manually viaPutInstancePublicPortsRequest.builder()- Parameters:
putInstancePublicPortsRequest- AConsumerthat will call methods onPutInstancePublicPortsRequest.Builderto create a request.- Returns:
- Result of the PutInstancePublicPorts operation returned by the service.
- See Also:
-
rebootInstance
default RebootInstanceResponse rebootInstance(RebootInstanceRequest rebootInstanceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Restarts a specific instance.
The
reboot instanceoperation supports tag-based access control via resource tags applied to the resource identified byinstance name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
rebootInstanceRequest-- Returns:
- Result of the RebootInstance operation returned by the service.
- See Also:
-
rebootInstance
default RebootInstanceResponse rebootInstance(Consumer<RebootInstanceRequest.Builder> rebootInstanceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Restarts a specific instance.
The
reboot instanceoperation supports tag-based access control via resource tags applied to the resource identified byinstance name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
RebootInstanceRequest.Builderavoiding the need to create one manually viaRebootInstanceRequest.builder()- Parameters:
rebootInstanceRequest- AConsumerthat will call methods onRebootInstanceRequest.Builderto create a request.- Returns:
- Result of the RebootInstance operation returned by the service.
- See Also:
-
rebootRelationalDatabase
default RebootRelationalDatabaseResponse rebootRelationalDatabase(RebootRelationalDatabaseRequest rebootRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Restarts a specific database in Amazon Lightsail.
The
reboot relational databaseoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
rebootRelationalDatabaseRequest-- Returns:
- Result of the RebootRelationalDatabase operation returned by the service.
- See Also:
-
rebootRelationalDatabase
default RebootRelationalDatabaseResponse rebootRelationalDatabase(Consumer<RebootRelationalDatabaseRequest.Builder> rebootRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Restarts a specific database in Amazon Lightsail.
The
reboot relational databaseoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
RebootRelationalDatabaseRequest.Builderavoiding the need to create one manually viaRebootRelationalDatabaseRequest.builder()- Parameters:
rebootRelationalDatabaseRequest- AConsumerthat will call methods onRebootRelationalDatabaseRequest.Builderto create a request.- Returns:
- Result of the RebootRelationalDatabase operation returned by the service.
- See Also:
-
registerContainerImage
default RegisterContainerImageResponse registerContainerImage(RegisterContainerImageRequest registerContainerImageRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Registers a container image to your Amazon Lightsail container service.
This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.
- Parameters:
registerContainerImageRequest-- Returns:
- Result of the RegisterContainerImage operation returned by the service.
- See Also:
-
registerContainerImage
default RegisterContainerImageResponse registerContainerImage(Consumer<RegisterContainerImageRequest.Builder> registerContainerImageRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Registers a container image to your Amazon Lightsail container service.
This action is not required if you install and use the Lightsail Control (lightsailctl) plugin to push container images to your Lightsail container service. For more information, see Pushing and managing container images on your Amazon Lightsail container services in the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
RegisterContainerImageRequest.Builderavoiding the need to create one manually viaRegisterContainerImageRequest.builder()- Parameters:
registerContainerImageRequest- AConsumerthat will call methods onRegisterContainerImageRequest.Builderto create a request.- Returns:
- Result of the RegisterContainerImage operation returned by the service.
- See Also:
-
releaseStaticIp
default ReleaseStaticIpResponse releaseStaticIp(ReleaseStaticIpRequest releaseStaticIpRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a specific static IP from your account.
- Parameters:
releaseStaticIpRequest-- Returns:
- Result of the ReleaseStaticIp operation returned by the service.
- See Also:
-
releaseStaticIp
default ReleaseStaticIpResponse releaseStaticIp(Consumer<ReleaseStaticIpRequest.Builder> releaseStaticIpRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes a specific static IP from your account.
This is a convenience which creates an instance of the
ReleaseStaticIpRequest.Builderavoiding the need to create one manually viaReleaseStaticIpRequest.builder()- Parameters:
releaseStaticIpRequest- AConsumerthat will call methods onReleaseStaticIpRequest.Builderto create a request.- Returns:
- Result of the ReleaseStaticIp operation returned by the service.
- See Also:
-
resetDistributionCache
default ResetDistributionCacheResponse resetDistributionCache(ResetDistributionCacheRequest resetDistributionCacheRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) distribution.
After resetting the cache, the next time a content request is made, your distribution pulls, serves, and caches it from the origin.
- Parameters:
resetDistributionCacheRequest-- Returns:
- Result of the ResetDistributionCache operation returned by the service.
- See Also:
-
resetDistributionCache
default ResetDistributionCacheResponse resetDistributionCache(Consumer<ResetDistributionCacheRequest.Builder> resetDistributionCacheRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) distribution.
After resetting the cache, the next time a content request is made, your distribution pulls, serves, and caches it from the origin.
This is a convenience which creates an instance of the
ResetDistributionCacheRequest.Builderavoiding the need to create one manually viaResetDistributionCacheRequest.builder()- Parameters:
resetDistributionCacheRequest- AConsumerthat will call methods onResetDistributionCacheRequest.Builderto create a request.- Returns:
- Result of the ResetDistributionCache operation returned by the service.
- See Also:
-
sendContactMethodVerification
default SendContactMethodVerificationResponse sendContactMethodVerification(SendContactMethodVerificationRequest sendContactMethodVerificationRequest) throws ServiceException, InvalidInputException, OperationFailureException, UnauthenticatedException, AccessDeniedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException Sends a verification request to an email contact method to ensure it's owned by the requester. SMS contact methods don't need to be verified.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each 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.
A verification request is sent to the contact method when you initially create it. Use this action to send another verification request if a previous verification request was deleted, or has expired.
Notifications are not sent to an email contact method until after it is verified, and confirmed as valid.
- Parameters:
sendContactMethodVerificationRequest-- Returns:
- Result of the SendContactMethodVerification operation returned by the service.
- See Also:
-
sendContactMethodVerification
default SendContactMethodVerificationResponse sendContactMethodVerification(Consumer<SendContactMethodVerificationRequest.Builder> sendContactMethodVerificationRequest) throws ServiceException, InvalidInputException, OperationFailureException, UnauthenticatedException, AccessDeniedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException Sends a verification request to an email contact method to ensure it's owned by the requester. SMS contact methods don't need to be verified.
A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each 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.
A verification request is sent to the contact method when you initially create it. Use this action to send another verification request if a previous verification request was deleted, or has expired.
Notifications are not sent to an email contact method until after it is verified, and confirmed as valid.
This is a convenience which creates an instance of the
SendContactMethodVerificationRequest.Builderavoiding the need to create one manually viaSendContactMethodVerificationRequest.builder()- Parameters:
sendContactMethodVerificationRequest- AConsumerthat will call methods onSendContactMethodVerificationRequest.Builderto create a request.- Returns:
- Result of the SendContactMethodVerification operation returned by the service.
- See Also:
-
setIpAddressType
default SetIpAddressTypeResponse setIpAddressType(SetIpAddressTypeRequest setIpAddressTypeRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Sets the IP address type for an Amazon Lightsail resource.
Use this action to enable dual-stack for a resource, which enables IPv4 and IPv6 for the specified resource. Alternately, you can use this action to disable dual-stack, and enable IPv4 only.
- Parameters:
setIpAddressTypeRequest-- Returns:
- Result of the SetIpAddressType operation returned by the service.
- See Also:
-
setIpAddressType
default SetIpAddressTypeResponse setIpAddressType(Consumer<SetIpAddressTypeRequest.Builder> setIpAddressTypeRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Sets the IP address type for an Amazon Lightsail resource.
Use this action to enable dual-stack for a resource, which enables IPv4 and IPv6 for the specified resource. Alternately, you can use this action to disable dual-stack, and enable IPv4 only.
This is a convenience which creates an instance of the
SetIpAddressTypeRequest.Builderavoiding the need to create one manually viaSetIpAddressTypeRequest.builder()- Parameters:
setIpAddressTypeRequest- AConsumerthat will call methods onSetIpAddressTypeRequest.Builderto create a request.- Returns:
- Result of the SetIpAddressType operation returned by the service.
- See Also:
-
setResourceAccessForBucket
default SetResourceAccessForBucketResponse setResourceAccessForBucket(SetResourceAccessForBucketRequest setResourceAccessForBucketRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Sets the Amazon Lightsail resources that can access the specified Lightsail bucket.
Lightsail buckets currently support setting access for Lightsail instances in the same Amazon Web Services Region.
- Parameters:
setResourceAccessForBucketRequest-- Returns:
- Result of the SetResourceAccessForBucket operation returned by the service.
- See Also:
-
setResourceAccessForBucket
default SetResourceAccessForBucketResponse setResourceAccessForBucket(Consumer<SetResourceAccessForBucketRequest.Builder> setResourceAccessForBucketRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Sets the Amazon Lightsail resources that can access the specified Lightsail bucket.
Lightsail buckets currently support setting access for Lightsail instances in the same Amazon Web Services Region.
This is a convenience which creates an instance of the
SetResourceAccessForBucketRequest.Builderavoiding the need to create one manually viaSetResourceAccessForBucketRequest.builder()- Parameters:
setResourceAccessForBucketRequest- AConsumerthat will call methods onSetResourceAccessForBucketRequest.Builderto create a request.- Returns:
- Result of the SetResourceAccessForBucket operation returned by the service.
- See Also:
-
setupInstanceHttps
default SetupInstanceHttpsResponse setupInstanceHttps(SetupInstanceHttpsRequest setupInstanceHttpsRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates an SSL/TLS certificate that secures traffic for your website. After the certificate is created, it is installed on the specified Lightsail instance.
If you provide more than one domain name in the request, at least one name must be less than or equal to 63 characters in length.
- Parameters:
setupInstanceHttpsRequest-- Returns:
- Result of the SetupInstanceHttps operation returned by the service.
- See Also:
-
setupInstanceHttps
default SetupInstanceHttpsResponse setupInstanceHttps(Consumer<SetupInstanceHttpsRequest.Builder> setupInstanceHttpsRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Creates an SSL/TLS certificate that secures traffic for your website. After the certificate is created, it is installed on the specified Lightsail instance.
If you provide more than one domain name in the request, at least one name must be less than or equal to 63 characters in length.
This is a convenience which creates an instance of the
SetupInstanceHttpsRequest.Builderavoiding the need to create one manually viaSetupInstanceHttpsRequest.builder()- Parameters:
setupInstanceHttpsRequest- AConsumerthat will call methods onSetupInstanceHttpsRequest.Builderto create a request.- Returns:
- Result of the SetupInstanceHttps operation returned by the service.
- See Also:
-
startGUISession
default StartGuiSessionResponse startGUISession(StartGuiSessionRequest startGuiSessionRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Initiates a graphical user interface (GUI) session that’s used to access a virtual computer’s operating system and application. The session will be active for 1 hour. Use this action to resume the session after it expires.
- Parameters:
startGuiSessionRequest-- Returns:
- Result of the StartGUISession operation returned by the service.
- See Also:
-
startGUISession
default StartGuiSessionResponse startGUISession(Consumer<StartGuiSessionRequest.Builder> startGuiSessionRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Initiates a graphical user interface (GUI) session that’s used to access a virtual computer’s operating system and application. The session will be active for 1 hour. Use this action to resume the session after it expires.
This is a convenience which creates an instance of the
StartGuiSessionRequest.Builderavoiding the need to create one manually viaStartGuiSessionRequest.builder()- Parameters:
startGuiSessionRequest- AConsumerthat will call methods onStartGuiSessionRequest.Builderto create a request.- Returns:
- Result of the StartGUISession operation returned by the service.
- See Also:
-
startInstance
default StartInstanceResponse startInstance(StartInstanceRequest startInstanceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the
reboot instanceoperation.When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.
The
start instanceoperation supports tag-based access control via resource tags applied to the resource identified byinstance name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
startInstanceRequest-- Returns:
- Result of the StartInstance operation returned by the service.
- See Also:
-
startInstance
default StartInstanceResponse startInstance(Consumer<StartInstanceRequest.Builder> startInstanceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the
reboot instanceoperation.When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.
The
start instanceoperation supports tag-based access control via resource tags applied to the resource identified byinstance name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
StartInstanceRequest.Builderavoiding the need to create one manually viaStartInstanceRequest.builder()- Parameters:
startInstanceRequest- AConsumerthat will call methods onStartInstanceRequest.Builderto create a request.- Returns:
- Result of the StartInstance operation returned by the service.
- See Also:
-
startRelationalDatabase
default StartRelationalDatabaseResponse startRelationalDatabase(StartRelationalDatabaseRequest startRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Starts a specific database from a stopped state in Amazon Lightsail. To restart a database, use the
reboot relational databaseoperation.The
start relational databaseoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
startRelationalDatabaseRequest-- Returns:
- Result of the StartRelationalDatabase operation returned by the service.
- See Also:
-
startRelationalDatabase
default StartRelationalDatabaseResponse startRelationalDatabase(Consumer<StartRelationalDatabaseRequest.Builder> startRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Starts a specific database from a stopped state in Amazon Lightsail. To restart a database, use the
reboot relational databaseoperation.The
start relational databaseoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
StartRelationalDatabaseRequest.Builderavoiding the need to create one manually viaStartRelationalDatabaseRequest.builder()- Parameters:
startRelationalDatabaseRequest- AConsumerthat will call methods onStartRelationalDatabaseRequest.Builderto create a request.- Returns:
- Result of the StartRelationalDatabase operation returned by the service.
- See Also:
-
stopGUISession
default StopGuiSessionResponse stopGUISession(StopGuiSessionRequest stopGuiSessionRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Terminates a web-based NICE DCV session that’s used to access a virtual computer’s operating system or application. The session will close and any unsaved data will be lost.
- Parameters:
stopGuiSessionRequest-- Returns:
- Result of the StopGUISession operation returned by the service.
- See Also:
-
stopGUISession
default StopGuiSessionResponse stopGUISession(Consumer<StopGuiSessionRequest.Builder> stopGuiSessionRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Terminates a web-based NICE DCV session that’s used to access a virtual computer’s operating system or application. The session will close and any unsaved data will be lost.
This is a convenience which creates an instance of the
StopGuiSessionRequest.Builderavoiding the need to create one manually viaStopGuiSessionRequest.builder()- Parameters:
stopGuiSessionRequest- AConsumerthat will call methods onStopGuiSessionRequest.Builderto create a request.- Returns:
- Result of the StopGUISession operation returned by the service.
- See Also:
-
stopInstance
default StopInstanceResponse stopInstance(StopInstanceRequest stopInstanceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Stops a specific Amazon Lightsail instance that is currently running.
When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.
The
stop instanceoperation supports tag-based access control via resource tags applied to the resource identified byinstance name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
stopInstanceRequest-- Returns:
- Result of the StopInstance operation returned by the service.
- See Also:
-
stopInstance
default StopInstanceResponse stopInstance(Consumer<StopInstanceRequest.Builder> stopInstanceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Stops a specific Amazon Lightsail instance that is currently running.
When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Amazon Lightsail Developer Guide.
The
stop instanceoperation supports tag-based access control via resource tags applied to the resource identified byinstance name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
StopInstanceRequest.Builderavoiding the need to create one manually viaStopInstanceRequest.builder()- Parameters:
stopInstanceRequest- AConsumerthat will call methods onStopInstanceRequest.Builderto create a request.- Returns:
- Result of the StopInstance operation returned by the service.
- See Also:
-
stopRelationalDatabase
default StopRelationalDatabaseResponse stopRelationalDatabase(StopRelationalDatabaseRequest stopRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Stops a specific database that is currently running in Amazon Lightsail.
The
stop relational databaseoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
stopRelationalDatabaseRequest-- Returns:
- Result of the StopRelationalDatabase operation returned by the service.
- See Also:
-
stopRelationalDatabase
default StopRelationalDatabaseResponse stopRelationalDatabase(Consumer<StopRelationalDatabaseRequest.Builder> stopRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Stops a specific database that is currently running in Amazon Lightsail.
The
stop relational databaseoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
StopRelationalDatabaseRequest.Builderavoiding the need to create one manually viaStopRelationalDatabaseRequest.builder()- Parameters:
stopRelationalDatabaseRequest- AConsumerthat will call methods onStopRelationalDatabaseRequest.Builderto create a request.- Returns:
- Result of the StopRelationalDatabase operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Amazon Lightsail Developer Guide.
The
tag resourceoperation supports tag-based access control via request tags and resource tags applied to the resource identified byresource name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Amazon Lightsail Developer Guide.
The
tag resourceoperation supports tag-based access control via request tags and resource tags applied to the resource identified byresource name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
testAlarm
default TestAlarmResponse testAlarm(TestAlarmRequest testAlarmRequest) throws ServiceException, InvalidInputException, OperationFailureException, UnauthenticatedException, AccessDeniedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification trigger is configured for the specified alarm, the test also sends a notification to the notification protocol (
Emailand/orSMS) configured for the alarm.An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
- Parameters:
testAlarmRequest-- Returns:
- Result of the TestAlarm operation returned by the service.
- See Also:
-
testAlarm
default TestAlarmResponse testAlarm(Consumer<TestAlarmRequest.Builder> testAlarmRequest) throws ServiceException, InvalidInputException, OperationFailureException, UnauthenticatedException, AccessDeniedException, NotFoundException, AwsServiceException, SdkClientException, LightsailException Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification trigger is configured for the specified alarm, the test also sends a notification to the notification protocol (
Emailand/orSMS) configured for the alarm.An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.
This is a convenience which creates an instance of the
TestAlarmRequest.Builderavoiding the need to create one manually viaTestAlarmRequest.builder()- Parameters:
testAlarmRequest- AConsumerthat will call methods onTestAlarmRequest.Builderto create a request.- Returns:
- Result of the TestAlarm operation returned by the service.
- See Also:
-
unpeerVpc
default UnpeerVpcResponse unpeerVpc(UnpeerVpcRequest unpeerVpcRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Unpeers the Lightsail VPC from the user's default VPC.
- Parameters:
unpeerVpcRequest-- Returns:
- Result of the UnpeerVpc operation returned by the service.
- See Also:
-
unpeerVpc
default UnpeerVpcResponse unpeerVpc(Consumer<UnpeerVpcRequest.Builder> unpeerVpcRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Unpeers the Lightsail VPC from the user's default VPC.
This is a convenience which creates an instance of the
UnpeerVpcRequest.Builderavoiding the need to create one manually viaUnpeerVpcRequest.builder()- Parameters:
unpeerVpcRequest- AConsumerthat will call methods onUnpeerVpcRequest.Builderto create a request.- Returns:
- Result of the UnpeerVpc operation returned by the service.
- See Also:
-
unpeerVpc
default UnpeerVpcResponse unpeerVpc() throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailExceptionUnpeers the Lightsail VPC from the user's default VPC.
- Returns:
- Result of the UnpeerVpc operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.
The
untag resourceoperation supports tag-based access control via request tags and resource tags applied to the resource identified byresource name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.
The
untag resourceoperation supports tag-based access control via request tags and resource tags applied to the resource identified byresource name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateBucket
default UpdateBucketResponse updateBucket(UpdateBucketRequest updateBucketRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates an existing Amazon Lightsail bucket.
Use this action to update the configuration of an existing bucket, such as versioning, public accessibility, and the Amazon Web Services accounts that can access the bucket.
- Parameters:
updateBucketRequest-- Returns:
- Result of the UpdateBucket operation returned by the service.
- See Also:
-
updateBucket
default UpdateBucketResponse updateBucket(Consumer<UpdateBucketRequest.Builder> updateBucketRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates an existing Amazon Lightsail bucket.
Use this action to update the configuration of an existing bucket, such as versioning, public accessibility, and the Amazon Web Services accounts that can access the bucket.
This is a convenience which creates an instance of the
UpdateBucketRequest.Builderavoiding the need to create one manually viaUpdateBucketRequest.builder()- Parameters:
updateBucketRequest- AConsumerthat will call methods onUpdateBucketRequest.Builderto create a request.- Returns:
- Result of the UpdateBucket operation returned by the service.
- See Also:
-
updateBucketBundle
default UpdateBucketBundleResponse updateBucketBundle(UpdateBucketBundleRequest updateBucketBundleRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket.
A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. You can update a bucket's bundle only one time within a monthly Amazon Web Services billing cycle. To determine if you can update a bucket's bundle, use the GetBuckets action. The
ableToUpdateBundleparameter in the response will indicate whether you can currently update a bucket's bundle.Update a bucket's bundle if it's consistently going over its storage space or data transfer quota, or if a bucket's usage is consistently in the lower range of its storage space or data transfer quota. Due to the unpredictable usage fluctuations that a bucket might experience, we strongly recommend that you update a bucket's bundle only as a long-term strategy, instead of as a short-term, monthly cost-cutting measure. Choose a bucket bundle that will provide the bucket with ample storage space and data transfer for a long time to come.
- Parameters:
updateBucketBundleRequest-- Returns:
- Result of the UpdateBucketBundle operation returned by the service.
- See Also:
-
updateBucketBundle
default UpdateBucketBundleResponse updateBucketBundle(Consumer<UpdateBucketBundleRequest.Builder> updateBucketBundleRequest) throws AccessDeniedException, InvalidInputException, NotFoundException, ServiceException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates the bundle, or storage plan, of an existing Amazon Lightsail bucket.
A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. You can update a bucket's bundle only one time within a monthly Amazon Web Services billing cycle. To determine if you can update a bucket's bundle, use the GetBuckets action. The
ableToUpdateBundleparameter in the response will indicate whether you can currently update a bucket's bundle.Update a bucket's bundle if it's consistently going over its storage space or data transfer quota, or if a bucket's usage is consistently in the lower range of its storage space or data transfer quota. Due to the unpredictable usage fluctuations that a bucket might experience, we strongly recommend that you update a bucket's bundle only as a long-term strategy, instead of as a short-term, monthly cost-cutting measure. Choose a bucket bundle that will provide the bucket with ample storage space and data transfer for a long time to come.
This is a convenience which creates an instance of the
UpdateBucketBundleRequest.Builderavoiding the need to create one manually viaUpdateBucketBundleRequest.builder()- Parameters:
updateBucketBundleRequest- AConsumerthat will call methods onUpdateBucketBundleRequest.Builderto create a request.- Returns:
- Result of the UpdateBucketBundle operation returned by the service.
- See Also:
-
updateContainerService
default UpdateContainerServiceResponse updateContainerService(UpdateContainerServiceRequest updateContainerServiceRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.
- Parameters:
updateContainerServiceRequest-- Returns:
- Result of the UpdateContainerService operation returned by the service.
- See Also:
-
updateContainerService
default UpdateContainerServiceResponse updateContainerService(Consumer<UpdateContainerServiceRequest.Builder> updateContainerServiceRequest) throws ServiceException, InvalidInputException, NotFoundException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.
This is a convenience which creates an instance of the
UpdateContainerServiceRequest.Builderavoiding the need to create one manually viaUpdateContainerServiceRequest.builder()- Parameters:
updateContainerServiceRequest- AConsumerthat will call methods onUpdateContainerServiceRequest.Builderto create a request.- Returns:
- Result of the UpdateContainerService operation returned by the service.
- See Also:
-
updateDistribution
default UpdateDistributionResponse updateDistribution(UpdateDistributionRequest updateDistributionRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates an existing Amazon Lightsail content delivery network (CDN) distribution.
Use this action to update the configuration of your existing distribution.
- Parameters:
updateDistributionRequest-- Returns:
- Result of the UpdateDistribution operation returned by the service.
- See Also:
-
updateDistribution
default UpdateDistributionResponse updateDistribution(Consumer<UpdateDistributionRequest.Builder> updateDistributionRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates an existing Amazon Lightsail content delivery network (CDN) distribution.
Use this action to update the configuration of your existing distribution.
This is a convenience which creates an instance of the
UpdateDistributionRequest.Builderavoiding the need to create one manually viaUpdateDistributionRequest.builder()- Parameters:
updateDistributionRequest- AConsumerthat will call methods onUpdateDistributionRequest.Builderto create a request.- Returns:
- Result of the UpdateDistribution operation returned by the service.
- See Also:
-
updateDistributionBundle
default UpdateDistributionBundleResponse updateDistributionBundle(UpdateDistributionBundleRequest updateDistributionBundleRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.
A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.
Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee.
You can update your distribution's bundle only one time within your monthly Amazon Web Services billing cycle. To determine if you can update your distribution's bundle, use the
GetDistributionsaction. TheableToUpdateBundleparameter in the result will indicate whether you can currently update your distribution's bundle.- Parameters:
updateDistributionBundleRequest-- Returns:
- Result of the UpdateDistributionBundle operation returned by the service.
- See Also:
-
updateDistributionBundle
default UpdateDistributionBundleResponse updateDistributionBundle(Consumer<UpdateDistributionBundleRequest.Builder> updateDistributionBundleRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates the bundle of your Amazon Lightsail content delivery network (CDN) distribution.
A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.
Update your distribution's bundle if your distribution is going over its monthly network transfer quota and is incurring an overage fee.
You can update your distribution's bundle only one time within your monthly Amazon Web Services billing cycle. To determine if you can update your distribution's bundle, use the
GetDistributionsaction. TheableToUpdateBundleparameter in the result will indicate whether you can currently update your distribution's bundle.
This is a convenience which creates an instance of the
UpdateDistributionBundleRequest.Builderavoiding the need to create one manually viaUpdateDistributionBundleRequest.builder()- Parameters:
updateDistributionBundleRequest- AConsumerthat will call methods onUpdateDistributionBundleRequest.Builderto create a request.- Returns:
- Result of the UpdateDistributionBundle operation returned by the service.
- See Also:
-
updateDomainEntry
default UpdateDomainEntryResponse updateDomainEntry(UpdateDomainEntryRequest updateDomainEntryRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates a domain recordset after it is created.
The
update domain entryoperation supports tag-based access control via resource tags applied to the resource identified bydomain name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
updateDomainEntryRequest-- Returns:
- Result of the UpdateDomainEntry operation returned by the service.
- See Also:
-
updateDomainEntry
default UpdateDomainEntryResponse updateDomainEntry(Consumer<UpdateDomainEntryRequest.Builder> updateDomainEntryRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates a domain recordset after it is created.
The
update domain entryoperation supports tag-based access control via resource tags applied to the resource identified bydomain name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
UpdateDomainEntryRequest.Builderavoiding the need to create one manually viaUpdateDomainEntryRequest.builder()- Parameters:
updateDomainEntryRequest- AConsumerthat will call methods onUpdateDomainEntryRequest.Builderto create a request.- Returns:
- Result of the UpdateDomainEntry operation returned by the service.
- See Also:
-
updateInstanceMetadataOptions
default UpdateInstanceMetadataOptionsResponse updateInstanceMetadataOptions(UpdateInstanceMetadataOptionsRequest updateInstanceMetadataOptionsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance. When you modify the parameters on a running instance, the
GetInstanceorGetInstancesAPI operation initially responds with a state ofpending. After the parameter modifications are successfully applied, the state changes toappliedin subsequentGetInstanceorGetInstancesAPI calls. For more information, see Use IMDSv2 with an Amazon Lightsail instance in the Amazon Lightsail Developer Guide.- Parameters:
updateInstanceMetadataOptionsRequest-- Returns:
- Result of the UpdateInstanceMetadataOptions operation returned by the service.
- See Also:
-
updateInstanceMetadataOptions
default UpdateInstanceMetadataOptionsResponse updateInstanceMetadataOptions(Consumer<UpdateInstanceMetadataOptionsRequest.Builder> updateInstanceMetadataOptionsRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance. When you modify the parameters on a running instance, the
GetInstanceorGetInstancesAPI operation initially responds with a state ofpending. After the parameter modifications are successfully applied, the state changes toappliedin subsequentGetInstanceorGetInstancesAPI calls. For more information, see Use IMDSv2 with an Amazon Lightsail instance in the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
UpdateInstanceMetadataOptionsRequest.Builderavoiding the need to create one manually viaUpdateInstanceMetadataOptionsRequest.builder()- Parameters:
updateInstanceMetadataOptionsRequest- AConsumerthat will call methods onUpdateInstanceMetadataOptionsRequest.Builderto create a request.- Returns:
- Result of the UpdateInstanceMetadataOptions operation returned by the service.
- See Also:
-
updateLoadBalancerAttribute
default UpdateLoadBalancerAttributeResponse updateLoadBalancerAttribute(UpdateLoadBalancerAttributeRequest updateLoadBalancerAttributeRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates the specified attribute for a load balancer. You can only update one attribute at a time.
The
update load balancer attributeoperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
updateLoadBalancerAttributeRequest-- Returns:
- Result of the UpdateLoadBalancerAttribute operation returned by the service.
- See Also:
-
updateLoadBalancerAttribute
default UpdateLoadBalancerAttributeResponse updateLoadBalancerAttribute(Consumer<UpdateLoadBalancerAttributeRequest.Builder> updateLoadBalancerAttributeRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Updates the specified attribute for a load balancer. You can only update one attribute at a time.
The
update load balancer attributeoperation supports tag-based access control via resource tags applied to the resource identified byload balancer name. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
UpdateLoadBalancerAttributeRequest.Builderavoiding the need to create one manually viaUpdateLoadBalancerAttributeRequest.builder()- Parameters:
updateLoadBalancerAttributeRequest- AConsumerthat will call methods onUpdateLoadBalancerAttributeRequest.Builderto create a request.- Returns:
- Result of the UpdateLoadBalancerAttribute operation returned by the service.
- See Also:
-
updateRelationalDatabase
default UpdateRelationalDatabaseResponse updateRelationalDatabase(UpdateRelationalDatabaseRequest updateRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Allows the update of one or more attributes of a database in Amazon Lightsail.
Updates are applied immediately, or in cases where the updates could result in an outage, are applied during the database's predefined maintenance window.
The
update relational databaseoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
updateRelationalDatabaseRequest-- Returns:
- Result of the UpdateRelationalDatabase operation returned by the service.
- See Also:
-
updateRelationalDatabase
default UpdateRelationalDatabaseResponse updateRelationalDatabase(Consumer<UpdateRelationalDatabaseRequest.Builder> updateRelationalDatabaseRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Allows the update of one or more attributes of a database in Amazon Lightsail.
Updates are applied immediately, or in cases where the updates could result in an outage, are applied during the database's predefined maintenance window.
The
update relational databaseoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
UpdateRelationalDatabaseRequest.Builderavoiding the need to create one manually viaUpdateRelationalDatabaseRequest.builder()- Parameters:
updateRelationalDatabaseRequest- AConsumerthat will call methods onUpdateRelationalDatabaseRequest.Builderto create a request.- Returns:
- Result of the UpdateRelationalDatabase operation returned by the service.
- See Also:
-
updateRelationalDatabaseParameters
default UpdateRelationalDatabaseParametersResponse updateRelationalDatabaseParameters(UpdateRelationalDatabaseParametersRequest updateRelationalDatabaseParametersRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Allows the update of one or more parameters of a database in Amazon Lightsail.
Parameter updates don't cause outages; therefore, their application is not subject to the preferred maintenance window. However, there are two ways in which parameter updates are applied:
dynamicorpending-reboot. Parameters marked with adynamicapply type are applied immediately. Parameters marked with apending-rebootapply type are applied only after the database is rebooted using thereboot relational databaseoperation.The
update relational database parametersoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.- Parameters:
updateRelationalDatabaseParametersRequest-- Returns:
- Result of the UpdateRelationalDatabaseParameters operation returned by the service.
- See Also:
-
updateRelationalDatabaseParameters
default UpdateRelationalDatabaseParametersResponse updateRelationalDatabaseParameters(Consumer<UpdateRelationalDatabaseParametersRequest.Builder> updateRelationalDatabaseParametersRequest) throws ServiceException, InvalidInputException, NotFoundException, OperationFailureException, AccessDeniedException, AccountSetupInProgressException, UnauthenticatedException, AwsServiceException, SdkClientException, LightsailException Allows the update of one or more parameters of a database in Amazon Lightsail.
Parameter updates don't cause outages; therefore, their application is not subject to the preferred maintenance window. However, there are two ways in which parameter updates are applied:
dynamicorpending-reboot. Parameters marked with adynamicapply type are applied immediately. Parameters marked with apending-rebootapply type are applied only after the database is rebooted using thereboot relational databaseoperation.The
update relational database parametersoperation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Amazon Lightsail Developer Guide.
This is a convenience which creates an instance of the
UpdateRelationalDatabaseParametersRequest.Builderavoiding the need to create one manually viaUpdateRelationalDatabaseParametersRequest.builder()- Parameters:
updateRelationalDatabaseParametersRequest- AConsumerthat will call methods onUpdateRelationalDatabaseParametersRequest.Builderto create a request.- Returns:
- Result of the UpdateRelationalDatabaseParameters operation returned by the service.
- See Also:
-
create
Create aLightsailClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aLightsailClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-