@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonLightsailClient extends AmazonWebServiceClient implements AmazonLightsail
Amazon Lightsail is the easiest way to get started with AWS for developers who just need virtual private servers. Lightsail includes everything you need to launch your project quickly - a virtual machine, SSD-based storage, data transfer, DNS management, and a static IP - for a low, predictable price. You manage those Lightsail servers through the Lightsail console or by using the API or command-line interface (CLI).
For more information about Lightsail concepts and tasks, see the Lightsail Dev Guide.
To use the Lightsail API or the CLI, you will need to use AWS Identity and Access Management (IAM) to generate access keys. For details about how to set this up, see the Lightsail Dev Guide.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Constructor and Description |
|---|
AmazonLightsailClient()
Deprecated.
|
AmazonLightsailClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AmazonLightsailClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AmazonLightsailClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AmazonLightsailClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonLightsailClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonLightsailClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AmazonLightsailClient(ClientConfiguration clientConfiguration)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AllocateStaticIpResult |
allocateStaticIp(AllocateStaticIpRequest request)
Allocates a static IP address.
|
AttachStaticIpResult |
attachStaticIp(AttachStaticIpRequest request)
Attaches a static IP address to a specific Amazon Lightsail instance.
|
static AmazonLightsailClientBuilder |
builder() |
CloseInstancePublicPortsResult |
closeInstancePublicPorts(CloseInstancePublicPortsRequest request)
Closes the public ports on a specific Amazon Lightsail instance.
|
CreateDomainResult |
createDomain(CreateDomainRequest request)
Creates a domain resource for the specified domain (e.g., example.com).
|
CreateDomainEntryResult |
createDomainEntry(CreateDomainEntryRequest request)
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX
record.
|
CreateInstancesResult |
createInstances(CreateInstancesRequest request)
Creates one or more Amazon Lightsail virtual private servers, or instances.
|
CreateInstancesFromSnapshotResult |
createInstancesFromSnapshot(CreateInstancesFromSnapshotRequest request)
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical
configuration.
|
CreateInstanceSnapshotResult |
createInstanceSnapshot(CreateInstanceSnapshotRequest request)
Creates a snapshot of a specific virtual private server, or instance.
|
CreateKeyPairResult |
createKeyPair(CreateKeyPairRequest request)
Creates sn SSH key pair.
|
DeleteDomainResult |
deleteDomain(DeleteDomainRequest request)
Deletes the specified domain recordset and all of its domain records.
|
DeleteDomainEntryResult |
deleteDomainEntry(DeleteDomainEntryRequest request)
Deletes a specific domain entry.
|
DeleteInstanceResult |
deleteInstance(DeleteInstanceRequest request)
Deletes a specific Amazon Lightsail virtual private server, or instance.
|
DeleteInstanceSnapshotResult |
deleteInstanceSnapshot(DeleteInstanceSnapshotRequest request)
Deletes a specific snapshot of a virtual private server (or instance).
|
DeleteKeyPairResult |
deleteKeyPair(DeleteKeyPairRequest request)
Deletes a specific SSH key pair.
|
DetachStaticIpResult |
detachStaticIp(DetachStaticIpRequest request)
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
|
DownloadDefaultKeyPairResult |
downloadDefaultKeyPair(DownloadDefaultKeyPairRequest request)
Downloads the default SSH key pair from the user's account.
|
GetActiveNamesResult |
getActiveNames(GetActiveNamesRequest request)
Returns the names of all active (not deleted) resources.
|
GetBlueprintsResult |
getBlueprints(GetBlueprintsRequest request)
Returns the list of available instance images, or blueprints.
|
GetBundlesResult |
getBundles(GetBundlesRequest request)
Returns the list of bundles that are available for purchase.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDomainResult |
getDomain(GetDomainRequest request)
Returns information about a specific domain recordset.
|
GetDomainsResult |
getDomains(GetDomainsRequest request)
Returns a list of all domains in the user's account.
|
GetInstanceResult |
getInstance(GetInstanceRequest request)
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
|
GetInstanceAccessDetailsResult |
getInstanceAccessDetails(GetInstanceAccessDetailsRequest request)
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
|
GetInstanceMetricDataResult |
getInstanceMetricData(GetInstanceMetricDataRequest request)
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
|
GetInstancePortStatesResult |
getInstancePortStates(GetInstancePortStatesRequest request)
Returns the port states for a specific virtual private server, or instance.
|
GetInstancesResult |
getInstances(GetInstancesRequest request)
Returns information about all Amazon Lightsail virtual private servers, or instances.
|
GetInstanceSnapshotResult |
getInstanceSnapshot(GetInstanceSnapshotRequest request)
Returns information about a specific instance snapshot.
|
GetInstanceSnapshotsResult |
getInstanceSnapshots(GetInstanceSnapshotsRequest request)
Returns all instance snapshots for the user's account.
|
GetInstanceStateResult |
getInstanceState(GetInstanceStateRequest request)
Returns the state of a specific instance.
|
GetKeyPairResult |
getKeyPair(GetKeyPairRequest request)
Returns information about a specific key pair.
|
GetKeyPairsResult |
getKeyPairs(GetKeyPairsRequest request)
Returns information about all key pairs in the user's account.
|
GetOperationResult |
getOperation(GetOperationRequest request)
Returns information about a specific operation.
|
GetOperationsResult |
getOperations(GetOperationsRequest request)
Returns information about all operations.
|
GetOperationsForResourceResult |
getOperationsForResource(GetOperationsForResourceRequest request)
Gets operations for a specific resource (e.g., an instance or a static IP).
|
GetRegionsResult |
getRegions(GetRegionsRequest request)
Returns a list of all valid regions for Amazon Lightsail.
|
GetStaticIpResult |
getStaticIp(GetStaticIpRequest request)
Returns information about a specific static IP.
|
GetStaticIpsResult |
getStaticIps(GetStaticIpsRequest request)
Returns information about all static IPs in the user's account.
|
ImportKeyPairResult |
importKeyPair(ImportKeyPairRequest request)
Imports a public SSH key from a specific key pair.
|
IsVpcPeeredResult |
isVpcPeered(IsVpcPeeredRequest request)
Returns a Boolean value indicating whether your Lightsail VPC is peered.
|
OpenInstancePublicPortsResult |
openInstancePublicPorts(OpenInstancePublicPortsRequest request)
Adds public ports to an Amazon Lightsail instance.
|
PeerVpcResult |
peerVpc(PeerVpcRequest request)
Tries to peer the Lightsail VPC with the user's default VPC.
|
PutInstancePublicPortsResult |
putInstancePublicPorts(PutInstancePublicPortsRequest request)
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not
included in the current request.
|
RebootInstanceResult |
rebootInstance(RebootInstanceRequest request)
Restarts a specific instance.
|
ReleaseStaticIpResult |
releaseStaticIp(ReleaseStaticIpRequest request)
Deletes a specific static IP from your account.
|
StartInstanceResult |
startInstance(StartInstanceRequest request)
Starts a specific Amazon Lightsail instance from a stopped state.
|
StopInstanceResult |
stopInstance(StopInstanceRequest request)
Stops a specific Amazon Lightsail instance that is currently running.
|
UnpeerVpcResult |
unpeerVpc(UnpeerVpcRequest request)
Attempts to unpeer the Lightsail VPC from the user's default VPC.
|
UpdateDomainEntryResult |
updateDomainEntry(UpdateDomainEntryRequest request)
Updates a domain recordset after it is created.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdown@Deprecated public AmazonLightsailClient()
AmazonLightsailClientBuilder.defaultClient()All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain@Deprecated public AmazonLightsailClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this client connects to Amazon Lightsail (ex: proxy
settings, retry counts, etc.).DefaultAWSCredentialsProviderChain@Deprecated public AmazonLightsailClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AmazonLightsailClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.@Deprecated public AmazonLightsailClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon Lightsail (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonLightsailClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.@Deprecated public AmazonLightsailClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon Lightsail (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonLightsailClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsClientBuilder.withMetricsCollector(RequestMetricCollector)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon Lightsail (ex: proxy
settings, retry counts, etc.).requestMetricCollector - optional request metric collectorpublic static AmazonLightsailClientBuilder builder()
public AllocateStaticIpResult allocateStaticIp(AllocateStaticIpRequest request)
Allocates a static IP address.
allocateStaticIp in interface AmazonLightsailallocateStaticIpRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public AttachStaticIpResult attachStaticIp(AttachStaticIpRequest request)
Attaches a static IP address to a specific Amazon Lightsail instance.
attachStaticIp in interface AmazonLightsailattachStaticIpRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public CloseInstancePublicPortsResult closeInstancePublicPorts(CloseInstancePublicPortsRequest request)
Closes the public ports on a specific Amazon Lightsail instance.
closeInstancePublicPorts in interface AmazonLightsailcloseInstancePublicPortsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public CreateDomainResult createDomain(CreateDomainRequest request)
Creates a domain resource for the specified domain (e.g., example.com).
createDomain in interface AmazonLightsailcreateDomainRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public CreateDomainEntryResult createDomainEntry(CreateDomainEntryRequest request)
Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.
createDomainEntry in interface AmazonLightsailcreateDomainEntryRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public CreateInstanceSnapshotResult createInstanceSnapshot(CreateInstanceSnapshotRequest request)
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.
createInstanceSnapshot in interface AmazonLightsailcreateInstanceSnapshotRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public CreateInstancesResult createInstances(CreateInstancesRequest request)
Creates one or more Amazon Lightsail virtual private servers, or instances.
createInstances in interface AmazonLightsailcreateInstancesRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public CreateInstancesFromSnapshotResult createInstancesFromSnapshot(CreateInstancesFromSnapshotRequest request)
Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.
createInstancesFromSnapshot in interface AmazonLightsailcreateInstancesFromSnapshotRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public CreateKeyPairResult createKeyPair(CreateKeyPairRequest request)
Creates sn SSH key pair.
createKeyPair in interface AmazonLightsailcreateKeyPairRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public DeleteDomainResult deleteDomain(DeleteDomainRequest request)
Deletes the specified domain recordset and all of its domain records.
deleteDomain in interface AmazonLightsaildeleteDomainRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public DeleteDomainEntryResult deleteDomainEntry(DeleteDomainEntryRequest request)
Deletes a specific domain entry.
deleteDomainEntry in interface AmazonLightsaildeleteDomainEntryRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public DeleteInstanceResult deleteInstance(DeleteInstanceRequest request)
Deletes a specific Amazon Lightsail virtual private server, or instance.
deleteInstance in interface AmazonLightsaildeleteInstanceRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public DeleteInstanceSnapshotResult deleteInstanceSnapshot(DeleteInstanceSnapshotRequest request)
Deletes a specific snapshot of a virtual private server (or instance).
deleteInstanceSnapshot in interface AmazonLightsaildeleteInstanceSnapshotRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public DeleteKeyPairResult deleteKeyPair(DeleteKeyPairRequest request)
Deletes a specific SSH key pair.
deleteKeyPair in interface AmazonLightsaildeleteKeyPairRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public DetachStaticIpResult detachStaticIp(DetachStaticIpRequest request)
Detaches a static IP from the Amazon Lightsail instance to which it is attached.
detachStaticIp in interface AmazonLightsaildetachStaticIpRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public DownloadDefaultKeyPairResult downloadDefaultKeyPair(DownloadDefaultKeyPairRequest request)
Downloads the default SSH key pair from the user's account.
downloadDefaultKeyPair in interface AmazonLightsaildownloadDefaultKeyPairRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetActiveNamesResult getActiveNames(GetActiveNamesRequest request)
Returns the names of all active (not deleted) resources.
getActiveNames in interface AmazonLightsailgetActiveNamesRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetBlueprintsResult getBlueprints(GetBlueprintsRequest request)
Returns the list of available instance images, or blueprints. You can use a blueprint to create a new virtual private server already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose.
getBlueprints in interface AmazonLightsailgetBlueprintsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetBundlesResult getBundles(GetBundlesRequest request)
Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).
getBundles in interface AmazonLightsailgetBundlesRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetDomainResult getDomain(GetDomainRequest request)
Returns information about a specific domain recordset.
getDomain in interface AmazonLightsailgetDomainRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetDomainsResult getDomains(GetDomainsRequest request)
Returns a list of all domains in the user's account.
getDomains in interface AmazonLightsailgetDomainsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetInstanceResult getInstance(GetInstanceRequest request)
Returns information about a specific Amazon Lightsail instance, which is a virtual private server.
getInstance in interface AmazonLightsailgetInstanceRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetInstanceAccessDetailsResult getInstanceAccessDetails(GetInstanceAccessDetailsRequest request)
Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.
getInstanceAccessDetails in interface AmazonLightsailgetInstanceAccessDetailsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetInstanceMetricDataResult getInstanceMetricData(GetInstanceMetricDataRequest request)
Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.
getInstanceMetricData in interface AmazonLightsailgetInstanceMetricDataRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetInstancePortStatesResult getInstancePortStates(GetInstancePortStatesRequest request)
Returns the port states for a specific virtual private server, or instance.
getInstancePortStates in interface AmazonLightsailgetInstancePortStatesRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetInstanceSnapshotResult getInstanceSnapshot(GetInstanceSnapshotRequest request)
Returns information about a specific instance snapshot.
getInstanceSnapshot in interface AmazonLightsailgetInstanceSnapshotRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetInstanceSnapshotsResult getInstanceSnapshots(GetInstanceSnapshotsRequest request)
Returns all instance snapshots for the user's account.
getInstanceSnapshots in interface AmazonLightsailgetInstanceSnapshotsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetInstanceStateResult getInstanceState(GetInstanceStateRequest request)
Returns the state of a specific instance. Works on one instance at a time.
getInstanceState in interface AmazonLightsailgetInstanceStateRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetInstancesResult getInstances(GetInstancesRequest request)
Returns information about all Amazon Lightsail virtual private servers, or instances.
getInstances in interface AmazonLightsailgetInstancesRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetKeyPairResult getKeyPair(GetKeyPairRequest request)
Returns information about a specific key pair.
getKeyPair in interface AmazonLightsailgetKeyPairRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetKeyPairsResult getKeyPairs(GetKeyPairsRequest request)
Returns information about all key pairs in the user's account.
getKeyPairs in interface AmazonLightsailgetKeyPairsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetOperationResult getOperation(GetOperationRequest request)
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.
getOperation in interface AmazonLightsailgetOperationRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetOperationsResult getOperations(GetOperationsRequest request)
Returns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each
subsequent call to GetOperations use the maximum (last) statusChangedAt value from the
previous request.
getOperations in interface AmazonLightsailgetOperationsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetOperationsForResourceResult getOperationsForResource(GetOperationsForResourceRequest request)
Gets operations for a specific resource (e.g., an instance or a static IP).
getOperationsForResource in interface AmazonLightsailgetOperationsForResourceRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetRegionsResult getRegions(GetRegionsRequest request)
Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones
parameter to also return the availability zones in a region.
getRegions in interface AmazonLightsailgetRegionsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetStaticIpResult getStaticIp(GetStaticIpRequest request)
Returns information about a specific static IP.
getStaticIp in interface AmazonLightsailgetStaticIpRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public GetStaticIpsResult getStaticIps(GetStaticIpsRequest request)
Returns information about all static IPs in the user's account.
getStaticIps in interface AmazonLightsailgetStaticIpsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public ImportKeyPairResult importKeyPair(ImportKeyPairRequest request)
Imports a public SSH key from a specific key pair.
importKeyPair in interface AmazonLightsailimportKeyPairRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public IsVpcPeeredResult isVpcPeered(IsVpcPeeredRequest request)
Returns a Boolean value indicating whether your Lightsail VPC is peered.
isVpcPeered in interface AmazonLightsailisVpcPeeredRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public OpenInstancePublicPortsResult openInstancePublicPorts(OpenInstancePublicPortsRequest request)
Adds public ports to an Amazon Lightsail instance.
openInstancePublicPorts in interface AmazonLightsailopenInstancePublicPortsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public PeerVpcResult peerVpc(PeerVpcRequest request)
Tries to peer the Lightsail VPC with the user's default VPC.
peerVpc in interface AmazonLightsailpeerVpcRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public PutInstancePublicPortsResult putInstancePublicPorts(PutInstancePublicPortsRequest request)
Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.
putInstancePublicPorts in interface AmazonLightsailputInstancePublicPortsRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public RebootInstanceResult rebootInstance(RebootInstanceRequest request)
Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance.
rebootInstance in interface AmazonLightsailrebootInstanceRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public ReleaseStaticIpResult releaseStaticIp(ReleaseStaticIpRequest request)
Deletes a specific static IP from your account.
releaseStaticIp in interface AmazonLightsailreleaseStaticIpRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public StartInstanceResult startInstance(StartInstanceRequest request)
Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.
startInstance in interface AmazonLightsailstartInstanceRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public StopInstanceResult stopInstance(StopInstanceRequest request)
Stops a specific Amazon Lightsail instance that is currently running.
stopInstance in interface AmazonLightsailstopInstanceRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public UnpeerVpcResult unpeerVpc(UnpeerVpcRequest request)
Attempts to unpeer the Lightsail VPC from the user's default VPC.
unpeerVpc in interface AmazonLightsailunpeerVpcRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public UpdateDomainEntryResult updateDomainEntry(UpdateDomainEntryRequest request)
Updates a domain recordset after it is created.
updateDomainEntry in interface AmazonLightsailupdateDomainEntryRequest - ServiceException - A general service exception.InvalidInputException - Lightsail throws this exception when user input does not conform to the validation rules of an input
field. Domain-related APIs are only available in the N. Virginia (us-east-1) Region. Please set your Region configuration to us-east-1 to create, view, or edit these resources.
NotFoundException - Lightsail throws this exception when it cannot find a resource.OperationFailureException - Lightsail throws this exception when an operation fails to execute.AccessDeniedException - Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
access a resource.AccountSetupInProgressException - Lightsail throws this exception when an account is still in the setup in progress state.UnauthenticatedException - Lightsail throws this exception when the user has not been authenticated.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonLightsailrequest - The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.