amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail

Contents

Description

Derived from API version 2016-11-28 of the AWS service descriptions, licensed under Apache 2.0.

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.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2016-11-28 of the Amazon Lightsail SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Lightsail.

AccessDeniedException

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to access a resource.

AccountSetupInProgressException

_AccountSetupInProgressException :: AsError a => Fold a ServiceError Source #

Lightsail throws this exception when an account is still in the setup in progress state.

InvalidInputException

_InvalidInputException :: AsError a => Fold a ServiceError Source #

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.

NotFoundException

_NotFoundException :: AsError a => Fold a ServiceError Source #

Lightsail throws this exception when it cannot find a resource.

OperationFailureException

_OperationFailureException :: AsError a => Fold a ServiceError Source #

Lightsail throws this exception when an operation fails to execute.

ServiceException

_ServiceException :: AsError a => Fold a ServiceError Source #

A general service exception.

UnauthenticatedException

_UnauthenticatedException :: AsError a => Fold a ServiceError Source #

Lightsail throws this exception when the user has not been authenticated.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

AllocateStaticIp

data AllocateStaticIp Source #

See: newAllocateStaticIp smart constructor.

Constructors

AllocateStaticIp' Text 

Instances

Instances details
ToJSON AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

ToHeaders AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

ToPath AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

ToQuery AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

AWSRequest AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Associated Types

type AWSResponse AllocateStaticIp #

Generic AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Associated Types

type Rep AllocateStaticIp :: Type -> Type #

Read AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Show AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

NFData AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Methods

rnf :: AllocateStaticIp -> () #

Eq AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Hashable AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

type AWSResponse AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

type Rep AllocateStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

type Rep AllocateStaticIp = D1 ('MetaData "AllocateStaticIp" "Amazonka.Lightsail.AllocateStaticIp" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AllocateStaticIp'" 'PrefixI 'True) (S1 ('MetaSel ('Just "staticIpName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAllocateStaticIp Source #

Create a value of AllocateStaticIp with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:staticIpName:AllocateStaticIp', allocateStaticIp_staticIpName - The name of the static IP address.

data AllocateStaticIpResponse Source #

See: newAllocateStaticIpResponse smart constructor.

Instances

Instances details
Generic AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Associated Types

type Rep AllocateStaticIpResponse :: Type -> Type #

Read AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Show AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

NFData AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

Eq AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

type Rep AllocateStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AllocateStaticIp

type Rep AllocateStaticIpResponse = D1 ('MetaData "AllocateStaticIpResponse" "Amazonka.Lightsail.AllocateStaticIp" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AllocateStaticIpResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAllocateStaticIpResponse Source #

Create a value of AllocateStaticIpResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:operations:AllocateStaticIpResponse', allocateStaticIpResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:AllocateStaticIpResponse', allocateStaticIpResponse_httpStatus - The response's http status code.

AttachCertificateToDistribution

data AttachCertificateToDistribution Source #

See: newAttachCertificateToDistribution smart constructor.

Instances

Instances details
ToJSON AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

ToHeaders AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

ToPath AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

ToQuery AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

AWSRequest AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

Generic AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

Associated Types

type Rep AttachCertificateToDistribution :: Type -> Type #

Read AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

Show AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

NFData AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

Eq AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

Hashable AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

type AWSResponse AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

type Rep AttachCertificateToDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

type Rep AttachCertificateToDistribution = D1 ('MetaData "AttachCertificateToDistribution" "Amazonka.Lightsail.AttachCertificateToDistribution" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AttachCertificateToDistribution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "distributionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAttachCertificateToDistribution Source #

Create a value of AttachCertificateToDistribution with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:distributionName:AttachCertificateToDistribution', attachCertificateToDistribution_distributionName - The name of the distribution that the certificate will be attached to.

Use the GetDistributions action to get a list of distribution names that you can specify.

AttachCertificateToDistribution, attachCertificateToDistribution_certificateName - The name of the certificate to attach to a distribution.

Only certificates with a status of ISSUED can be attached to a distribution.

Use the GetCertificates action to get a list of certificate names that you can specify.

This is the name of the certificate resource type and is used only to reference the certificate in other API actions. It can be different than the domain name of the certificate. For example, your certificate name might be WordPress-Blog-Certificate and the domain name of the certificate might be example.com.

data AttachCertificateToDistributionResponse Source #

Instances

Instances details
Generic AttachCertificateToDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

Read AttachCertificateToDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

Show AttachCertificateToDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

NFData AttachCertificateToDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

Eq AttachCertificateToDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

type Rep AttachCertificateToDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachCertificateToDistribution

type Rep AttachCertificateToDistributionResponse = D1 ('MetaData "AttachCertificateToDistributionResponse" "Amazonka.Lightsail.AttachCertificateToDistribution" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AttachCertificateToDistributionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Operation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAttachCertificateToDistributionResponse Source #

Create a value of AttachCertificateToDistributionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:operation:AttachCertificateToDistributionResponse', attachCertificateToDistributionResponse_operation - An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:AttachCertificateToDistributionResponse', attachCertificateToDistributionResponse_httpStatus - The response's http status code.

AttachDisk

data AttachDisk Source #

See: newAttachDisk smart constructor.

Constructors

AttachDisk' Text Text Text 

Instances

Instances details
ToJSON AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

ToHeaders AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

Methods

toHeaders :: AttachDisk -> [Header] #

ToPath AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

ToQuery AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

AWSRequest AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

Associated Types

type AWSResponse AttachDisk #

Generic AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

Associated Types

type Rep AttachDisk :: Type -> Type #

Read AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

Show AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

NFData AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

Methods

rnf :: AttachDisk -> () #

Eq AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

Hashable AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

type AWSResponse AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

type Rep AttachDisk Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

type Rep AttachDisk = D1 ('MetaData "AttachDisk" "Amazonka.Lightsail.AttachDisk" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AttachDisk'" 'PrefixI 'True) (S1 ('MetaSel ('Just "diskName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "instanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "diskPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAttachDisk Source #

Create a value of AttachDisk with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:diskName:AttachDisk', attachDisk_diskName - The unique Lightsail disk name (e.g., my-disk).

AttachDisk, attachDisk_instanceName - The name of the Lightsail instance where you want to utilize the storage disk.

$sel:diskPath:AttachDisk', attachDisk_diskPath - The disk path to expose to the instance (e.g., /dev/xvdf).

data AttachDiskResponse Source #

See: newAttachDiskResponse smart constructor.

Instances

Instances details
Generic AttachDiskResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

Associated Types

type Rep AttachDiskResponse :: Type -> Type #

Read AttachDiskResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

Show AttachDiskResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

NFData AttachDiskResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

Methods

rnf :: AttachDiskResponse -> () #

Eq AttachDiskResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

type Rep AttachDiskResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachDisk

type Rep AttachDiskResponse = D1 ('MetaData "AttachDiskResponse" "Amazonka.Lightsail.AttachDisk" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AttachDiskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAttachDiskResponse Source #

Create a value of AttachDiskResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:operations:AttachDiskResponse', attachDiskResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:AttachDiskResponse', attachDiskResponse_httpStatus - The response's http status code.

AttachInstancesToLoadBalancer

data AttachInstancesToLoadBalancer Source #

See: newAttachInstancesToLoadBalancer smart constructor.

Instances

Instances details
ToJSON AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

ToHeaders AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

ToPath AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

ToQuery AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

AWSRequest AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

Generic AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

Associated Types

type Rep AttachInstancesToLoadBalancer :: Type -> Type #

Read AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

Show AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

NFData AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

Eq AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

Hashable AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

type AWSResponse AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

type Rep AttachInstancesToLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

type Rep AttachInstancesToLoadBalancer = D1 ('MetaData "AttachInstancesToLoadBalancer" "Amazonka.Lightsail.AttachInstancesToLoadBalancer" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AttachInstancesToLoadBalancer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newAttachInstancesToLoadBalancer Source #

Create a value of AttachInstancesToLoadBalancer with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

AttachInstancesToLoadBalancer, attachInstancesToLoadBalancer_loadBalancerName - The name of the load balancer.

$sel:instanceNames:AttachInstancesToLoadBalancer', attachInstancesToLoadBalancer_instanceNames - An array of strings representing the instance name(s) you want to attach to your load balancer.

An instance must be running before you can attach it to your load balancer.

There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).

data AttachInstancesToLoadBalancerResponse Source #

Instances

Instances details
Generic AttachInstancesToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

Read AttachInstancesToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

Show AttachInstancesToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

NFData AttachInstancesToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

Eq AttachInstancesToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

type Rep AttachInstancesToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachInstancesToLoadBalancer

type Rep AttachInstancesToLoadBalancerResponse = D1 ('MetaData "AttachInstancesToLoadBalancerResponse" "Amazonka.Lightsail.AttachInstancesToLoadBalancer" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AttachInstancesToLoadBalancerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAttachInstancesToLoadBalancerResponse Source #

Create a value of AttachInstancesToLoadBalancerResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:operations:AttachInstancesToLoadBalancerResponse', attachInstancesToLoadBalancerResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:AttachInstancesToLoadBalancerResponse', attachInstancesToLoadBalancerResponse_httpStatus - The response's http status code.

AttachLoadBalancerTlsCertificate

data AttachLoadBalancerTlsCertificate Source #

See: newAttachLoadBalancerTlsCertificate smart constructor.

Instances

Instances details
ToJSON AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

ToHeaders AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

ToPath AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

ToQuery AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

AWSRequest AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Generic AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Associated Types

type Rep AttachLoadBalancerTlsCertificate :: Type -> Type #

Read AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Show AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

NFData AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Eq AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Hashable AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

type AWSResponse AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

type Rep AttachLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

type Rep AttachLoadBalancerTlsCertificate = D1 ('MetaData "AttachLoadBalancerTlsCertificate" "Amazonka.Lightsail.AttachLoadBalancerTlsCertificate" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AttachLoadBalancerTlsCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "certificateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAttachLoadBalancerTlsCertificate Source #

Create a value of AttachLoadBalancerTlsCertificate with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

AttachLoadBalancerTlsCertificate, attachLoadBalancerTlsCertificate_loadBalancerName - The name of the load balancer to which you want to associate the SSL/TLS certificate.

AttachLoadBalancerTlsCertificate, attachLoadBalancerTlsCertificate_certificateName - The name of your SSL/TLS certificate.

data AttachLoadBalancerTlsCertificateResponse Source #

Instances

Instances details
Generic AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Read AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Show AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

NFData AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

Eq AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

type Rep AttachLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachLoadBalancerTlsCertificate

type Rep AttachLoadBalancerTlsCertificateResponse = D1 ('MetaData "AttachLoadBalancerTlsCertificateResponse" "Amazonka.Lightsail.AttachLoadBalancerTlsCertificate" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AttachLoadBalancerTlsCertificateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAttachLoadBalancerTlsCertificateResponse Source #

Create a value of AttachLoadBalancerTlsCertificateResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:operations:AttachLoadBalancerTlsCertificateResponse', attachLoadBalancerTlsCertificateResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

These SSL/TLS certificates are only usable by Lightsail load balancers. You can't get the certificate and use it for another purpose.

$sel:httpStatus:AttachLoadBalancerTlsCertificateResponse', attachLoadBalancerTlsCertificateResponse_httpStatus - The response's http status code.

AttachStaticIp

data AttachStaticIp Source #

See: newAttachStaticIp smart constructor.

Constructors

AttachStaticIp' Text Text 

Instances

Instances details
ToJSON AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

ToHeaders AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

ToPath AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

ToQuery AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

AWSRequest AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

Associated Types

type AWSResponse AttachStaticIp #

Generic AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

Associated Types

type Rep AttachStaticIp :: Type -> Type #

Read AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

Show AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

NFData AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

Methods

rnf :: AttachStaticIp -> () #

Eq AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

Hashable AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

type AWSResponse AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

type Rep AttachStaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

type Rep AttachStaticIp = D1 ('MetaData "AttachStaticIp" "Amazonka.Lightsail.AttachStaticIp" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AttachStaticIp'" 'PrefixI 'True) (S1 ('MetaSel ('Just "staticIpName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAttachStaticIp Source #

Create a value of AttachStaticIp with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:staticIpName:AttachStaticIp', attachStaticIp_staticIpName - The name of the static IP.

AttachStaticIp, attachStaticIp_instanceName - The instance name to which you want to attach the static IP address.

data AttachStaticIpResponse Source #

See: newAttachStaticIpResponse smart constructor.

Instances

Instances details
Generic AttachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

Associated Types

type Rep AttachStaticIpResponse :: Type -> Type #

Read AttachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

Show AttachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

NFData AttachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

Methods

rnf :: AttachStaticIpResponse -> () #

Eq AttachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

type Rep AttachStaticIpResponse Source # 
Instance details

Defined in Amazonka.Lightsail.AttachStaticIp

type Rep AttachStaticIpResponse = D1 ('MetaData "AttachStaticIpResponse" "Amazonka.Lightsail.AttachStaticIp" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "AttachStaticIpResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAttachStaticIpResponse Source #

Create a value of AttachStaticIpResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:operations:AttachStaticIpResponse', attachStaticIpResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:AttachStaticIpResponse', attachStaticIpResponse_httpStatus - The response's http status code.

CloseInstancePublicPorts

data CloseInstancePublicPorts Source #

See: newCloseInstancePublicPorts smart constructor.

Instances

Instances details
ToJSON CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

ToHeaders CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

ToPath CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

ToQuery CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

AWSRequest CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

Generic CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

Associated Types

type Rep CloseInstancePublicPorts :: Type -> Type #

Read CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

Show CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

NFData CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

Eq CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

Hashable CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

type AWSResponse CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

type Rep CloseInstancePublicPorts Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

type Rep CloseInstancePublicPorts = D1 ('MetaData "CloseInstancePublicPorts" "Amazonka.Lightsail.CloseInstancePublicPorts" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "CloseInstancePublicPorts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "portInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PortInfo) :*: S1 ('MetaSel ('Just "instanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCloseInstancePublicPorts Source #

Create a value of CloseInstancePublicPorts with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:portInfo:CloseInstancePublicPorts', closeInstancePublicPorts_portInfo - An object to describe the ports to close for the specified instance.

CloseInstancePublicPorts, closeInstancePublicPorts_instanceName - The name of the instance for which to close ports.

data CloseInstancePublicPortsResponse Source #

See: newCloseInstancePublicPortsResponse smart constructor.

Instances

Instances details
Generic CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

Associated Types

type Rep CloseInstancePublicPortsResponse :: Type -> Type #

Read CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

Show CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

NFData CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

Eq CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

type Rep CloseInstancePublicPortsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CloseInstancePublicPorts

type Rep CloseInstancePublicPortsResponse = D1 ('MetaData "CloseInstancePublicPortsResponse" "Amazonka.Lightsail.CloseInstancePublicPorts" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "CloseInstancePublicPortsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Operation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCloseInstancePublicPortsResponse Source #

Create a value of CloseInstancePublicPortsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:operation:CloseInstancePublicPortsResponse', closeInstancePublicPortsResponse_operation - An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:CloseInstancePublicPortsResponse', closeInstancePublicPortsResponse_httpStatus - The response's http status code.

CopySnapshot

data CopySnapshot Source #

See: newCopySnapshot smart constructor.

Instances

Instances details
ToJSON CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

ToHeaders CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

ToPath CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

ToQuery CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

AWSRequest CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

Associated Types

type AWSResponse CopySnapshot #

Generic CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

Associated Types

type Rep CopySnapshot :: Type -> Type #

Read CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

Show CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

NFData CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

Methods

rnf :: CopySnapshot -> () #

Eq CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

Hashable CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

type AWSResponse CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

type Rep CopySnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

type Rep CopySnapshot = D1 ('MetaData "CopySnapshot" "Amazonka.Lightsail.CopySnapshot" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "CopySnapshot'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "restoreDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceResourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceSnapshotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "useLatestRestorableAutoSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "targetSnapshotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sourceRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RegionName)))))

newCopySnapshot Source #

Create a value of CopySnapshot with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:restoreDate:CopySnapshot', copySnapshot_restoreDate - The date of the source automatic snapshot to copy. Use the get auto snapshots operation to identify the dates of the available automatic snapshots.

Constraints:

  • Must be specified in YYYY-MM-DD format.
  • This parameter cannot be defined together with the use latest restorable auto snapshot parameter. The restore date and use latest restorable auto snapshot parameters are mutually exclusive.
  • Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.

$sel:sourceResourceName:CopySnapshot', copySnapshot_sourceResourceName - The name of the source instance or disk from which the source automatic snapshot was created.

Constraint:

$sel:sourceSnapshotName:CopySnapshot', copySnapshot_sourceSnapshotName - The name of the source manual snapshot to copy.

Constraint:

  • Define this parameter only when copying a manual snapshot as another manual snapshot.

$sel:useLatestRestorableAutoSnapshot:CopySnapshot', copySnapshot_useLatestRestorableAutoSnapshot - A Boolean value to indicate whether to use the latest available automatic snapshot of the specified source instance or disk.

Constraints:

  • This parameter cannot be defined together with the restore date parameter. The use latest restorable auto snapshot and restore date parameters are mutually exclusive.
  • Define this parameter only when copying an automatic snapshot as a manual snapshot. For more information, see the Amazon Lightsail Developer Guide.

$sel:targetSnapshotName:CopySnapshot', copySnapshot_targetSnapshotName - The name of the new manual snapshot to be created as a copy.

$sel:sourceRegion:CopySnapshot', copySnapshot_sourceRegion - The Amazon Web Services Region where the source manual or automatic snapshot is located.

data CopySnapshotResponse Source #

See: newCopySnapshotResponse smart constructor.

Instances

Instances details
Generic CopySnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

Associated Types

type Rep CopySnapshotResponse :: Type -> Type #

Read CopySnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

Show CopySnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

NFData CopySnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

Methods

rnf :: CopySnapshotResponse -> () #

Eq CopySnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

type Rep CopySnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.CopySnapshot

type Rep CopySnapshotResponse = D1 ('MetaData "CopySnapshotResponse" "Amazonka.Lightsail.CopySnapshot" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "CopySnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCopySnapshotResponse Source #

Create a value of CopySnapshotResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:operations:CopySnapshotResponse', copySnapshotResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:CopySnapshotResponse', copySnapshotResponse_httpStatus - The response's http status code.

CreateBucket