/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the lightsail-2016-11-28.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Lightsail.Model;
namespace Amazon.Lightsail
{
///
/// Interface for accessing Lightsail
///
/// 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.
///
///
public partial interface IAmazonLightsail : IAmazonService, IDisposable
{
#region AllocateStaticIp
///
/// Allocates a static IP address.
///
/// Container for the necessary parameters to execute the AllocateStaticIp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AllocateStaticIp service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for AllocateStaticIp Operation
Task AllocateStaticIpAsync(AllocateStaticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AttachCertificateToDistribution
///
/// Attaches an SSL/TLS certificate to your Amazon Lightsail content delivery network
/// (CDN) distribution.
///
///
///
/// After the certificate is attached, your distribution accepts HTTPS traffic for all
/// of the domains that are associated with the certificate.
///
///
///
/// Use the CreateCertificate
action to create a certificate that you can
/// attach to your distribution.
///
///
///
/// Only certificates created in the us-east-1
Amazon Web Services Region
/// can be attached to Lightsail distributions. Lightsail distributions are global resources
/// that can reference an origin in any Amazon Web Services Region, and distribute its
/// content globally. However, all distributions are located in the us-east-1
/// Region.
///
///
///
/// Container for the necessary parameters to execute the AttachCertificateToDistribution service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AttachCertificateToDistribution service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for AttachCertificateToDistribution Operation
Task AttachCertificateToDistributionAsync(AttachCertificateToDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AttachDisk
///
/// Attaches a block storage disk to a running or stopped Lightsail instance and exposes
/// it to the instance with the specified disk name.
///
///
///
/// The attach disk
operation supports tag-based access control via resource
/// tags applied to the resource identified by disk name
. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the AttachDisk service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AttachDisk service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for AttachDisk Operation
Task AttachDiskAsync(AttachDiskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AttachInstancesToLoadBalancer
///
/// Attaches one or more Lightsail instances to a load balancer.
///
///
///
/// After some time, the instances are attached to the load balancer and the health check
/// status is available.
///
///
///
/// The attach instances to load balancer
operation supports tag-based access
/// control via resource tags applied to the resource identified by load balancer
/// name
. For more information, see the Lightsail
/// Developer Guide.
///
///
/// Container for the necessary parameters to execute the AttachInstancesToLoadBalancer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AttachInstancesToLoadBalancer service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for AttachInstancesToLoadBalancer Operation
Task AttachInstancesToLoadBalancerAsync(AttachInstancesToLoadBalancerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AttachLoadBalancerTlsCertificate
///
/// Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is
/// just an updated, more secure version of Secure Socket Layer (SSL).
///
///
///
/// Once you create and validate your certificate, you can attach it to your load balancer.
/// You can also use this API to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate
/// action with the non-attached certificate, and it will replace the existing one and
/// become the attached certificate.
///
///
///
/// The AttachLoadBalancerTlsCertificate
operation supports tag-based access
/// control via resource tags applied to the resource identified by load balancer
/// name
. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the AttachLoadBalancerTlsCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AttachLoadBalancerTlsCertificate service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for AttachLoadBalancerTlsCertificate Operation
Task AttachLoadBalancerTlsCertificateAsync(AttachLoadBalancerTlsCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AttachStaticIp
///
/// Attaches a static IP address to a specific Amazon Lightsail instance.
///
/// Container for the necessary parameters to execute the AttachStaticIp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AttachStaticIp service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for AttachStaticIp Operation
Task AttachStaticIpAsync(AttachStaticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CloseInstancePublicPorts
///
/// Closes ports for a specific Amazon Lightsail instance.
///
///
///
/// The CloseInstancePublicPorts
action supports tag-based access control
/// via resource tags applied to the resource identified by instanceName
.
/// For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CloseInstancePublicPorts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CloseInstancePublicPorts service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CloseInstancePublicPorts Operation
Task CloseInstancePublicPortsAsync(CloseInstancePublicPortsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CopySnapshot
///
/// Copies a manual snapshot of an instance or disk as another manual snapshot, or copies
/// an automatic snapshot of an instance or disk as a manual snapshot. This operation
/// can also be used to copy a manual or automatic snapshot of an instance or a disk from
/// one Amazon Web Services Region to another in Amazon Lightsail.
///
///
///
/// When copying a manual snapshot, be sure to define the source region
,
/// source snapshot name
, and target snapshot name
parameters.
///
///
///
/// When copying an automatic snapshot, be sure to define the source region
,
/// source resource name
, target snapshot name
, and either the
/// restore date
or the use latest restorable auto snapshot
/// parameters.
///
///
/// Container for the necessary parameters to execute the CopySnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CopySnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CopySnapshot Operation
Task CopySnapshotAsync(CopySnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateBucket
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateBucket service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateBucket service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateBucket Operation
Task CreateBucketAsync(CreateBucketRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateBucketAccessKey
///
/// Creates a new access key for the specified Amazon Lightsail bucket. Access keys consist
/// of an access key ID and corresponding secret access key.
///
///
///
/// Access keys grant full programmatic access to the specified bucket and its objects.
/// You can have a maximum of two access keys per bucket. Use the GetBucketAccessKeys
/// action to get a list of current access keys for a specific bucket. For more information
/// about access keys, see Creating
/// access keys for a bucket in Amazon Lightsail in the Amazon Lightsail Developer
/// Guide.
///
///
///
/// The secretAccessKey
value is returned only in response to the CreateBucketAccessKey
/// action. You can get a secret access key only when you first create an access key;
/// you cannot get the secret access key later. If you lose the secret access key, you
/// must create a new access key.
///
///
///
/// Container for the necessary parameters to execute the CreateBucketAccessKey service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateBucketAccessKey service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateBucketAccessKey Operation
Task CreateBucketAccessKeyAsync(CreateBucketAccessKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateCertificate
///
/// Creates an SSL/TLS certificate for an Amazon Lightsail content delivery network (CDN)
/// distribution and a container service.
///
///
///
/// After the certificate is valid, use the AttachCertificateToDistribution
/// action to use the certificate and its domains with your distribution. Or use the UpdateContainerService
/// action to use the certificate and its domains with your container service.
///
///
///
/// Only certificates created in the us-east-1
Amazon Web Services Region
/// can be attached to Lightsail distributions. Lightsail distributions are global resources
/// that can reference an origin in any Amazon Web Services Region, and distribute its
/// content globally. However, all distributions are located in the us-east-1
/// Region.
///
///
///
/// Container for the necessary parameters to execute the CreateCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateCertificate service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateCertificate Operation
Task CreateCertificateAsync(CreateCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateCloudFormationStack
///
/// Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from
/// an exported Amazon Lightsail snapshot. This operation results in a CloudFormation
/// stack record that can be used to track the AWS CloudFormation stack created. Use the
/// get cloud formation stack records
operation to get a list of the CloudFormation
/// stacks created.
///
///
///
/// Wait until after your new Amazon EC2 instance is created before running the create
/// cloud formation stack
operation again with the same export snapshot record.
///
///
///
/// Container for the necessary parameters to execute the CreateCloudFormationStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateCloudFormationStack service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateCloudFormationStack Operation
Task CreateCloudFormationStackAsync(CreateCloudFormationStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateContactMethod
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateContactMethod service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateContactMethod service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateContactMethod Operation
Task CreateContactMethodAsync(CreateContactMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateContainerService
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateContainerService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateContainerService service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateContainerService Operation
Task CreateContainerServiceAsync(CreateContainerServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateContainerServiceDeployment
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateContainerServiceDeployment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateContainerServiceDeployment service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateContainerServiceDeployment Operation
Task CreateContainerServiceDeploymentAsync(CreateContainerServiceDeploymentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateContainerServiceRegistryLogin
///
/// Creates a temporary set of log in credentials that you can use to log in to the Docker
/// process on your local machine. After you're logged in, you can use the native Docker
/// commands to push your local container images to the container image registry of your
/// Amazon Lightsail account so that you can use them with your Lightsail container service.
/// The log in credentials expire 12 hours after they are created, at which point you
/// will need to create a new set of log in credentials.
///
///
///
/// You can only push container images to the container service registry of your Lightsail
/// account. You cannot pull container images or perform any other container image management
/// actions on the container service registry.
///
///
///
/// After you push your container images to the container image registry of your Lightsail
/// account, use the RegisterContainerImage
action to register the pushed
/// images to a specific Lightsail container service.
///
///
///
/// This action is not required if you install and use the Lightsail Control (lightsailctl)
/// plugin to push container images to your Lightsail container service. For more information,
/// see Pushing
/// and managing container images on your Amazon Lightsail container services in the
/// Amazon Lightsail Developer Guide.
///
///
///
/// Container for the necessary parameters to execute the CreateContainerServiceRegistryLogin service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateContainerServiceRegistryLogin service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateContainerServiceRegistryLogin Operation
Task CreateContainerServiceRegistryLoginAsync(CreateContainerServiceRegistryLoginRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDisk
///
/// Creates a block storage disk that can be attached to an Amazon Lightsail instance
/// in the same Availability Zone (e.g., us-east-2a
).
///
///
///
/// The create disk
operation supports tag-based access control via request
/// tags. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateDisk service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDisk service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateDisk Operation
Task CreateDiskAsync(CreateDiskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDiskFromSnapshot
///
/// Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting
/// disk can be attached to an Amazon Lightsail instance in the same Availability Zone
/// (e.g., us-east-2a
).
///
///
///
/// The create disk from snapshot
operation supports tag-based access control
/// via request tags and resource tags applied to the resource identified by disk
/// snapshot name
. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateDiskFromSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDiskFromSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateDiskFromSnapshot Operation
Task CreateDiskFromSnapshotAsync(CreateDiskFromSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDiskSnapshot
///
/// Creates a snapshot of a block storage disk. You can use snapshots for backups, to
/// make copies of disks, and to save data before shutting down a Lightsail instance.
///
///
///
/// You can take a snapshot of an attached disk that is in use; however, snapshots only
/// capture data that has been written to your disk at the time the snapshot command is
/// issued. This may exclude any data that has been cached by any applications or the
/// operating system. If you can pause any file systems on the disk long enough to take
/// a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all
/// file writes to the disk, you should unmount the disk from within the Lightsail instance,
/// issue the create disk snapshot command, and then remount the disk to ensure a consistent
/// and complete snapshot. You may remount and use your disk while the snapshot status
/// is pending.
///
///
///
/// You can also use this operation to create a snapshot of an instance's system volume.
/// You might want to do this, for example, to recover data from the system volume of
/// a botched instance or to create a backup of the system volume like you would for a
/// block storage disk. To create a snapshot of a system volume, just define the instance
/// name
parameter when issuing the snapshot command, and a snapshot of the defined
/// instance's system volume will be created. After the snapshot is available, you can
/// create a block storage disk from the snapshot and attach it to a running instance
/// to access the data on the disk.
///
///
///
/// The create disk snapshot
operation supports tag-based access control
/// via request tags. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateDiskSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDiskSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateDiskSnapshot Operation
Task CreateDiskSnapshotAsync(CreateDiskSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDistribution
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateDistribution service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDistribution service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateDistribution Operation
Task CreateDistributionAsync(CreateDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDomain
///
/// Creates a domain resource for the specified domain (e.g., example.com).
///
///
///
/// The create domain
operation supports tag-based access control via request
/// tags. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDomain service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateDomain Operation
Task CreateDomainAsync(CreateDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDomainEntry
///
/// Creates one of the following domain name system (DNS) records in a domain DNS zone:
/// Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start
/// of authority (SOA), service locator (SRV), or text (TXT).
///
///
///
/// The create domain entry
operation supports tag-based access control via
/// resource tags applied to the resource identified by domain name
. For
/// more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateDomainEntry service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDomainEntry service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateDomainEntry Operation
Task CreateDomainEntryAsync(CreateDomainEntryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateGUISessionAccessDetails
///
/// Creates two URLs that are used to access a virtual computer’s graphical user interface
/// (GUI) session. The primary URL initiates a web-based NICE DCV session to the virtual
/// computer's application. The secondary URL initiates a web-based NICE DCV session to
/// the virtual computer's operating session.
///
///
///
/// Use StartGUISession
to open the session.
///
///
/// Container for the necessary parameters to execute the CreateGUISessionAccessDetails service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateGUISessionAccessDetails service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateGUISessionAccessDetails Operation
Task CreateGUISessionAccessDetailsAsync(CreateGUISessionAccessDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateInstances
///
/// Creates one or more Amazon Lightsail instances.
///
///
///
/// The create instances
operation supports tag-based access control via
/// request tags. For more information, see the Lightsail
/// Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateInstances service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateInstances Operation
Task CreateInstancesAsync(CreateInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateInstancesFromSnapshot
///
/// Creates one or more new instances from a manual or automatic snapshot of an instance.
///
///
///
/// The create instances from snapshot
operation supports tag-based access
/// control via request tags and resource tags applied to the resource identified by instance
/// snapshot name
. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateInstancesFromSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateInstancesFromSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateInstancesFromSnapshot Operation
Task CreateInstancesFromSnapshotAsync(CreateInstancesFromSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateInstanceSnapshot
///
/// Creates a snapshot of a specific virtual private server, or instance. You can
/// use a snapshot to create a new instance that is based on that snapshot.
///
///
///
/// The create instance snapshot
operation supports tag-based access control
/// via request tags. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateInstanceSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateInstanceSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateInstanceSnapshot Operation
Task CreateInstanceSnapshotAsync(CreateInstanceSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateKeyPair
///
/// Creates a custom SSH key pair that you can use with an Amazon Lightsail instance.
///
///
///
/// Use the DownloadDefaultKeyPair
/// action to create a Lightsail default key pair in an Amazon Web Services Region where
/// a default key pair does not currently exist.
///
///
///
/// The create key pair
operation supports tag-based access control via request
/// tags. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateKeyPair service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateKeyPair service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateKeyPair Operation
Task CreateKeyPairAsync(CreateKeyPairRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateLoadBalancer
///
/// Creates a Lightsail load balancer. To learn more about deciding whether to load balance
/// your application, see Configure
/// your Lightsail instances for load balancing. You can create up to 5 load balancers
/// per AWS Region in your account.
///
///
///
/// When you create a load balancer, you can specify a unique name and port settings.
/// To change additional load balancer settings, use the UpdateLoadBalancerAttribute
/// operation.
///
///
///
/// The create load balancer
operation supports tag-based access control
/// via request tags. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateLoadBalancer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateLoadBalancer service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateLoadBalancer Operation
Task CreateLoadBalancerAsync(CreateLoadBalancerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateLoadBalancerTlsCertificate
///
/// Creates an SSL/TLS certificate for an Amazon Lightsail load balancer.
///
///
///
/// TLS is just an updated, more secure version of Secure Socket Layer (SSL).
///
///
///
/// The CreateLoadBalancerTlsCertificate
operation supports tag-based access
/// control via resource tags applied to the resource identified by load balancer
/// name
. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateLoadBalancerTlsCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateLoadBalancerTlsCertificate service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateLoadBalancerTlsCertificate Operation
Task CreateLoadBalancerTlsCertificateAsync(CreateLoadBalancerTlsCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRelationalDatabase
///
/// Creates a new database in Amazon Lightsail.
///
///
///
/// The create relational database
operation supports tag-based access control
/// via request tags. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateRelationalDatabase service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateRelationalDatabase service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateRelationalDatabase Operation
Task CreateRelationalDatabaseAsync(CreateRelationalDatabaseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRelationalDatabaseFromSnapshot
///
/// Creates a new database from an existing database snapshot in Amazon Lightsail.
///
///
///
/// You can create a new database from a snapshot in if something goes wrong with your
/// original database, or to change it to a different plan, such as a high availability
/// or standard plan.
///
///
///
/// The create relational database from snapshot
operation supports tag-based
/// access control via request tags and resource tags applied to the resource identified
/// by relationalDatabaseSnapshotName. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateRelationalDatabaseFromSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateRelationalDatabaseFromSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateRelationalDatabaseFromSnapshot Operation
Task CreateRelationalDatabaseFromSnapshotAsync(CreateRelationalDatabaseFromSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRelationalDatabaseSnapshot
///
/// Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for
/// backups, to make copies of a database, and to save data before deleting a database.
///
///
///
/// The create relational database snapshot
operation supports tag-based
/// access control via request tags. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the CreateRelationalDatabaseSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateRelationalDatabaseSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for CreateRelationalDatabaseSnapshot Operation
Task CreateRelationalDatabaseSnapshotAsync(CreateRelationalDatabaseSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAlarm
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteAlarm service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAlarm service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteAlarm Operation
Task DeleteAlarmAsync(DeleteAlarmRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAutoSnapshot
///
/// Deletes an automatic snapshot of an instance or disk. For more information, see the
/// Amazon
/// Lightsail Developer Guide.
///
/// Container for the necessary parameters to execute the DeleteAutoSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAutoSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteAutoSnapshot Operation
Task DeleteAutoSnapshotAsync(DeleteAutoSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteBucket
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DeleteBucket service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteBucket service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteBucket Operation
Task DeleteBucketAsync(DeleteBucketRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteBucketAccessKey
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteBucketAccessKey service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteBucketAccessKey service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteBucketAccessKey Operation
Task DeleteBucketAccessKeyAsync(DeleteBucketAccessKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteCertificate
///
/// Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network
/// (CDN) distribution.
///
///
///
/// Certificates that are currently attached to a distribution cannot be deleted. Use
/// the DetachCertificateFromDistribution
action to detach a certificate
/// from a distribution.
///
///
/// Container for the necessary parameters to execute the DeleteCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteCertificate service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteCertificate Operation
Task DeleteCertificateAsync(DeleteCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteContactMethod
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DeleteContactMethod service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteContactMethod service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteContactMethod Operation
Task DeleteContactMethodAsync(DeleteContactMethodRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteContainerImage
///
/// Deletes a container image that is registered to your Amazon Lightsail container service.
///
/// Container for the necessary parameters to execute the DeleteContainerImage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteContainerImage service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteContainerImage Operation
Task DeleteContainerImageAsync(DeleteContainerImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteContainerService
///
/// Deletes your Amazon Lightsail container service.
///
/// Container for the necessary parameters to execute the DeleteContainerService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteContainerService service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteContainerService Operation
Task DeleteContainerServiceAsync(DeleteContainerServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDisk
///
/// Deletes the specified block storage disk. The disk must be in the available
/// state (not attached to a Lightsail instance).
///
///
///
/// The disk may remain in the deleting
state for several minutes.
///
///
///
/// The delete disk
operation supports tag-based access control via resource
/// tags applied to the resource identified by disk name
. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteDisk service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDisk service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteDisk Operation
Task DeleteDiskAsync(DeleteDiskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDiskSnapshot
///
/// Deletes the specified disk snapshot.
///
///
///
/// When you make periodic snapshots of a disk, the snapshots are incremental, and only
/// the blocks on the device that have changed since your last snapshot are saved in the
/// new snapshot. When you delete a snapshot, only the data not needed for any other snapshot
/// is removed. So regardless of which prior snapshots have been deleted, all active snapshots
/// will have access to all the information needed to restore the disk.
///
///
///
/// The delete disk snapshot
operation supports tag-based access control
/// via resource tags applied to the resource identified by disk snapshot name
.
/// For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteDiskSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDiskSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteDiskSnapshot Operation
Task DeleteDiskSnapshotAsync(DeleteDiskSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDistribution
///
/// Deletes your Amazon Lightsail content delivery network (CDN) distribution.
///
/// Container for the necessary parameters to execute the DeleteDistribution service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDistribution service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteDistribution Operation
Task DeleteDistributionAsync(DeleteDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDomain
///
/// Deletes the specified domain recordset and all of its domain records.
///
///
///
/// The delete domain
operation supports tag-based access control via resource
/// tags applied to the resource identified by domain name
. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDomain service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteDomain Operation
Task DeleteDomainAsync(DeleteDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDomainEntry
///
/// Deletes a specific domain entry.
///
///
///
/// The delete domain entry
operation supports tag-based access control via
/// resource tags applied to the resource identified by domain name
. For
/// more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteDomainEntry service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDomainEntry service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteDomainEntry Operation
Task DeleteDomainEntryAsync(DeleteDomainEntryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteInstance
///
/// Deletes an Amazon Lightsail instance.
///
///
///
/// The delete instance
operation supports tag-based access control via resource
/// tags applied to the resource identified by instance name
. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteInstance service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteInstance Operation
Task DeleteInstanceAsync(DeleteInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteInstanceSnapshot
///
/// Deletes a specific snapshot of a virtual private server (or instance).
///
///
///
/// The delete instance snapshot
operation supports tag-based access control
/// via resource tags applied to the resource identified by instance snapshot name
.
/// For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteInstanceSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteInstanceSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteInstanceSnapshot Operation
Task DeleteInstanceSnapshotAsync(DeleteInstanceSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteKeyPair
///
/// Deletes the specified key pair by removing the public key from Amazon Lightsail.
///
///
///
/// You can delete key pairs that were created using the ImportKeyPair
/// and CreateKeyPair
/// actions, as well as the Lightsail default key pair. A new default key pair will not
/// be created unless you launch an instance without specifying a custom key pair, or
/// you call the DownloadDefaultKeyPair
/// API.
///
///
///
/// The delete key pair
operation supports tag-based access control via resource
/// tags applied to the resource identified by key pair name
. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteKeyPair service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteKeyPair service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteKeyPair Operation
Task DeleteKeyPairAsync(DeleteKeyPairRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteKnownHostKeys
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DeleteKnownHostKeys service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteKnownHostKeys service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteKnownHostKeys Operation
Task DeleteKnownHostKeysAsync(DeleteKnownHostKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteLoadBalancer
///
/// Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once
/// the load balancer is deleted, you will need to create a new load balancer, create
/// a new certificate, and verify domain ownership again.
///
///
///
/// The delete load balancer
operation supports tag-based access control
/// via resource tags applied to the resource identified by load balancer name
.
/// For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteLoadBalancer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteLoadBalancer service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteLoadBalancer Operation
Task DeleteLoadBalancerAsync(DeleteLoadBalancerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteLoadBalancerTlsCertificate
///
/// Deletes an SSL/TLS certificate associated with a Lightsail load balancer.
///
///
///
/// The DeleteLoadBalancerTlsCertificate
operation supports tag-based access
/// control via resource tags applied to the resource identified by load balancer
/// name
. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteLoadBalancerTlsCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteLoadBalancerTlsCertificate service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteLoadBalancerTlsCertificate Operation
Task DeleteLoadBalancerTlsCertificateAsync(DeleteLoadBalancerTlsCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRelationalDatabase
///
/// Deletes a database in Amazon Lightsail.
///
///
///
/// The delete relational database
operation supports tag-based access control
/// via resource tags applied to the resource identified by relationalDatabaseName. For
/// more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteRelationalDatabase service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteRelationalDatabase service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteRelationalDatabase Operation
Task DeleteRelationalDatabaseAsync(DeleteRelationalDatabaseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRelationalDatabaseSnapshot
///
/// Deletes a database snapshot in Amazon Lightsail.
///
///
///
/// The delete relational database snapshot
operation supports tag-based
/// access control via resource tags applied to the resource identified by relationalDatabaseName.
/// For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DeleteRelationalDatabaseSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteRelationalDatabaseSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DeleteRelationalDatabaseSnapshot Operation
Task DeleteRelationalDatabaseSnapshotAsync(DeleteRelationalDatabaseSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DetachCertificateFromDistribution
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DetachCertificateFromDistribution service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DetachCertificateFromDistribution service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DetachCertificateFromDistribution Operation
Task DetachCertificateFromDistributionAsync(DetachCertificateFromDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DetachDisk
///
/// Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount
/// any file systems on the device within your operating system before stopping the instance
/// and detaching the disk.
///
///
///
/// The detach disk
operation supports tag-based access control via resource
/// tags applied to the resource identified by disk name
. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DetachDisk service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DetachDisk service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DetachDisk Operation
Task DetachDiskAsync(DetachDiskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DetachInstancesFromLoadBalancer
///
/// Detaches the specified instances from a Lightsail load balancer.
///
///
///
/// This operation waits until the instances are no longer needed before they are detached
/// from the load balancer.
///
///
///
/// The detach instances from load balancer
operation supports tag-based
/// access control via resource tags applied to the resource identified by load
/// balancer name
. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the DetachInstancesFromLoadBalancer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DetachInstancesFromLoadBalancer service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DetachInstancesFromLoadBalancer Operation
Task DetachInstancesFromLoadBalancerAsync(DetachInstancesFromLoadBalancerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DetachStaticIp
///
/// Detaches a static IP from the Amazon Lightsail instance to which it is attached.
///
/// Container for the necessary parameters to execute the DetachStaticIp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DetachStaticIp service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DetachStaticIp Operation
Task DetachStaticIpAsync(DetachStaticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisableAddOn
///
/// Disables an add-on for an Amazon Lightsail resource. For more information, see the
/// Amazon
/// Lightsail Developer Guide.
///
/// Container for the necessary parameters to execute the DisableAddOn service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisableAddOn service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DisableAddOn Operation
Task DisableAddOnAsync(DisableAddOnRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DownloadDefaultKeyPair
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DownloadDefaultKeyPair service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DownloadDefaultKeyPair service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for DownloadDefaultKeyPair Operation
Task DownloadDefaultKeyPairAsync(DownloadDefaultKeyPairRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region EnableAddOn
///
/// Enables or modifies an add-on for an Amazon Lightsail resource. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
/// Container for the necessary parameters to execute the EnableAddOn service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the EnableAddOn service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for EnableAddOn Operation
Task EnableAddOnAsync(EnableAddOnRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ExportSnapshot
///
/// Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic
/// Compute Cloud (Amazon EC2). This operation results in an export snapshot record that
/// can be used with the create cloud formation stack
operation to create
/// new Amazon EC2 instances.
///
///
///
/// Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs),
/// and the instance system disk appears as an Amazon Elastic Block Store (Amazon EBS)
/// volume. Exported disk snapshots appear in Amazon EC2 as Amazon EBS volumes. Snapshots
/// are exported to the same Amazon Web Services Region in Amazon EC2 as the source Lightsail
/// snapshot.
///
///
///
/// The export snapshot
operation supports tag-based access control via resource
/// tags applied to the resource identified by source snapshot name
. For
/// more information, see the Amazon
/// Lightsail Developer Guide.
///
///
///
/// Use the get instance snapshots
or get disk snapshots
operations
/// to get a list of snapshots that you can export to Amazon EC2.
///
///
///
/// Container for the necessary parameters to execute the ExportSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ExportSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for ExportSnapshot Operation
Task ExportSnapshotAsync(ExportSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetActiveNames
///
/// Returns the names of all active (not deleted) resources.
///
/// Container for the necessary parameters to execute the GetActiveNames service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetActiveNames service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetActiveNames Operation
Task GetActiveNamesAsync(GetActiveNamesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAlarms
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetAlarms service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAlarms service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetAlarms Operation
Task GetAlarmsAsync(GetAlarmsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAutoSnapshots
///
/// Returns the available automatic snapshots for an instance or disk. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
/// Container for the necessary parameters to execute the GetAutoSnapshots service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetAutoSnapshots service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetAutoSnapshots Operation
Task GetAutoSnapshotsAsync(GetAutoSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBlueprints
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the GetBlueprints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetBlueprints service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetBlueprints Operation
Task GetBlueprintsAsync(GetBlueprintsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBucketAccessKeys
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the GetBucketAccessKeys service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetBucketAccessKeys service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetBucketAccessKeys Operation
Task GetBucketAccessKeysAsync(GetBucketAccessKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBucketBundles
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetBucketBundles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetBucketBundles service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetBucketBundles Operation
Task GetBucketBundlesAsync(GetBucketBundlesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBucketMetricData
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetBucketMetricData service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetBucketMetricData service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetBucketMetricData Operation
Task GetBucketMetricDataAsync(GetBucketMetricDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBuckets
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetBuckets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetBuckets service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetBuckets Operation
Task GetBucketsAsync(GetBucketsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetBundles
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the GetBundles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetBundles service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetBundles Operation
Task GetBundlesAsync(GetBundlesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCertificates
///
/// Returns information about one or more Amazon Lightsail SSL/TLS certificates.
///
///
///
/// To get a summary of a certificate, omit includeCertificateDetails
from
/// your request. The response will include only the certificate Amazon Resource Name
/// (ARN), certificate name, domain name, and tags.
///
///
///
/// Container for the necessary parameters to execute the GetCertificates service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCertificates service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetCertificates Operation
Task GetCertificatesAsync(GetCertificatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCloudFormationStackRecords
///
/// Returns the CloudFormation stack record created as a result of the create cloud
/// formation stack
operation.
///
///
///
/// An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported
/// Lightsail snapshot.
///
///
/// Container for the necessary parameters to execute the GetCloudFormationStackRecords service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCloudFormationStackRecords service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetCloudFormationStackRecords Operation
Task GetCloudFormationStackRecordsAsync(GetCloudFormationStackRecordsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContactMethods
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetContactMethods service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContactMethods service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetContactMethods Operation
Task GetContactMethodsAsync(GetContactMethodsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContainerAPIMetadata
///
/// Returns information about Amazon Lightsail containers, such as the current version
/// of the Lightsail Control (lightsailctl) plugin.
///
/// Container for the necessary parameters to execute the GetContainerAPIMetadata service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContainerAPIMetadata service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetContainerAPIMetadata Operation
Task GetContainerAPIMetadataAsync(GetContainerAPIMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContainerImages
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the GetContainerImages service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContainerImages service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetContainerImages Operation
Task GetContainerImagesAsync(GetContainerImagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContainerLog
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the GetContainerLog service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContainerLog service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetContainerLog Operation
Task GetContainerLogAsync(GetContainerLogRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContainerServiceDeployments
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the GetContainerServiceDeployments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContainerServiceDeployments service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetContainerServiceDeployments Operation
Task GetContainerServiceDeploymentsAsync(GetContainerServiceDeploymentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContainerServiceMetricData
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetContainerServiceMetricData service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContainerServiceMetricData service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetContainerServiceMetricData Operation
Task GetContainerServiceMetricDataAsync(GetContainerServiceMetricDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContainerServicePowers
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetContainerServicePowers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContainerServicePowers service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetContainerServicePowers Operation
Task GetContainerServicePowersAsync(GetContainerServicePowersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContainerServices
///
/// Returns information about one or more of your Amazon Lightsail container services.
///
/// Container for the necessary parameters to execute the GetContainerServices service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContainerServices service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetContainerServices Operation
Task GetContainerServicesAsync(GetContainerServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCostEstimate
///
/// Retrieves information about the cost estimate for a specified resource. A cost estimate
/// will not generate for a resource that has been deleted.
///
/// Container for the necessary parameters to execute the GetCostEstimate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetCostEstimate service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetCostEstimate Operation
Task GetCostEstimateAsync(GetCostEstimateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDisk
///
/// Returns information about a specific block storage disk.
///
/// Container for the necessary parameters to execute the GetDisk service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDisk service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetDisk Operation
Task GetDiskAsync(GetDiskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDisks
///
/// Returns information about all block storage disks in your AWS account and region.
///
/// Container for the necessary parameters to execute the GetDisks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDisks service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetDisks Operation
Task GetDisksAsync(GetDisksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDiskSnapshot
///
/// Returns information about a specific block storage disk snapshot.
///
/// Container for the necessary parameters to execute the GetDiskSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDiskSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetDiskSnapshot Operation
Task GetDiskSnapshotAsync(GetDiskSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDiskSnapshots
///
/// Returns information about all block storage disk snapshots in your AWS account and
/// region.
///
/// Container for the necessary parameters to execute the GetDiskSnapshots service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDiskSnapshots service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetDiskSnapshots Operation
Task GetDiskSnapshotsAsync(GetDiskSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDistributionBundles
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetDistributionBundles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDistributionBundles service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetDistributionBundles Operation
Task GetDistributionBundlesAsync(GetDistributionBundlesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDistributionLatestCacheReset
///
/// Returns the timestamp and status of the last cache reset of a specific Amazon Lightsail
/// content delivery network (CDN) distribution.
///
/// Container for the necessary parameters to execute the GetDistributionLatestCacheReset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDistributionLatestCacheReset service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetDistributionLatestCacheReset Operation
Task GetDistributionLatestCacheResetAsync(GetDistributionLatestCacheResetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDistributionMetricData
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetDistributionMetricData service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDistributionMetricData service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetDistributionMetricData Operation
Task GetDistributionMetricDataAsync(GetDistributionMetricDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDistributions
///
/// Returns information about one or more of your Amazon Lightsail content delivery network
/// (CDN) distributions.
///
/// Container for the necessary parameters to execute the GetDistributions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDistributions service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetDistributions Operation
Task GetDistributionsAsync(GetDistributionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomain
///
/// Returns information about a specific domain recordset.
///
/// Container for the necessary parameters to execute the GetDomain service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDomain service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetDomain Operation
Task GetDomainAsync(GetDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDomains
///
/// Returns a list of all domains in the user's account.
///
/// Container for the necessary parameters to execute the GetDomains service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDomains service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetDomains Operation
Task GetDomainsAsync(GetDomainsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetExportSnapshotRecords
///
/// Returns all export snapshot records created as a result of the export snapshot
/// operation.
///
///
///
/// An export snapshot record can be used to create a new Amazon EC2 instance and its
/// related resources with the CreateCloudFormationStack
/// action.
///
///
/// Container for the necessary parameters to execute the GetExportSnapshotRecords service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetExportSnapshotRecords service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetExportSnapshotRecords Operation
Task GetExportSnapshotRecordsAsync(GetExportSnapshotRecordsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInstance
///
/// Returns information about a specific Amazon Lightsail instance, which is a virtual
/// private server.
///
/// Container for the necessary parameters to execute the GetInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetInstance service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetInstance Operation
Task GetInstanceAsync(GetInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInstanceAccessDetails
///
/// Returns temporary SSH keys you can use to connect to a specific virtual private server,
/// or instance.
///
///
///
/// The get instance access details
operation supports tag-based access control
/// via resource tags applied to the resource identified by instance name
.
/// For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the GetInstanceAccessDetails service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetInstanceAccessDetails service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetInstanceAccessDetails Operation
Task GetInstanceAccessDetailsAsync(GetInstanceAccessDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInstanceMetricData
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetInstanceMetricData service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetInstanceMetricData service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetInstanceMetricData Operation
Task GetInstanceMetricDataAsync(GetInstanceMetricDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInstancePortStates
///
/// 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.
///
/// Container for the necessary parameters to execute the GetInstancePortStates service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetInstancePortStates service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetInstancePortStates Operation
Task GetInstancePortStatesAsync(GetInstancePortStatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInstances
///
/// Returns information about all Amazon Lightsail virtual private servers, or instances.
///
/// Container for the necessary parameters to execute the GetInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetInstances service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetInstances Operation
Task GetInstancesAsync(GetInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInstanceSnapshot
///
/// Returns information about a specific instance snapshot.
///
/// Container for the necessary parameters to execute the GetInstanceSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetInstanceSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetInstanceSnapshot Operation
Task GetInstanceSnapshotAsync(GetInstanceSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInstanceSnapshots
///
/// Returns all instance snapshots for the user's account.
///
/// Container for the necessary parameters to execute the GetInstanceSnapshots service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetInstanceSnapshots service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetInstanceSnapshots Operation
Task GetInstanceSnapshotsAsync(GetInstanceSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInstanceState
///
/// Returns the state of a specific instance. Works on one instance at a time.
///
/// Container for the necessary parameters to execute the GetInstanceState service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetInstanceState service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetInstanceState Operation
Task GetInstanceStateAsync(GetInstanceStateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetKeyPair
///
/// Returns information about a specific key pair.
///
/// Container for the necessary parameters to execute the GetKeyPair service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetKeyPair service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetKeyPair Operation
Task GetKeyPairAsync(GetKeyPairRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetKeyPairs
///
/// Returns information about all key pairs in the user's account.
///
/// Container for the necessary parameters to execute the GetKeyPairs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetKeyPairs service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetKeyPairs Operation
Task GetKeyPairsAsync(GetKeyPairsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetLoadBalancer
///
/// Returns information about the specified Lightsail load balancer.
///
/// Container for the necessary parameters to execute the GetLoadBalancer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetLoadBalancer service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetLoadBalancer Operation
Task GetLoadBalancerAsync(GetLoadBalancerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetLoadBalancerMetricData
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetLoadBalancerMetricData service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetLoadBalancerMetricData service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetLoadBalancerMetricData Operation
Task GetLoadBalancerMetricDataAsync(GetLoadBalancerMetricDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetLoadBalancers
///
/// Returns information about all load balancers in an account.
///
/// Container for the necessary parameters to execute the GetLoadBalancers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetLoadBalancers service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetLoadBalancers Operation
Task GetLoadBalancersAsync(GetLoadBalancersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetLoadBalancerTlsCertificates
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetLoadBalancerTlsCertificates service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetLoadBalancerTlsCertificates service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetLoadBalancerTlsCertificates Operation
Task GetLoadBalancerTlsCertificatesAsync(GetLoadBalancerTlsCertificatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetLoadBalancerTlsPolicies
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetLoadBalancerTlsPolicies service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetLoadBalancerTlsPolicies service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetLoadBalancerTlsPolicies Operation
Task GetLoadBalancerTlsPoliciesAsync(GetLoadBalancerTlsPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetOperation
///
/// 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.
///
/// Container for the necessary parameters to execute the GetOperation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetOperation service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetOperation Operation
Task GetOperationAsync(GetOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetOperations
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetOperations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetOperations service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetOperations Operation
Task GetOperationsAsync(GetOperationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetOperationsForResource
///
/// Gets operations for a specific resource (e.g., an instance or a static IP).
///
/// Container for the necessary parameters to execute the GetOperationsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetOperationsForResource service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetOperationsForResource Operation
Task GetOperationsForResourceAsync(GetOperationsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRegions
///
/// 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.
///
/// Container for the necessary parameters to execute the GetRegions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRegions service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRegions Operation
Task GetRegionsAsync(GetRegionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabase
///
/// Returns information about a specific database in Amazon Lightsail.
///
/// Container for the necessary parameters to execute the GetRelationalDatabase service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabase service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabase Operation
Task GetRelationalDatabaseAsync(GetRelationalDatabaseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabaseBlueprints
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetRelationalDatabaseBlueprints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabaseBlueprints service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabaseBlueprints Operation
Task GetRelationalDatabaseBlueprintsAsync(GetRelationalDatabaseBlueprintsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabaseBundles
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetRelationalDatabaseBundles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabaseBundles service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabaseBundles Operation
Task GetRelationalDatabaseBundlesAsync(GetRelationalDatabaseBundlesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabaseEvents
///
/// Returns a list of events for a specific database in Amazon Lightsail.
///
/// Container for the necessary parameters to execute the GetRelationalDatabaseEvents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabaseEvents service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabaseEvents Operation
Task GetRelationalDatabaseEventsAsync(GetRelationalDatabaseEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabaseLogEvents
///
/// Returns a list of log events for a database in Amazon Lightsail.
///
/// Container for the necessary parameters to execute the GetRelationalDatabaseLogEvents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabaseLogEvents service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabaseLogEvents Operation
Task GetRelationalDatabaseLogEventsAsync(GetRelationalDatabaseLogEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabaseLogStreams
///
/// Returns a list of available log streams for a specific database in Amazon Lightsail.
///
/// Container for the necessary parameters to execute the GetRelationalDatabaseLogStreams service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabaseLogStreams service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabaseLogStreams Operation
Task GetRelationalDatabaseLogStreamsAsync(GetRelationalDatabaseLogStreamsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabaseMasterUserPassword
///
/// Returns the current, previous, or pending versions of the master user password for
/// a Lightsail database.
///
///
///
/// The GetRelationalDatabaseMasterUserPassword
operation supports tag-based
/// access control via resource tags applied to the resource identified by relationalDatabaseName.
///
///
/// Container for the necessary parameters to execute the GetRelationalDatabaseMasterUserPassword service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabaseMasterUserPassword service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabaseMasterUserPassword Operation
Task GetRelationalDatabaseMasterUserPasswordAsync(GetRelationalDatabaseMasterUserPasswordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabaseMetricData
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetRelationalDatabaseMetricData service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabaseMetricData service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabaseMetricData Operation
Task GetRelationalDatabaseMetricDataAsync(GetRelationalDatabaseMetricDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabaseParameters
///
/// 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.
///
///
/// Container for the necessary parameters to execute the GetRelationalDatabaseParameters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabaseParameters service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabaseParameters Operation
Task GetRelationalDatabaseParametersAsync(GetRelationalDatabaseParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabases
///
/// Returns information about all of your databases in Amazon Lightsail.
///
/// Container for the necessary parameters to execute the GetRelationalDatabases service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabases service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabases Operation
Task GetRelationalDatabasesAsync(GetRelationalDatabasesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabaseSnapshot
///
/// Returns information about a specific database snapshot in Amazon Lightsail.
///
/// Container for the necessary parameters to execute the GetRelationalDatabaseSnapshot service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabaseSnapshot service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabaseSnapshot Operation
Task GetRelationalDatabaseSnapshotAsync(GetRelationalDatabaseSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRelationalDatabaseSnapshots
///
/// Returns information about all of your database snapshots in Amazon Lightsail.
///
/// Container for the necessary parameters to execute the GetRelationalDatabaseSnapshots service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRelationalDatabaseSnapshots service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetRelationalDatabaseSnapshots Operation
Task GetRelationalDatabaseSnapshotsAsync(GetRelationalDatabaseSnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStaticIp
///
/// Returns information about an Amazon Lightsail static IP.
///
/// Container for the necessary parameters to execute the GetStaticIp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetStaticIp service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetStaticIp Operation
Task GetStaticIpAsync(GetStaticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetStaticIps
///
/// Returns information about all static IPs in the user's account.
///
/// Container for the necessary parameters to execute the GetStaticIps service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetStaticIps service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for GetStaticIps Operation
Task GetStaticIpsAsync(GetStaticIpsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ImportKeyPair
///
/// Imports a public SSH key from a specific key pair.
///
/// Container for the necessary parameters to execute the ImportKeyPair service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ImportKeyPair service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for ImportKeyPair Operation
Task ImportKeyPairAsync(ImportKeyPairRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region IsVpcPeered
///
/// Returns a Boolean value indicating whether your Lightsail VPC is peered.
///
/// Container for the necessary parameters to execute the IsVpcPeered service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the IsVpcPeered service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for IsVpcPeered Operation
Task IsVpcPeeredAsync(IsVpcPeeredRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region OpenInstancePublicPorts
///
/// Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses
/// allowed to connect to the instance through the ports, and the protocol.
///
///
///
/// The OpenInstancePublicPorts
action supports tag-based access control
/// via resource tags applied to the resource identified by instanceName
.
/// For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the OpenInstancePublicPorts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the OpenInstancePublicPorts service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for OpenInstancePublicPorts Operation
Task OpenInstancePublicPortsAsync(OpenInstancePublicPortsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PeerVpc
///
/// Peers the Lightsail VPC with the user's default VPC.
///
/// Container for the necessary parameters to execute the PeerVpc service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PeerVpc service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for PeerVpc Operation
Task PeerVpcAsync(PeerVpcRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutAlarm
///
/// 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.
///
///
/// Container for the necessary parameters to execute the PutAlarm service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutAlarm service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for PutAlarm Operation
Task PutAlarmAsync(PutAlarmRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutInstancePublicPorts
///
/// Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses
/// allowed to connect to the instance through the ports, and the protocol. This action
/// also closes all currently open ports that are not included in the request. Include
/// all of the ports and the protocols you want to open in your PutInstancePublicPorts
request.
/// Or use the OpenInstancePublicPorts
action to open ports without closing
/// currently open ports.
///
///
///
/// The PutInstancePublicPorts
action supports tag-based access control via
/// resource tags applied to the resource identified by instanceName
. For
/// more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the PutInstancePublicPorts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutInstancePublicPorts service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for PutInstancePublicPorts Operation
Task PutInstancePublicPortsAsync(PutInstancePublicPortsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RebootInstance
///
/// Restarts a specific instance.
///
///
///
/// The reboot instance
operation supports tag-based access control via resource
/// tags applied to the resource identified by instance name
. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the RebootInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RebootInstance service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for RebootInstance Operation
Task RebootInstanceAsync(RebootInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RebootRelationalDatabase
///
/// Restarts a specific database in Amazon Lightsail.
///
///
///
/// The reboot relational database
operation supports tag-based access control
/// via resource tags applied to the resource identified by relationalDatabaseName. For
/// more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the RebootRelationalDatabase service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RebootRelationalDatabase service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for RebootRelationalDatabase Operation
Task RebootRelationalDatabaseAsync(RebootRelationalDatabaseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RegisterContainerImage
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the RegisterContainerImage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RegisterContainerImage service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for RegisterContainerImage Operation
Task RegisterContainerImageAsync(RegisterContainerImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ReleaseStaticIp
///
/// Deletes a specific static IP from your account.
///
/// Container for the necessary parameters to execute the ReleaseStaticIp service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ReleaseStaticIp service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for ReleaseStaticIp Operation
Task ReleaseStaticIpAsync(ReleaseStaticIpRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ResetDistributionCache
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ResetDistributionCache service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ResetDistributionCache service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for ResetDistributionCache Operation
Task ResetDistributionCacheAsync(ResetDistributionCacheRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SendContactMethodVerification
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the SendContactMethodVerification service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SendContactMethodVerification service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for SendContactMethodVerification Operation
Task SendContactMethodVerificationAsync(SendContactMethodVerificationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SetIpAddressType
///
/// 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.
///
///
/// Container for the necessary parameters to execute the SetIpAddressType service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SetIpAddressType service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for SetIpAddressType Operation
Task SetIpAddressTypeAsync(SetIpAddressTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SetResourceAccessForBucket
///
/// 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.
///
///
/// Container for the necessary parameters to execute the SetResourceAccessForBucket service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SetResourceAccessForBucket service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for SetResourceAccessForBucket Operation
Task SetResourceAccessForBucketAsync(SetResourceAccessForBucketRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartGUISession
///
/// 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.
///
/// Container for the necessary parameters to execute the StartGUISession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartGUISession service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for StartGUISession Operation
Task StartGUISessionAsync(StartGUISessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartInstance
///
/// Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance,
/// use the reboot instance
operation.
///
///
///
/// When you start a stopped instance, Lightsail assigns a new public IP address to the
/// instance. To use the same IP address after stopping and starting an instance, create
/// a static IP address and attach it to the instance. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
///
/// The start instance
operation supports tag-based access control via resource
/// tags applied to the resource identified by instance name
. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the StartInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartInstance service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for StartInstance Operation
Task StartInstanceAsync(StartInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartRelationalDatabase
///
/// Starts a specific database from a stopped state in Amazon Lightsail. To restart a
/// database, use the reboot relational database
operation.
///
///
///
/// The start relational database
operation supports tag-based access control
/// via resource tags applied to the resource identified by relationalDatabaseName. For
/// more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the StartRelationalDatabase service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartRelationalDatabase service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for StartRelationalDatabase Operation
Task StartRelationalDatabaseAsync(StartRelationalDatabaseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopGUISession
///
/// 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.
///
/// Container for the necessary parameters to execute the StopGUISession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopGUISession service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for StopGUISession Operation
Task StopGUISessionAsync(StopGUISessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopInstance
///
/// 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 instance
operation supports tag-based access control via resource
/// tags applied to the resource identified by instance name
. For more information,
/// see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the StopInstance service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopInstance service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for StopInstance Operation
Task StopInstanceAsync(StopInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopRelationalDatabase
///
/// Stops a specific database that is currently running in Amazon Lightsail.
///
///
///
/// The stop relational database
operation supports tag-based access control
/// via resource tags applied to the resource identified by relationalDatabaseName. For
/// more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the StopRelationalDatabase service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopRelationalDatabase service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for StopRelationalDatabase Operation
Task StopRelationalDatabaseAsync(StopRelationalDatabaseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// 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 resource
operation supports tag-based access control via request
/// tags and resource tags applied to the resource identified by resource name
.
/// For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TestAlarm
///
/// Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification
/// trigger is configured for the specified alarm, the test also sends a notification
/// to the notification protocol (Email
and/or SMS
) configured
/// for the alarm.
///
///
///
/// An alarm is used to monitor a single metric for one of your resources. When a metric
/// condition is met, the alarm can notify you by email, SMS text message, and a banner
/// displayed on the Amazon Lightsail console. For more information, see Alarms
/// in Amazon Lightsail.
///
///
/// Container for the necessary parameters to execute the TestAlarm service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TestAlarm service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for TestAlarm Operation
Task TestAlarmAsync(TestAlarmRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UnpeerVpc
///
/// Unpeers the Lightsail VPC from the user's default VPC.
///
/// Container for the necessary parameters to execute the UnpeerVpc service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UnpeerVpc service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UnpeerVpc Operation
Task UnpeerVpcAsync(UnpeerVpcRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Deletes the specified set of tag keys and their values from the specified Amazon Lightsail
/// resource.
///
///
///
/// The untag resource
operation supports tag-based access control via request
/// tags and resource tags applied to the resource identified by resource name
.
/// For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateBucket
///
/// 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.
///
///
/// Container for the necessary parameters to execute the UpdateBucket service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateBucket service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UpdateBucket Operation
Task UpdateBucketAsync(UpdateBucketRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateBucketBundle
///
/// 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 ableToUpdateBundle
parameter 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.
///
///
/// Container for the necessary parameters to execute the UpdateBucketBundle service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateBucketBundle service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UpdateBucketBundle Operation
Task UpdateBucketBundleAsync(UpdateBucketBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateContainerService
///
/// Updates the configuration of your Amazon Lightsail container service, such as its
/// power, scale, and public domain names.
///
/// Container for the necessary parameters to execute the UpdateContainerService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateContainerService service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UpdateContainerService Operation
Task UpdateContainerServiceAsync(UpdateContainerServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDistribution
///
/// Updates an existing Amazon Lightsail content delivery network (CDN) distribution.
///
///
///
/// Use this action to update the configuration of your existing distribution.
///
///
/// Container for the necessary parameters to execute the UpdateDistribution service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDistribution service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UpdateDistribution Operation
Task UpdateDistributionAsync(UpdateDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDistributionBundle
///
/// 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 GetDistributions
action. The ableToUpdateBundle
/// parameter in the result will indicate whether you can currently update your distribution's
/// bundle.
///
///
/// Container for the necessary parameters to execute the UpdateDistributionBundle service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDistributionBundle service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UpdateDistributionBundle Operation
Task UpdateDistributionBundleAsync(UpdateDistributionBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDomainEntry
///
/// Updates a domain recordset after it is created.
///
///
///
/// The update domain entry
operation supports tag-based access control via
/// resource tags applied to the resource identified by domain name
. For
/// more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the UpdateDomainEntry service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDomainEntry service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UpdateDomainEntry Operation
Task UpdateDomainEntryAsync(UpdateDomainEntryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateInstanceMetadataOptions
///
/// Modifies the Amazon Lightsail instance metadata parameters on a running or stopped
/// instance. When you modify the parameters on a running instance, the GetInstance
/// or GetInstances
API operation initially responds with a state of pending
.
/// After the parameter modifications are successfully applied, the state changes to applied
/// in subsequent GetInstance
or GetInstances
API calls. For
/// more information, see Use
/// IMDSv2 with an Amazon Lightsail instance in the Amazon Lightsail Developer
/// Guide.
///
/// Container for the necessary parameters to execute the UpdateInstanceMetadataOptions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateInstanceMetadataOptions service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UpdateInstanceMetadataOptions Operation
Task UpdateInstanceMetadataOptionsAsync(UpdateInstanceMetadataOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateLoadBalancerAttribute
///
/// Updates the specified attribute for a load balancer. You can only update one attribute
/// at a time.
///
///
///
/// The update load balancer attribute
operation supports tag-based access
/// control via resource tags applied to the resource identified by load balancer
/// name
. For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the UpdateLoadBalancerAttribute service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateLoadBalancerAttribute service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UpdateLoadBalancerAttribute Operation
Task UpdateLoadBalancerAttributeAsync(UpdateLoadBalancerAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRelationalDatabase
///
/// Allows the update of one or more attributes of a database in Amazon Lightsail.
///
///
///
/// Updates are applied immediately, or in cases where the updates could result in an
/// outage, are applied during the database's predefined maintenance window.
///
///
///
/// The update relational database
operation supports tag-based access control
/// via resource tags applied to the resource identified by relationalDatabaseName. For
/// more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the UpdateRelationalDatabase service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateRelationalDatabase service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UpdateRelationalDatabase Operation
Task UpdateRelationalDatabaseAsync(UpdateRelationalDatabaseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRelationalDatabaseParameters
///
/// Allows the update of one or more parameters of a database in Amazon Lightsail.
///
///
///
/// Parameter updates don't cause outages; therefore, their application is not subject
/// to the preferred maintenance window. However, there are two ways in which parameter
/// updates are applied: dynamic
or pending-reboot
. Parameters
/// marked with a dynamic
apply type are applied immediately. Parameters
/// marked with a pending-reboot
apply type are applied only after the database
/// is rebooted using the reboot relational database
operation.
///
///
///
/// The update relational database parameters
operation supports tag-based
/// access control via resource tags applied to the resource identified by relationalDatabaseName.
/// For more information, see the Amazon
/// Lightsail Developer Guide.
///
///
/// Container for the necessary parameters to execute the UpdateRelationalDatabaseParameters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateRelationalDatabaseParameters service method, as returned by Lightsail.
///
/// Lightsail throws this exception when the user cannot be authenticated or uses invalid
/// credentials to access a resource.
///
///
/// Lightsail throws this exception when an account is still in the setup in progress
/// state.
///
///
/// Lightsail throws this exception when user input does not conform to the validation
/// rules of an input field.
///
///
///
/// Domain and distribution APIs are only available in the N. Virginia (us-east-1
)
/// Amazon Web Services Region. Please set your Amazon Web Services Region configuration
/// to us-east-1
to create, view, or edit these resources.
///
///
///
///
/// Lightsail throws this exception when it cannot find a resource.
///
///
/// Lightsail throws this exception when an operation fails to execute.
///
///
/// A general service exception.
///
///
/// Lightsail throws this exception when the user has not been authenticated.
///
/// REST API Reference for UpdateRelationalDatabaseParameters Operation
Task UpdateRelationalDatabaseParametersAsync(UpdateRelationalDatabaseParametersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}