amazonka-lightsail-1.5.0: Amazon Lightsail SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lightsail

Contents

Description

Amazon Lightsail is the easiest way to get started with AWS for developers who just need virtual private servers. Lightsail includes everything you need to launch your project quickly - a virtual machine, SSD-based storage, data transfer, DNS management, and a static IP - for a low, predictable price. You manage those Lightsail servers through the Lightsail console or by using the API or command-line interface (CLI).

For more information about Lightsail concepts and tasks, see the Lightsail Dev Guide .

To use the Lightsail API or the CLI, you will need to use AWS Identity and Access Management (IAM) to generate access keys. For details about how to set this up, see the Lightsail Dev Guide .

Synopsis

Service Configuration

lightsail :: 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 => Getting (First ServiceError) 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 => Getting (First ServiceError) a ServiceError Source #

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

NotFoundException

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Lightsail throws this exception when it cannot find a resource.

OperationFailureException

_OperationFailureException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Lightsail throws this exception when an operation fails to execute.

ServiceException

_ServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

A general service exception.

UnauthenticatedException

_UnauthenticatedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

InvalidInputException

_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Lightsail throws this exception when user input does not conform to the validation rules of an input field.

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.

CloseInstancePublicPorts

AllocateStaticIP

DeleteKeyPair

DeleteInstanceSnapshot

GetInstances (Paginated)

GetInstance

AttachStaticIP

DownloadDefaultKeyPair

GetDomains (Paginated)

CreateDomainEntry

ImportKeyPair

GetInstanceSnapshots (Paginated)

ReleaseStaticIP

DeleteInstance

RebootInstance

GetInstanceSnapshot

GetDomain

GetActiveNames (Paginated)

GetInstanceAccessDetails

StopInstance

CreateInstanceSnapshot

IsVPCPeered

GetStaticIPs (Paginated)

UnpeerVPC

CreateInstancesFromSnapshot

CreateDomain

PeerVPC

GetStaticIP

GetBlueprints (Paginated)

GetInstancePortStates

DeleteDomainEntry

UpdateDomainEntry

GetRegions

GetInstanceState

GetKeyPairs (Paginated)

GetOperations (Paginated)

GetOperation

GetInstanceMetricData

GetKeyPair

PutInstancePublicPorts

DetachStaticIP

CreateInstances

OpenInstancePublicPorts

GetBundles (Paginated)

DeleteDomain

GetOperationsForResource

CreateKeyPair

StartInstance

Types

AccessDirection

data AccessDirection Source #

Constructors

Inbound 
Outbound 

Instances

Bounded AccessDirection Source # 
Enum AccessDirection Source # 
Eq AccessDirection Source # 
Data AccessDirection Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AccessDirection -> c AccessDirection #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AccessDirection #

toConstr :: AccessDirection -> Constr #

dataTypeOf :: AccessDirection -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AccessDirection) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AccessDirection) #

gmapT :: (forall b. Data b => b -> b) -> AccessDirection -> AccessDirection #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AccessDirection -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AccessDirection -> r #

gmapQ :: (forall d. Data d => d -> u) -> AccessDirection -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AccessDirection -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AccessDirection -> m AccessDirection #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AccessDirection -> m AccessDirection #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AccessDirection -> m AccessDirection #

Ord AccessDirection Source # 
Read AccessDirection Source # 
Show AccessDirection Source # 
Generic AccessDirection Source # 
Hashable AccessDirection Source # 
FromJSON AccessDirection Source # 
NFData AccessDirection Source # 

Methods

rnf :: AccessDirection -> () #

ToQuery AccessDirection Source # 
ToHeader AccessDirection Source # 
ToByteString AccessDirection Source # 
FromText AccessDirection Source # 
ToText AccessDirection Source # 
type Rep AccessDirection Source # 
type Rep AccessDirection = D1 (MetaData "AccessDirection" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) (C1 (MetaCons "Inbound" PrefixI False) U1) (C1 (MetaCons "Outbound" PrefixI False) U1))

BlueprintType

data BlueprintType Source #

Constructors

App 
OS 

Instances

Bounded BlueprintType Source # 
Enum BlueprintType Source # 
Eq BlueprintType Source # 
Data BlueprintType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BlueprintType -> c BlueprintType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BlueprintType #

toConstr :: BlueprintType -> Constr #

dataTypeOf :: BlueprintType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BlueprintType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BlueprintType) #

gmapT :: (forall b. Data b => b -> b) -> BlueprintType -> BlueprintType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BlueprintType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BlueprintType -> r #

gmapQ :: (forall d. Data d => d -> u) -> BlueprintType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BlueprintType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BlueprintType -> m BlueprintType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BlueprintType -> m BlueprintType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BlueprintType -> m BlueprintType #

Ord BlueprintType Source # 
Read BlueprintType Source # 
Show BlueprintType Source # 
Generic BlueprintType Source # 

Associated Types

type Rep BlueprintType :: * -> * #

Hashable BlueprintType Source # 
FromJSON BlueprintType Source # 
NFData BlueprintType Source # 

Methods

rnf :: BlueprintType -> () #

ToQuery BlueprintType Source # 
ToHeader BlueprintType Source # 
ToByteString BlueprintType Source # 
FromText BlueprintType Source # 
ToText BlueprintType Source # 

Methods

toText :: BlueprintType -> Text #

type Rep BlueprintType Source # 
type Rep BlueprintType = D1 (MetaData "BlueprintType" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) (C1 (MetaCons "App" PrefixI False) U1) (C1 (MetaCons "OS" PrefixI False) U1))

InstanceAccessProtocol

data InstanceAccessProtocol Source #

Constructors

Rdp 
SSH 

Instances

Bounded InstanceAccessProtocol Source # 
Enum InstanceAccessProtocol Source # 
Eq InstanceAccessProtocol Source # 
Data InstanceAccessProtocol Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceAccessProtocol -> c InstanceAccessProtocol #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceAccessProtocol #

toConstr :: InstanceAccessProtocol -> Constr #

dataTypeOf :: InstanceAccessProtocol -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstanceAccessProtocol) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceAccessProtocol) #

gmapT :: (forall b. Data b => b -> b) -> InstanceAccessProtocol -> InstanceAccessProtocol #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceAccessProtocol -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceAccessProtocol -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceAccessProtocol -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceAccessProtocol -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceAccessProtocol -> m InstanceAccessProtocol #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceAccessProtocol -> m InstanceAccessProtocol #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceAccessProtocol -> m InstanceAccessProtocol #

Ord InstanceAccessProtocol Source # 
Read InstanceAccessProtocol Source # 
Show InstanceAccessProtocol Source # 
Generic InstanceAccessProtocol Source # 
Hashable InstanceAccessProtocol Source # 
FromJSON InstanceAccessProtocol Source # 
ToJSON InstanceAccessProtocol Source # 
NFData InstanceAccessProtocol Source # 

Methods

rnf :: InstanceAccessProtocol -> () #

ToQuery InstanceAccessProtocol Source # 
ToHeader InstanceAccessProtocol Source # 
ToByteString InstanceAccessProtocol Source # 
FromText InstanceAccessProtocol Source # 
ToText InstanceAccessProtocol Source # 
type Rep InstanceAccessProtocol Source # 
type Rep InstanceAccessProtocol = D1 (MetaData "InstanceAccessProtocol" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) (C1 (MetaCons "Rdp" PrefixI False) U1) (C1 (MetaCons "SSH" PrefixI False) U1))

InstanceMetricName

data InstanceMetricName Source #

Instances

Bounded InstanceMetricName Source # 
Enum InstanceMetricName Source # 
Eq InstanceMetricName Source # 
Data InstanceMetricName Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceMetricName -> c InstanceMetricName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceMetricName #

toConstr :: InstanceMetricName -> Constr #

dataTypeOf :: InstanceMetricName -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstanceMetricName) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceMetricName) #

gmapT :: (forall b. Data b => b -> b) -> InstanceMetricName -> InstanceMetricName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceMetricName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceMetricName -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceMetricName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceMetricName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceMetricName -> m InstanceMetricName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceMetricName -> m InstanceMetricName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceMetricName -> m InstanceMetricName #

Ord InstanceMetricName Source # 
Read InstanceMetricName Source # 
Show InstanceMetricName Source # 
Generic InstanceMetricName Source # 
Hashable InstanceMetricName Source # 
FromJSON InstanceMetricName Source # 
ToJSON InstanceMetricName Source # 
NFData InstanceMetricName Source # 

Methods

rnf :: InstanceMetricName -> () #

ToQuery InstanceMetricName Source # 
ToHeader InstanceMetricName Source # 
ToByteString InstanceMetricName Source # 
FromText InstanceMetricName Source # 
ToText InstanceMetricName Source # 
type Rep InstanceMetricName Source # 
type Rep InstanceMetricName = D1 (MetaData "InstanceMetricName" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) ((:+:) (C1 (MetaCons "CPUUtilization" PrefixI False) U1) ((:+:) (C1 (MetaCons "NetworkIn" PrefixI False) U1) (C1 (MetaCons "NetworkOut" PrefixI False) U1))) ((:+:) (C1 (MetaCons "StatusCheckFailed" PrefixI False) U1) ((:+:) (C1 (MetaCons "StatusCheckFailedInstance" PrefixI False) U1) (C1 (MetaCons "StatusCheckFailedSystem" PrefixI False) U1))))

InstancePlatform

data InstancePlatform Source #

Constructors

LinuxUnix 
Windows 

Instances

Bounded InstancePlatform Source # 
Enum InstancePlatform Source # 
Eq InstancePlatform Source # 
Data InstancePlatform Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstancePlatform -> c InstancePlatform #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstancePlatform #

toConstr :: InstancePlatform -> Constr #

dataTypeOf :: InstancePlatform -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstancePlatform) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstancePlatform) #

gmapT :: (forall b. Data b => b -> b) -> InstancePlatform -> InstancePlatform #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstancePlatform -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstancePlatform -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstancePlatform -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstancePlatform -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstancePlatform -> m InstancePlatform #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstancePlatform -> m InstancePlatform #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstancePlatform -> m InstancePlatform #

Ord InstancePlatform Source # 
Read InstancePlatform Source # 
Show InstancePlatform Source # 
Generic InstancePlatform Source # 
Hashable InstancePlatform Source # 
FromJSON InstancePlatform Source # 
NFData InstancePlatform Source # 

Methods

rnf :: InstancePlatform -> () #

ToQuery InstancePlatform Source # 
ToHeader InstancePlatform Source # 
ToByteString InstancePlatform Source # 
FromText InstancePlatform Source # 
ToText InstancePlatform Source # 
type Rep InstancePlatform Source # 
type Rep InstancePlatform = D1 (MetaData "InstancePlatform" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) (C1 (MetaCons "LinuxUnix" PrefixI False) U1) (C1 (MetaCons "Windows" PrefixI False) U1))

InstanceSnapshotState

data InstanceSnapshotState Source #

Constructors

Available 
Error' 
Pending 

Instances

Bounded InstanceSnapshotState Source # 
Enum InstanceSnapshotState Source # 
Eq InstanceSnapshotState Source # 
Data InstanceSnapshotState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceSnapshotState -> c InstanceSnapshotState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceSnapshotState #

toConstr :: InstanceSnapshotState -> Constr #

dataTypeOf :: InstanceSnapshotState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstanceSnapshotState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceSnapshotState) #

gmapT :: (forall b. Data b => b -> b) -> InstanceSnapshotState -> InstanceSnapshotState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceSnapshotState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceSnapshotState -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceSnapshotState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceSnapshotState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceSnapshotState -> m InstanceSnapshotState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceSnapshotState -> m InstanceSnapshotState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceSnapshotState -> m InstanceSnapshotState #

Ord InstanceSnapshotState Source # 
Read InstanceSnapshotState Source # 
Show InstanceSnapshotState Source # 
Generic InstanceSnapshotState Source # 
Hashable InstanceSnapshotState Source # 
FromJSON InstanceSnapshotState Source # 
NFData InstanceSnapshotState Source # 

Methods

rnf :: InstanceSnapshotState -> () #

ToQuery InstanceSnapshotState Source # 
ToHeader InstanceSnapshotState Source # 
ToByteString InstanceSnapshotState Source # 
FromText InstanceSnapshotState Source # 
ToText InstanceSnapshotState Source # 
type Rep InstanceSnapshotState Source # 
type Rep InstanceSnapshotState = D1 (MetaData "InstanceSnapshotState" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) (C1 (MetaCons "Available" PrefixI False) U1) ((:+:) (C1 (MetaCons "Error'" PrefixI False) U1) (C1 (MetaCons "Pending" PrefixI False) U1)))

MetricStatistic

data MetricStatistic Source #

Instances

Bounded MetricStatistic Source # 
Enum MetricStatistic Source # 
Eq MetricStatistic Source # 
Data MetricStatistic Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricStatistic -> c MetricStatistic #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricStatistic #

toConstr :: MetricStatistic -> Constr #

dataTypeOf :: MetricStatistic -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MetricStatistic) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricStatistic) #

gmapT :: (forall b. Data b => b -> b) -> MetricStatistic -> MetricStatistic #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricStatistic -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricStatistic -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricStatistic -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricStatistic -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricStatistic -> m MetricStatistic #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricStatistic -> m MetricStatistic #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricStatistic -> m MetricStatistic #

Ord MetricStatistic Source # 
Read MetricStatistic Source # 
Show MetricStatistic Source # 
Generic MetricStatistic Source # 
Hashable MetricStatistic Source # 
ToJSON MetricStatistic Source # 
NFData MetricStatistic Source # 

Methods

rnf :: MetricStatistic -> () #

ToQuery MetricStatistic Source # 
ToHeader MetricStatistic Source # 
ToByteString MetricStatistic Source # 
FromText MetricStatistic Source # 
ToText MetricStatistic Source # 
type Rep MetricStatistic Source # 
type Rep MetricStatistic = D1 (MetaData "MetricStatistic" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) ((:+:) (C1 (MetaCons "Average" PrefixI False) U1) (C1 (MetaCons "Maximum" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Minimum" PrefixI False) U1) ((:+:) (C1 (MetaCons "SampleCount" PrefixI False) U1) (C1 (MetaCons "Sum" PrefixI False) U1))))

MetricUnit

data MetricUnit Source #

Instances

Bounded MetricUnit Source # 
Enum MetricUnit Source # 
Eq MetricUnit Source # 
Data MetricUnit Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricUnit -> c MetricUnit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricUnit #

toConstr :: MetricUnit -> Constr #

dataTypeOf :: MetricUnit -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MetricUnit) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricUnit) #

gmapT :: (forall b. Data b => b -> b) -> MetricUnit -> MetricUnit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricUnit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricUnit -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricUnit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricUnit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricUnit -> m MetricUnit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricUnit -> m MetricUnit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricUnit -> m MetricUnit #

Ord MetricUnit Source # 
Read MetricUnit Source # 
Show MetricUnit Source # 
Generic MetricUnit Source # 

Associated Types

type Rep MetricUnit :: * -> * #

Hashable MetricUnit Source # 
FromJSON MetricUnit Source # 
ToJSON MetricUnit Source # 
NFData MetricUnit Source # 

Methods

rnf :: MetricUnit -> () #

ToQuery MetricUnit Source # 
ToHeader MetricUnit Source # 
ToByteString MetricUnit Source # 
FromText MetricUnit Source # 
ToText MetricUnit Source # 

Methods

toText :: MetricUnit -> Text #

type Rep MetricUnit Source # 
type Rep MetricUnit = D1 (MetaData "MetricUnit" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Bits" PrefixI False) U1) ((:+:) (C1 (MetaCons "BitsSecond" PrefixI False) U1) (C1 (MetaCons "Bytes" PrefixI False) U1))) ((:+:) (C1 (MetaCons "BytesSecond" PrefixI False) U1) ((:+:) (C1 (MetaCons "Count" PrefixI False) U1) (C1 (MetaCons "CountSecond" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "Gigabits" PrefixI False) U1) ((:+:) (C1 (MetaCons "GigabitsSecond" PrefixI False) U1) (C1 (MetaCons "Gigabytes" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "GigabytesSecond" PrefixI False) U1) (C1 (MetaCons "Kilobits" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KilobitsSecond" PrefixI False) U1) (C1 (MetaCons "Kilobytes" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "KilobytesSecond" PrefixI False) U1) ((:+:) (C1 (MetaCons "Megabits" PrefixI False) U1) (C1 (MetaCons "MegabitsSecond" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Megabytes" PrefixI False) U1) (C1 (MetaCons "MegabytesSecond" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Microseconds" PrefixI False) U1) (C1 (MetaCons "Milliseconds" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "None" PrefixI False) U1) ((:+:) (C1 (MetaCons "Percent" PrefixI False) U1) (C1 (MetaCons "Seconds" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Terabits" PrefixI False) U1) (C1 (MetaCons "TerabitsSecond" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Terabytes" PrefixI False) U1) (C1 (MetaCons "TerabytesSecond" PrefixI False) U1))))))

NetworkProtocol

data NetworkProtocol Source #

Constructors

All 
TCP 
Udp 

Instances

Bounded NetworkProtocol Source # 
Enum NetworkProtocol Source # 
Eq NetworkProtocol Source # 
Data NetworkProtocol Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NetworkProtocol -> c NetworkProtocol #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NetworkProtocol #

toConstr :: NetworkProtocol -> Constr #

dataTypeOf :: NetworkProtocol -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NetworkProtocol) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NetworkProtocol) #

gmapT :: (forall b. Data b => b -> b) -> NetworkProtocol -> NetworkProtocol #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NetworkProtocol -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NetworkProtocol -> r #

gmapQ :: (forall d. Data d => d -> u) -> NetworkProtocol -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NetworkProtocol -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NetworkProtocol -> m NetworkProtocol #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkProtocol -> m NetworkProtocol #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkProtocol -> m NetworkProtocol #

Ord NetworkProtocol Source # 
Read NetworkProtocol Source # 
Show NetworkProtocol Source # 
Generic NetworkProtocol Source # 
Hashable NetworkProtocol Source # 
FromJSON NetworkProtocol Source # 
ToJSON NetworkProtocol Source # 
NFData NetworkProtocol Source # 

Methods

rnf :: NetworkProtocol -> () #

ToQuery NetworkProtocol Source # 
ToHeader NetworkProtocol Source # 
ToByteString NetworkProtocol Source # 
FromText NetworkProtocol Source # 
ToText NetworkProtocol Source # 
type Rep NetworkProtocol Source # 
type Rep NetworkProtocol = D1 (MetaData "NetworkProtocol" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) (C1 (MetaCons "All" PrefixI False) U1) ((:+:) (C1 (MetaCons "TCP" PrefixI False) U1) (C1 (MetaCons "Udp" PrefixI False) U1)))

OperationStatus

data OperationStatus Source #

Instances

Bounded OperationStatus Source # 
Enum OperationStatus Source # 
Eq OperationStatus Source # 
Data OperationStatus Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OperationStatus -> c OperationStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OperationStatus #

toConstr :: OperationStatus -> Constr #

dataTypeOf :: OperationStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OperationStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OperationStatus) #

gmapT :: (forall b. Data b => b -> b) -> OperationStatus -> OperationStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OperationStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OperationStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> OperationStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OperationStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OperationStatus -> m OperationStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationStatus -> m OperationStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationStatus -> m OperationStatus #

Ord OperationStatus Source # 
Read OperationStatus Source # 
Show OperationStatus Source # 
Generic OperationStatus Source # 
Hashable OperationStatus Source # 
FromJSON OperationStatus Source # 
NFData OperationStatus Source # 

Methods

rnf :: OperationStatus -> () #

ToQuery OperationStatus Source # 
ToHeader OperationStatus Source # 
ToByteString OperationStatus Source # 
FromText OperationStatus Source # 
ToText OperationStatus Source # 
type Rep OperationStatus Source # 
type Rep OperationStatus = D1 (MetaData "OperationStatus" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) ((:+:) (C1 (MetaCons "Completed" PrefixI False) U1) (C1 (MetaCons "Failed" PrefixI False) U1)) ((:+:) (C1 (MetaCons "NotStarted" PrefixI False) U1) (C1 (MetaCons "Started" PrefixI False) U1)))

OperationType

data OperationType Source #

Instances

Bounded OperationType Source # 
Enum OperationType Source # 
Eq OperationType Source # 
Data OperationType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OperationType -> c OperationType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OperationType #

toConstr :: OperationType -> Constr #

dataTypeOf :: OperationType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OperationType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OperationType) #

gmapT :: (forall b. Data b => b -> b) -> OperationType -> OperationType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OperationType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OperationType -> r #

gmapQ :: (forall d. Data d => d -> u) -> OperationType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OperationType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OperationType -> m OperationType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationType -> m OperationType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationType -> m OperationType #

Ord OperationType Source # 
Read OperationType Source # 
Show OperationType Source # 
Generic OperationType Source # 

Associated Types

type Rep OperationType :: * -> * #

Hashable OperationType Source # 
FromJSON OperationType Source # 
NFData OperationType Source # 

Methods

rnf :: OperationType -> () #

ToQuery OperationType Source # 
ToHeader OperationType Source # 
ToByteString OperationType Source # 
FromText OperationType Source # 
ToText OperationType Source # 

Methods

toText :: OperationType -> Text #

type Rep OperationType Source # 
type Rep OperationType = D1 (MetaData "OperationType" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "AllocateStaticIP" PrefixI False) U1) (C1 (MetaCons "AttachStaticIP" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CloseInstancePublicPorts" PrefixI False) U1) (C1 (MetaCons "CreateDomain" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "CreateInstance" PrefixI False) U1) (C1 (MetaCons "CreateInstanceSnapshot" PrefixI False) U1)) ((:+:) (C1 (MetaCons "CreateInstancesFromSnapshot" PrefixI False) U1) ((:+:) (C1 (MetaCons "DeleteDomain" PrefixI False) U1) (C1 (MetaCons "DeleteDomainEntry" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "DeleteInstance" PrefixI False) U1) (C1 (MetaCons "DeleteInstanceSnapshot" PrefixI False) U1)) ((:+:) (C1 (MetaCons "DetachStaticIP" PrefixI False) U1) ((:+:) (C1 (MetaCons "OpenInstancePublicPorts" PrefixI False) U1) (C1 (MetaCons "PutInstancePublicPorts" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "RebootInstance" PrefixI False) U1) (C1 (MetaCons "ReleaseStaticIP" PrefixI False) U1)) ((:+:) (C1 (MetaCons "StartInstance" PrefixI False) U1) ((:+:) (C1 (MetaCons "StopInstance" PrefixI False) U1) (C1 (MetaCons "UpdateDomainEntry" PrefixI False) U1))))))

PortAccessType

data PortAccessType Source #

Constructors

Private 
Public 

Instances

Bounded PortAccessType Source # 
Enum PortAccessType Source # 
Eq PortAccessType Source # 
Data PortAccessType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PortAccessType -> c PortAccessType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PortAccessType #

toConstr :: PortAccessType -> Constr #

dataTypeOf :: PortAccessType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PortAccessType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PortAccessType) #

gmapT :: (forall b. Data b => b -> b) -> PortAccessType -> PortAccessType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PortAccessType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PortAccessType -> r #

gmapQ :: (forall d. Data d => d -> u) -> PortAccessType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PortAccessType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PortAccessType -> m PortAccessType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PortAccessType -> m PortAccessType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PortAccessType -> m PortAccessType #

Ord PortAccessType Source # 
Read PortAccessType Source # 
Show PortAccessType Source # 
Generic PortAccessType Source # 

Associated Types

type Rep PortAccessType :: * -> * #

Hashable PortAccessType Source # 
FromJSON PortAccessType Source # 
NFData PortAccessType Source # 

Methods

rnf :: PortAccessType -> () #

ToQuery PortAccessType Source # 
ToHeader PortAccessType Source # 
ToByteString PortAccessType Source # 
FromText PortAccessType Source # 
ToText PortAccessType Source # 
type Rep PortAccessType Source # 
type Rep PortAccessType = D1 (MetaData "PortAccessType" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) (C1 (MetaCons "Private" PrefixI False) U1) (C1 (MetaCons "Public" PrefixI False) U1))

PortState

data PortState Source #

Constructors

Closed 
Open 

Instances

Bounded PortState Source # 
Enum PortState Source # 
Eq PortState Source # 
Data PortState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PortState -> c PortState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PortState #

toConstr :: PortState -> Constr #

dataTypeOf :: PortState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PortState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PortState) #

gmapT :: (forall b. Data b => b -> b) -> PortState -> PortState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PortState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PortState -> r #

gmapQ :: (forall d. Data d => d -> u) -> PortState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PortState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PortState -> m PortState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PortState -> m PortState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PortState -> m PortState #

Ord PortState Source # 
Read PortState Source # 
Show PortState Source # 
Generic PortState Source # 

Associated Types

type Rep PortState :: * -> * #

Hashable PortState Source # 
FromJSON PortState Source # 
NFData PortState Source # 

Methods

rnf :: PortState -> () #

ToQuery PortState Source # 
ToHeader PortState Source # 
ToByteString PortState Source # 

Methods

toBS :: PortState -> ByteString #

FromText PortState Source # 
ToText PortState Source # 

Methods

toText :: PortState -> Text #

type Rep PortState Source # 
type Rep PortState = D1 (MetaData "PortState" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) (C1 (MetaCons "Closed" PrefixI False) U1) (C1 (MetaCons "Open" PrefixI False) U1))

RegionName

data RegionName Source #

Instances

Bounded RegionName Source # 
Enum RegionName Source # 
Eq RegionName Source # 
Data RegionName Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RegionName -> c RegionName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RegionName #

toConstr :: RegionName -> Constr #

dataTypeOf :: RegionName -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RegionName) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RegionName) #

gmapT :: (forall b. Data b => b -> b) -> RegionName -> RegionName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RegionName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RegionName -> r #

gmapQ :: (forall d. Data d => d -> u) -> RegionName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RegionName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RegionName -> m RegionName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RegionName -> m RegionName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RegionName -> m RegionName #

Ord RegionName Source # 
Read RegionName Source # 
Show RegionName Source # 
Generic RegionName Source # 

Associated Types

type Rep RegionName :: * -> * #

Hashable RegionName Source # 
FromJSON RegionName Source # 
NFData RegionName Source # 

Methods

rnf :: RegionName -> () #

ToQuery RegionName Source # 
ToHeader RegionName Source # 
ToByteString RegionName Source # 
FromText RegionName Source # 
ToText RegionName Source # 

Methods

toText :: RegionName -> Text #

type Rep RegionName Source # 
type Rep RegionName = D1 (MetaData "RegionName" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "ApNortheast1" PrefixI False) U1) (C1 (MetaCons "ApNortheast2" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ApSouth1" PrefixI False) U1) ((:+:) (C1 (MetaCons "ApSoutheast1" PrefixI False) U1) (C1 (MetaCons "ApSoutheast2" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "EuCentral1" PrefixI False) U1) ((:+:) (C1 (MetaCons "EuWest1" PrefixI False) U1) (C1 (MetaCons "UsEast1" PrefixI False) U1))) ((:+:) (C1 (MetaCons "UsEast2" PrefixI False) U1) ((:+:) (C1 (MetaCons "UsWest1" PrefixI False) U1) (C1 (MetaCons "UsWest2" PrefixI False) U1)))))

ResourceType

data ResourceType Source #

Instances

Bounded ResourceType Source # 
Enum ResourceType Source # 
Eq ResourceType Source # 
Data ResourceType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResourceType -> c ResourceType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResourceType #

toConstr :: ResourceType -> Constr #

dataTypeOf :: ResourceType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResourceType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResourceType) #

gmapT :: (forall b. Data b => b -> b) -> ResourceType -> ResourceType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResourceType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResourceType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResourceType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResourceType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResourceType -> m ResourceType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceType -> m ResourceType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceType -> m ResourceType #

Ord ResourceType Source # 
Read ResourceType Source # 
Show ResourceType Source # 
Generic ResourceType Source # 

Associated Types

type Rep ResourceType :: * -> * #

Hashable ResourceType Source # 
FromJSON ResourceType Source # 
NFData ResourceType Source # 

Methods

rnf :: ResourceType -> () #

ToQuery ResourceType Source # 
ToHeader ResourceType Source # 
ToByteString ResourceType Source # 
FromText ResourceType Source # 
ToText ResourceType Source # 

Methods

toText :: ResourceType -> Text #

type Rep ResourceType Source # 
type Rep ResourceType = D1 (MetaData "ResourceType" "Network.AWS.Lightsail.Types.Sum" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) ((:+:) ((:+:) (C1 (MetaCons "Domain" PrefixI False) U1) ((:+:) (C1 (MetaCons "Instance" PrefixI False) U1) (C1 (MetaCons "InstanceSnapshot" PrefixI False) U1))) ((:+:) (C1 (MetaCons "KeyPair" PrefixI False) U1) ((:+:) (C1 (MetaCons "PeeredVPC" PrefixI False) U1) (C1 (MetaCons "StaticIP" PrefixI False) U1))))

AvailabilityZone

data AvailabilityZone Source #

Describes an Availability Zone.

See: availabilityZone smart constructor.

Instances

Eq AvailabilityZone Source # 
Data AvailabilityZone Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AvailabilityZone -> c AvailabilityZone #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AvailabilityZone #

toConstr :: AvailabilityZone -> Constr #

dataTypeOf :: AvailabilityZone -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AvailabilityZone) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AvailabilityZone) #

gmapT :: (forall b. Data b => b -> b) -> AvailabilityZone -> AvailabilityZone #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AvailabilityZone -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AvailabilityZone -> r #

gmapQ :: (forall d. Data d => d -> u) -> AvailabilityZone -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AvailabilityZone -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AvailabilityZone -> m AvailabilityZone #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AvailabilityZone -> m AvailabilityZone #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AvailabilityZone -> m AvailabilityZone #

Read AvailabilityZone Source # 
Show AvailabilityZone Source # 
Generic AvailabilityZone Source # 
Hashable AvailabilityZone Source # 
FromJSON AvailabilityZone Source # 
NFData AvailabilityZone Source # 

Methods

rnf :: AvailabilityZone -> () #

type Rep AvailabilityZone Source # 
type Rep AvailabilityZone = D1 (MetaData "AvailabilityZone" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "AvailabilityZone'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_azState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_azZoneName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

availabilityZone :: AvailabilityZone Source #

Creates a value of AvailabilityZone with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • azState - The state of the Availability Zone.
  • azZoneName - The name of the Availability Zone. The format is us-east-1a (case-sensitive).

azState :: Lens' AvailabilityZone (Maybe Text) Source #

The state of the Availability Zone.

azZoneName :: Lens' AvailabilityZone (Maybe Text) Source #

The name of the Availability Zone. The format is us-east-1a (case-sensitive).

Blueprint

data Blueprint Source #

Describes a blueprint (a virtual private server image).

See: blueprint smart constructor.

Instances

Eq Blueprint Source # 
Data Blueprint Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Blueprint -> c Blueprint #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Blueprint #

toConstr :: Blueprint -> Constr #

dataTypeOf :: Blueprint -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Blueprint) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Blueprint) #

gmapT :: (forall b. Data b => b -> b) -> Blueprint -> Blueprint #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Blueprint -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Blueprint -> r #

gmapQ :: (forall d. Data d => d -> u) -> Blueprint -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Blueprint -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Blueprint -> m Blueprint #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Blueprint -> m Blueprint #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Blueprint -> m Blueprint #

Read Blueprint Source # 
Show Blueprint Source # 
Generic Blueprint Source # 

Associated Types

type Rep Blueprint :: * -> * #

Hashable Blueprint Source # 
FromJSON Blueprint Source # 
NFData Blueprint Source # 

Methods

rnf :: Blueprint -> () #

type Rep Blueprint Source # 
type Rep Blueprint = D1 (MetaData "Blueprint" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "Blueprint'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bVersionCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bPlatform") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstancePlatform))) (S1 (MetaSel (Just Symbol "_bGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_bMinPower") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_bProductURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bLicenseURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bBlueprintId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_bType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BlueprintType))) ((:*:) (S1 (MetaSel (Just Symbol "_bIsActive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_bDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

blueprint :: Blueprint Source #

Creates a value of Blueprint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • bVersionCode - The version code.
  • bPlatform - The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.
  • bGroup - The group name of the blueprint (e.g., amazon-linux ).
  • bMinPower - The minimum bundle power required to run this blueprint. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500. 0 indicates that the blueprint runs on all instance sizes.
  • bProductURL - The product URL to learn more about the image or blueprint.
  • bLicenseURL - The end-user license agreement URL for the image or blueprint.
  • bName - The friendly name of the blueprint (e.g., Amazon Linux ).
  • bVersion - The version number of the operating system, application, or stack (e.g., 2016.03.0 ).
  • bBlueprintId - The ID for the virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0 ).
  • bType - The type of the blueprint (e.g., os or app ).
  • bIsActive - A Boolean value indicating whether the blueprint is active. When you update your blueprints, you will inactivate old blueprints and keep the most recent versions active.
  • bDescription - The description of the blueprint.

bVersionCode :: Lens' Blueprint (Maybe Text) Source #

The version code.

bPlatform :: Lens' Blueprint (Maybe InstancePlatform) Source #

The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.

bGroup :: Lens' Blueprint (Maybe Text) Source #

The group name of the blueprint (e.g., amazon-linux ).

bMinPower :: Lens' Blueprint (Maybe Int) Source #

The minimum bundle power required to run this blueprint. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500. 0 indicates that the blueprint runs on all instance sizes.

bProductURL :: Lens' Blueprint (Maybe Text) Source #

The product URL to learn more about the image or blueprint.

bLicenseURL :: Lens' Blueprint (Maybe Text) Source #

The end-user license agreement URL for the image or blueprint.

bName :: Lens' Blueprint (Maybe Text) Source #

The friendly name of the blueprint (e.g., Amazon Linux ).

bVersion :: Lens' Blueprint (Maybe Text) Source #

The version number of the operating system, application, or stack (e.g., 2016.03.0 ).

bBlueprintId :: Lens' Blueprint (Maybe Text) Source #

The ID for the virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0 ).

bType :: Lens' Blueprint (Maybe BlueprintType) Source #

The type of the blueprint (e.g., os or app ).

bIsActive :: Lens' Blueprint (Maybe Bool) Source #

A Boolean value indicating whether the blueprint is active. When you update your blueprints, you will inactivate old blueprints and keep the most recent versions active.

bDescription :: Lens' Blueprint (Maybe Text) Source #

The description of the blueprint.

Bundle

data Bundle Source #

Describes a bundle, which is a set of specs describing your virtual private server (or instance ).

See: bundle smart constructor.

Instances

Eq Bundle Source # 

Methods

(==) :: Bundle -> Bundle -> Bool #

(/=) :: Bundle -> Bundle -> Bool #

Data Bundle Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Bundle -> c Bundle #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Bundle #

toConstr :: Bundle -> Constr #

dataTypeOf :: Bundle -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Bundle) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Bundle) #

gmapT :: (forall b. Data b => b -> b) -> Bundle -> Bundle #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Bundle -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Bundle -> r #

gmapQ :: (forall d. Data d => d -> u) -> Bundle -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Bundle -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Bundle -> m Bundle #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Bundle -> m Bundle #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Bundle -> m Bundle #

Read Bundle Source # 
Show Bundle Source # 
Generic Bundle Source # 

Associated Types

type Rep Bundle :: * -> * #

Methods

from :: Bundle -> Rep Bundle x #

to :: Rep Bundle x -> Bundle #

Hashable Bundle Source # 

Methods

hashWithSalt :: Int -> Bundle -> Int #

hash :: Bundle -> Int #

FromJSON Bundle Source # 
NFData Bundle Source # 

Methods

rnf :: Bundle -> () #

type Rep Bundle Source # 
type Rep Bundle = D1 (MetaData "Bundle" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "Bundle'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bunCpuCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_bunTransferPerMonthInGb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_bunBundleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bunInstanceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bunName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bunPower") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_bunDiskSizeInGb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_bunSupportedPlatforms") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstancePlatform]))))) ((:*:) (S1 (MetaSel (Just Symbol "_bunPrice") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))) ((:*:) (S1 (MetaSel (Just Symbol "_bunIsActive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_bunRamSizeInGb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))))))))

bundle :: Bundle Source #

Creates a value of Bundle with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • bunCpuCount - The number of vCPUs included in the bundle (e.g., 2 ).
  • bunTransferPerMonthInGb - The data transfer rate per month in GB (e.g., 2000 ).
  • bunBundleId - The bundle ID (e.g., micro_1_0 ).
  • bunInstanceType - The Amazon EC2 instance type (e.g., t2.micro ).
  • bunName - A friendly name for the bundle (e.g., Micro ).
  • bunPower - A numeric value that represents the power of the bundle (e.g., 500 ). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.
  • bunDiskSizeInGb - The size of the SSD (e.g., 30 ).
  • bunSupportedPlatforms - The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.
  • bunPrice - The price in US dollars (e.g., 5.0 ).
  • bunIsActive - A Boolean value indicating whether the bundle is active.
  • bunRamSizeInGb - The amount of RAM in GB (e.g., 2.0 ).

bunCpuCount :: Lens' Bundle (Maybe Int) Source #

The number of vCPUs included in the bundle (e.g., 2 ).

bunTransferPerMonthInGb :: Lens' Bundle (Maybe Int) Source #

The data transfer rate per month in GB (e.g., 2000 ).

bunBundleId :: Lens' Bundle (Maybe Text) Source #

The bundle ID (e.g., micro_1_0 ).

bunInstanceType :: Lens' Bundle (Maybe Text) Source #

The Amazon EC2 instance type (e.g., t2.micro ).

bunName :: Lens' Bundle (Maybe Text) Source #

A friendly name for the bundle (e.g., Micro ).

bunPower :: Lens' Bundle (Maybe Int) Source #

A numeric value that represents the power of the bundle (e.g., 500 ). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

bunDiskSizeInGb :: Lens' Bundle (Maybe Int) Source #

The size of the SSD (e.g., 30 ).

bunSupportedPlatforms :: Lens' Bundle [InstancePlatform] Source #

The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

bunPrice :: Lens' Bundle (Maybe Double) Source #

The price in US dollars (e.g., 5.0 ).

bunIsActive :: Lens' Bundle (Maybe Bool) Source #

A Boolean value indicating whether the bundle is active.

bunRamSizeInGb :: Lens' Bundle (Maybe Double) Source #

The amount of RAM in GB (e.g., 2.0 ).

Disk

data Disk Source #

Describes the hard disk (an SSD).

See: disk smart constructor.

Instances

Eq Disk Source # 

Methods

(==) :: Disk -> Disk -> Bool #

(/=) :: Disk -> Disk -> Bool #

Data Disk Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Disk -> c Disk #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Disk #

toConstr :: Disk -> Constr #

dataTypeOf :: Disk -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Disk) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Disk) #

gmapT :: (forall b. Data b => b -> b) -> Disk -> Disk #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Disk -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Disk -> r #

gmapQ :: (forall d. Data d => d -> u) -> Disk -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Disk -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Disk -> m Disk #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Disk -> m Disk #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Disk -> m Disk #

Read Disk Source # 
Show Disk Source # 

Methods

showsPrec :: Int -> Disk -> ShowS #

show :: Disk -> String #

showList :: [Disk] -> ShowS #

Generic Disk Source # 

Associated Types

type Rep Disk :: * -> * #

Methods

from :: Disk -> Rep Disk x #

to :: Rep Disk x -> Disk #

Hashable Disk Source # 

Methods

hashWithSalt :: Int -> Disk -> Int #

hash :: Disk -> Int #

FromJSON Disk Source # 
NFData Disk Source # 

Methods

rnf :: Disk -> () #

type Rep Disk Source # 
type Rep Disk = D1 (MetaData "Disk" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "Disk'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceType))) ((:*:) (S1 (MetaSel (Just Symbol "_dArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_dLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceLocation)))) ((:*:) (S1 (MetaSel (Just Symbol "_dIops") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_dIsAttached") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dAttachmentState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dSizeInGb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dSupportCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dIsSystemDisk") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_dAttachedTo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dGbInUse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))))

disk :: Disk Source #

Creates a value of Disk with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dResourceType - The resource type of the disk.
  • dArn - The Amazon Resource Name (ARN) of the disk.
  • dPath - The disk path.
  • dCreatedAt - The date when the disk was created.
  • dLocation - The region and Availability Zone where the disk is located.
  • dIops - The input/output operations per second (IOPS) of the disk.
  • dIsAttached - A Boolean value indicating whether the disk is attached.
  • dAttachmentState - The attachment state of the disk.
  • dName - The name of the disk.
  • dSizeInGb - The size of the disk in GB.
  • dSupportCode - The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  • dIsSystemDisk - A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
  • dAttachedTo - The resources to which the disk is attached.
  • dGbInUse - The number of GB in use by the disk.

dResourceType :: Lens' Disk (Maybe ResourceType) Source #

The resource type of the disk.

dArn :: Lens' Disk (Maybe Text) Source #

The Amazon Resource Name (ARN) of the disk.

dPath :: Lens' Disk (Maybe Text) Source #

The disk path.

dCreatedAt :: Lens' Disk (Maybe UTCTime) Source #

The date when the disk was created.

dLocation :: Lens' Disk (Maybe ResourceLocation) Source #

The region and Availability Zone where the disk is located.

dIops :: Lens' Disk (Maybe Int) Source #

The input/output operations per second (IOPS) of the disk.

dIsAttached :: Lens' Disk (Maybe Bool) Source #

A Boolean value indicating whether the disk is attached.

dAttachmentState :: Lens' Disk (Maybe Text) Source #

The attachment state of the disk.

dName :: Lens' Disk (Maybe Text) Source #

The name of the disk.

dSizeInGb :: Lens' Disk (Maybe Int) Source #

The size of the disk in GB.

dSupportCode :: Lens' Disk (Maybe Text) Source #

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

dIsSystemDisk :: Lens' Disk (Maybe Bool) Source #

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

dAttachedTo :: Lens' Disk (Maybe Text) Source #

The resources to which the disk is attached.

dGbInUse :: Lens' Disk (Maybe Int) Source #

The number of GB in use by the disk.

Domain

data Domain Source #

Describes a domain where you are storing recordsets in Lightsail.

See: domain smart constructor.

Instances

Eq Domain Source # 

Methods

(==) :: Domain -> Domain -> Bool #

(/=) :: Domain -> Domain -> Bool #

Data Domain Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Domain -> c Domain #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Domain #

toConstr :: Domain -> Constr #

dataTypeOf :: Domain -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Domain) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Domain) #

gmapT :: (forall b. Data b => b -> b) -> Domain -> Domain #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Domain -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Domain -> r #

gmapQ :: (forall d. Data d => d -> u) -> Domain -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Domain -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Domain -> m Domain #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Domain -> m Domain #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Domain -> m Domain #

Read Domain Source # 
Show Domain Source # 
Generic Domain Source # 

Associated Types

type Rep Domain :: * -> * #

Methods

from :: Domain -> Rep Domain x #

to :: Rep Domain x -> Domain #

Hashable Domain Source # 

Methods

hashWithSalt :: Int -> Domain -> Int #

hash :: Domain -> Int #

FromJSON Domain Source # 
NFData Domain Source # 

Methods

rnf :: Domain -> () #

type Rep Domain Source # 

domain :: Domain Source #

Creates a value of Domain with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • domResourceType - The resource type.
  • domDomainEntries - An array of key-value pairs containing information about the domain entries.
  • domArn - The Amazon Resource Name (ARN) of the domain recordset (e.g., arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE ).
  • domCreatedAt - The date when the domain recordset was created.
  • domLocation - The AWS Region and Availability Zones where the domain recordset was created.
  • domName - The name of the domain.
  • domSupportCode - The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

domDomainEntries :: Lens' Domain [DomainEntry] Source #

An array of key-value pairs containing information about the domain entries.

domArn :: Lens' Domain (Maybe Text) Source #

The Amazon Resource Name (ARN) of the domain recordset (e.g., arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE ).

domCreatedAt :: Lens' Domain (Maybe UTCTime) Source #

The date when the domain recordset was created.

domLocation :: Lens' Domain (Maybe ResourceLocation) Source #

The AWS Region and Availability Zones where the domain recordset was created.

domName :: Lens' Domain (Maybe Text) Source #

The name of the domain.

domSupportCode :: Lens' Domain (Maybe Text) Source #

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

DomainEntry

data DomainEntry Source #

Describes a domain recordset entry.

See: domainEntry smart constructor.

Instances

Eq DomainEntry Source # 
Data DomainEntry Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DomainEntry -> c DomainEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DomainEntry #

toConstr :: DomainEntry -> Constr #

dataTypeOf :: DomainEntry -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DomainEntry) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DomainEntry) #

gmapT :: (forall b. Data b => b -> b) -> DomainEntry -> DomainEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DomainEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DomainEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> DomainEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DomainEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DomainEntry -> m DomainEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainEntry -> m DomainEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainEntry -> m DomainEntry #

Read DomainEntry Source # 
Show DomainEntry Source # 
Generic DomainEntry Source # 

Associated Types

type Rep DomainEntry :: * -> * #

Hashable DomainEntry Source # 
FromJSON DomainEntry Source # 
ToJSON DomainEntry Source # 
NFData DomainEntry Source # 

Methods

rnf :: DomainEntry -> () #

type Rep DomainEntry Source # 

domainEntry :: DomainEntry Source #

Creates a value of DomainEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • deName - The name of the domain.
  • deId - The ID of the domain recordset entry.
  • deOptions - The options for the domain entry.
  • deType - The type of domain entry (e.g., SOA or NS ).
  • deTarget - The target AWS name server (e.g., ns-111.awsdns-22.com. ).

deName :: Lens' DomainEntry (Maybe Text) Source #

The name of the domain.

deId :: Lens' DomainEntry (Maybe Text) Source #

The ID of the domain recordset entry.

deOptions :: Lens' DomainEntry (HashMap Text Text) Source #

The options for the domain entry.

deType :: Lens' DomainEntry (Maybe Text) Source #

The type of domain entry (e.g., SOA or NS ).

deTarget :: Lens' DomainEntry (Maybe Text) Source #

The target AWS name server (e.g., ns-111.awsdns-22.com. ).

Instance

data Instance Source #

Describes an instance (a virtual private server).

See: instance' smart constructor.

Instances

Eq Instance Source # 
Data Instance Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Instance -> c Instance #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Instance #

toConstr :: Instance -> Constr #

dataTypeOf :: Instance -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Instance) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Instance) #

gmapT :: (forall b. Data b => b -> b) -> Instance -> Instance #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Instance -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Instance -> r #

gmapQ :: (forall d. Data d => d -> u) -> Instance -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Instance -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Instance -> m Instance #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Instance -> m Instance #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Instance -> m Instance #

Read Instance Source # 
Show Instance Source # 
Generic Instance Source # 

Associated Types

type Rep Instance :: * -> * #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

Hashable Instance Source # 

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

FromJSON Instance Source # 
NFData Instance Source # 

Methods

rnf :: Instance -> () #

type Rep Instance Source # 
type Rep Instance = D1 (MetaData "Instance" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "Instance'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceState))) (S1 (MetaSel (Just Symbol "_iIpv6Address") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_iResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceType))) (S1 (MetaSel (Just Symbol "_iArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_iLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceLocation)))) ((:*:) (S1 (MetaSel (Just Symbol "_iSshKeyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_iUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iNetworking") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceNetworking))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iBundleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_iSupportCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iBlueprintId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iPrivateIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iBlueprintName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_iIsStaticIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_iPublicIPAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iHardware") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceHardware)))))))))

instance' :: Instance Source #

Creates a value of Instance with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • iState - The status code and the state (e.g., running ) for the instance.
  • iIpv6Address - The IPv6 address of the instance.
  • iResourceType - The type of resource (usually Instance ).
  • iArn - The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-1:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE ).
  • iCreatedAt - The timestamp when the instance was created (e.g., 1479734909.17 ).
  • iLocation - The region name and availability zone where the instance is located.
  • iSshKeyName - The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair ).
  • iUsername - The user name for connecting to the instance (e.g., ec2-user ).
  • iNetworking - Information about the public ports and monthly data transfer rates for the instance.
  • iBundleId - The bundle for the instance (e.g., micro_1_0 ).
  • iName - The name the user gave the instance (e.g., Amazon_Linux-1GB-Virginia-1 ).
  • iSupportCode - The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  • iBlueprintId - The blueprint ID (e.g., os_amlinux_2016_03 ).
  • iPrivateIPAddress - The private IP address of the instance.
  • iBlueprintName - The friendly name of the blueprint (e.g., Amazon Linux ).
  • iIsStaticIP - A Boolean value indicating whether this instance has a static IP assigned to it.
  • iPublicIPAddress - The public IP address of the instance.
  • iHardware - The size of the vCPU and the amount of RAM for the instance.

iState :: Lens' Instance (Maybe InstanceState) Source #

The status code and the state (e.g., running ) for the instance.

iIpv6Address :: Lens' Instance (Maybe Text) Source #

The IPv6 address of the instance.

iResourceType :: Lens' Instance (Maybe ResourceType) Source #

The type of resource (usually Instance ).

iArn :: Lens' Instance (Maybe Text) Source #

The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-1:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE ).

iCreatedAt :: Lens' Instance (Maybe UTCTime) Source #

The timestamp when the instance was created (e.g., 1479734909.17 ).

iLocation :: Lens' Instance (Maybe ResourceLocation) Source #

The region name and availability zone where the instance is located.

iSshKeyName :: Lens' Instance (Maybe Text) Source #

The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair ).

iUsername :: Lens' Instance (Maybe Text) Source #

The user name for connecting to the instance (e.g., ec2-user ).

iNetworking :: Lens' Instance (Maybe InstanceNetworking) Source #

Information about the public ports and monthly data transfer rates for the instance.

iBundleId :: Lens' Instance (Maybe Text) Source #

The bundle for the instance (e.g., micro_1_0 ).

iName :: Lens' Instance (Maybe Text) Source #

The name the user gave the instance (e.g., Amazon_Linux-1GB-Virginia-1 ).

iSupportCode :: Lens' Instance (Maybe Text) Source #

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

iBlueprintId :: Lens' Instance (Maybe Text) Source #

The blueprint ID (e.g., os_amlinux_2016_03 ).

iPrivateIPAddress :: Lens' Instance (Maybe Text) Source #

The private IP address of the instance.

iBlueprintName :: Lens' Instance (Maybe Text) Source #

The friendly name of the blueprint (e.g., Amazon Linux ).

iIsStaticIP :: Lens' Instance (Maybe Bool) Source #

A Boolean value indicating whether this instance has a static IP assigned to it.

iPublicIPAddress :: Lens' Instance (Maybe Text) Source #

The public IP address of the instance.

iHardware :: Lens' Instance (Maybe InstanceHardware) Source #

The size of the vCPU and the amount of RAM for the instance.

InstanceAccessDetails

data InstanceAccessDetails Source #

The parameters for gaining temporary access to one of your Amazon Lightsail instances.

See: instanceAccessDetails smart constructor.

Instances

Eq InstanceAccessDetails Source # 
Data InstanceAccessDetails Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceAccessDetails -> c InstanceAccessDetails #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceAccessDetails #

toConstr :: InstanceAccessDetails -> Constr #

dataTypeOf :: InstanceAccessDetails -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstanceAccessDetails) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceAccessDetails) #

gmapT :: (forall b. Data b => b -> b) -> InstanceAccessDetails -> InstanceAccessDetails #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceAccessDetails -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceAccessDetails -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceAccessDetails -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceAccessDetails -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceAccessDetails -> m InstanceAccessDetails #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceAccessDetails -> m InstanceAccessDetails #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceAccessDetails -> m InstanceAccessDetails #

Read InstanceAccessDetails Source # 
Show InstanceAccessDetails Source # 
Generic InstanceAccessDetails Source # 
Hashable InstanceAccessDetails Source # 
FromJSON InstanceAccessDetails Source # 
NFData InstanceAccessDetails Source # 

Methods

rnf :: InstanceAccessDetails -> () #

type Rep InstanceAccessDetails Source # 

instanceAccessDetails :: InstanceAccessDetails Source #

Creates a value of InstanceAccessDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • iadCertKey - For SSH access, the public key to use when accessing your instance For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey-cert.pub .
  • iadIpAddress - The public IP address of the Amazon Lightsail instance.
  • iadPrivateKey - For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey ).
  • iadExpiresAt - For SSH access, the date on which the temporary keys expire.
  • iadUsername - The user name to use when logging in to the Amazon Lightsail instance.
  • iadProtocol - The protocol for these Amazon Lightsail instance access details.
  • iadPasswordData - For a Windows Server-based instance, an object with the data you can use to retrieve your password. This is only needed if password is empty and the instance is not new (and therefore the password is not ready yet). When you create an instance, it can take up to 15 minutes for the instance to be ready.
  • iadPassword - For RDP access, the password for your Amazon Lightsail instance. Password will be an empty string if the password for your new instance is not ready yet. When you create an instance, it can take up to 15 minutes for the instance to be ready.
  • iadInstanceName - The name of this Amazon Lightsail instance.

iadCertKey :: Lens' InstanceAccessDetails (Maybe Text) Source #

For SSH access, the public key to use when accessing your instance For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey-cert.pub .

iadIpAddress :: Lens' InstanceAccessDetails (Maybe Text) Source #

The public IP address of the Amazon Lightsail instance.

iadPrivateKey :: Lens' InstanceAccessDetails (Maybe Text) Source #

For SSH access, the temporary private key. For OpenSSH clients (e.g., command line SSH), you should save this value to tempkey ).

iadExpiresAt :: Lens' InstanceAccessDetails (Maybe UTCTime) Source #

For SSH access, the date on which the temporary keys expire.

iadUsername :: Lens' InstanceAccessDetails (Maybe Text) Source #

The user name to use when logging in to the Amazon Lightsail instance.

iadProtocol :: Lens' InstanceAccessDetails (Maybe InstanceAccessProtocol) Source #

The protocol for these Amazon Lightsail instance access details.

iadPasswordData :: Lens' InstanceAccessDetails (Maybe PasswordData) Source #

For a Windows Server-based instance, an object with the data you can use to retrieve your password. This is only needed if password is empty and the instance is not new (and therefore the password is not ready yet). When you create an instance, it can take up to 15 minutes for the instance to be ready.

iadPassword :: Lens' InstanceAccessDetails (Maybe Text) Source #

For RDP access, the password for your Amazon Lightsail instance. Password will be an empty string if the password for your new instance is not ready yet. When you create an instance, it can take up to 15 minutes for the instance to be ready.

iadInstanceName :: Lens' InstanceAccessDetails (Maybe Text) Source #

The name of this Amazon Lightsail instance.

InstanceHardware

data InstanceHardware Source #

Describes the hardware for the instance.

See: instanceHardware smart constructor.

Instances

Eq InstanceHardware Source # 
Data InstanceHardware Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceHardware -> c InstanceHardware #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceHardware #

toConstr :: InstanceHardware -> Constr #

dataTypeOf :: InstanceHardware -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstanceHardware) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceHardware) #

gmapT :: (forall b. Data b => b -> b) -> InstanceHardware -> InstanceHardware #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceHardware -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceHardware -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceHardware -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceHardware -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceHardware -> m InstanceHardware #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceHardware -> m InstanceHardware #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceHardware -> m InstanceHardware #

Read InstanceHardware Source # 
Show InstanceHardware Source # 
Generic InstanceHardware Source # 
Hashable InstanceHardware Source # 
FromJSON InstanceHardware Source # 
NFData InstanceHardware Source # 

Methods

rnf :: InstanceHardware -> () #

type Rep InstanceHardware Source # 
type Rep InstanceHardware = D1 (MetaData "InstanceHardware" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "InstanceHardware'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ihCpuCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_ihDisks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Disk]))) (S1 (MetaSel (Just Symbol "_ihRamSizeInGb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))))))

instanceHardware :: InstanceHardware Source #

Creates a value of InstanceHardware with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ihCpuCount - The number of vCPUs the instance has.
  • ihDisks - The disks attached to the instance.
  • ihRamSizeInGb - The amount of RAM in GB on the instance (e.g., 1.0 ).

ihCpuCount :: Lens' InstanceHardware (Maybe Int) Source #

The number of vCPUs the instance has.

ihDisks :: Lens' InstanceHardware [Disk] Source #

The disks attached to the instance.

ihRamSizeInGb :: Lens' InstanceHardware (Maybe Double) Source #

The amount of RAM in GB on the instance (e.g., 1.0 ).

InstanceNetworking

data InstanceNetworking Source #

Describes monthly data transfer rates and port information for an instance.

See: instanceNetworking smart constructor.

Instances

Eq InstanceNetworking Source # 
Data InstanceNetworking Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceNetworking -> c InstanceNetworking #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceNetworking #

toConstr :: InstanceNetworking -> Constr #

dataTypeOf :: InstanceNetworking -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstanceNetworking) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceNetworking) #

gmapT :: (forall b. Data b => b -> b) -> InstanceNetworking -> InstanceNetworking #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceNetworking -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceNetworking -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceNetworking -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceNetworking -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceNetworking -> m InstanceNetworking #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceNetworking -> m InstanceNetworking #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceNetworking -> m InstanceNetworking #

Read InstanceNetworking Source # 
Show InstanceNetworking Source # 
Generic InstanceNetworking Source # 
Hashable InstanceNetworking Source # 
FromJSON InstanceNetworking Source # 
NFData InstanceNetworking Source # 

Methods

rnf :: InstanceNetworking -> () #

type Rep InstanceNetworking Source # 
type Rep InstanceNetworking = D1 (MetaData "InstanceNetworking" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "InstanceNetworking'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_inMonthlyTransfer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MonthlyTransfer))) (S1 (MetaSel (Just Symbol "_inPorts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstancePortInfo])))))

instanceNetworking :: InstanceNetworking Source #

Creates a value of InstanceNetworking with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • inMonthlyTransfer - The amount of data in GB allocated for monthly data transfers.
  • inPorts - An array of key-value pairs containing information about the ports on the instance.

inMonthlyTransfer :: Lens' InstanceNetworking (Maybe MonthlyTransfer) Source #

The amount of data in GB allocated for monthly data transfers.

inPorts :: Lens' InstanceNetworking [InstancePortInfo] Source #

An array of key-value pairs containing information about the ports on the instance.

InstancePortInfo

data InstancePortInfo Source #

Describes information about the instance ports.

See: instancePortInfo smart constructor.

Instances

Eq InstancePortInfo Source # 
Data InstancePortInfo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstancePortInfo -> c InstancePortInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstancePortInfo #

toConstr :: InstancePortInfo -> Constr #

dataTypeOf :: InstancePortInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstancePortInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstancePortInfo) #

gmapT :: (forall b. Data b => b -> b) -> InstancePortInfo -> InstancePortInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstancePortInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstancePortInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstancePortInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstancePortInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstancePortInfo -> m InstancePortInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstancePortInfo -> m InstancePortInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstancePortInfo -> m InstancePortInfo #

Read InstancePortInfo Source # 
Show InstancePortInfo Source # 
Generic InstancePortInfo Source # 
Hashable InstancePortInfo Source # 
FromJSON InstancePortInfo Source # 
NFData InstancePortInfo Source # 

Methods

rnf :: InstancePortInfo -> () #

type Rep InstancePortInfo Source # 

instancePortInfo :: InstancePortInfo Source #

Creates a value of InstancePortInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ipiFromPort - The first port in the range.
  • ipiCommonName - The common name.
  • ipiProtocol - The protocol being used. Can be one of the following. * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of streamed data between applications running on hosts communicating by an IP network. If you have an application that doesn't require reliable data stream service, use UDP instead. * all - All transport layer protocol types. For more general information, see Transport layer on Wikipedia. * udp - With User Datagram Protocol (UDP), computer applications can send messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior communications are not required to set up transmission channels or data paths. Applications that don't require reliable data stream service can use UDP, which provides a connectionless datagram service that emphasizes reduced latency over reliability. If you do require reliable data stream service, use TCP instead.
  • ipiAccessDirection - The access direction (inbound or outbound ).
  • ipiAccessType - The type of access (Public or Private ).
  • ipiToPort - The last port in the range.
  • ipiAccessFrom - The location from which access is allowed (e.g., Anywhere (0.0.0.0/0) ).

ipiFromPort :: Lens' InstancePortInfo (Maybe Natural) Source #

The first port in the range.

ipiProtocol :: Lens' InstancePortInfo (Maybe NetworkProtocol) Source #

The protocol being used. Can be one of the following. * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of streamed data between applications running on hosts communicating by an IP network. If you have an application that doesn't require reliable data stream service, use UDP instead. * all - All transport layer protocol types. For more general information, see Transport layer on Wikipedia. * udp - With User Datagram Protocol (UDP), computer applications can send messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior communications are not required to set up transmission channels or data paths. Applications that don't require reliable data stream service can use UDP, which provides a connectionless datagram service that emphasizes reduced latency over reliability. If you do require reliable data stream service, use TCP instead.

ipiAccessDirection :: Lens' InstancePortInfo (Maybe AccessDirection) Source #

The access direction (inbound or outbound ).

ipiAccessType :: Lens' InstancePortInfo (Maybe PortAccessType) Source #

The type of access (Public or Private ).

ipiToPort :: Lens' InstancePortInfo (Maybe Natural) Source #

The last port in the range.

ipiAccessFrom :: Lens' InstancePortInfo (Maybe Text) Source #

The location from which access is allowed (e.g., Anywhere (0.0.0.0/0) ).

InstancePortState

data InstancePortState Source #

Describes the port state.

See: instancePortState smart constructor.

Instances

Eq InstancePortState Source # 
Data InstancePortState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstancePortState -> c InstancePortState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstancePortState #

toConstr :: InstancePortState -> Constr #

dataTypeOf :: InstancePortState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstancePortState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstancePortState) #

gmapT :: (forall b. Data b => b -> b) -> InstancePortState -> InstancePortState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstancePortState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstancePortState -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstancePortState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstancePortState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstancePortState -> m InstancePortState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstancePortState -> m InstancePortState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstancePortState -> m InstancePortState #

Read InstancePortState Source # 
Show InstancePortState Source # 
Generic InstancePortState Source # 
Hashable InstancePortState Source # 
FromJSON InstancePortState Source # 
NFData InstancePortState Source # 

Methods

rnf :: InstancePortState -> () #

type Rep InstancePortState Source # 
type Rep InstancePortState = D1 (MetaData "InstancePortState" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "InstancePortState'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ipsFromPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_ipsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PortState)))) ((:*:) (S1 (MetaSel (Just Symbol "_ipsProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkProtocol))) (S1 (MetaSel (Just Symbol "_ipsToPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))

instancePortState :: InstancePortState Source #

Creates a value of InstancePortState with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • ipsFromPort - The first port in the range.
  • ipsState - Specifies whether the instance port is open or closed .
  • ipsProtocol - The protocol being used. Can be one of the following. * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of streamed data between applications running on hosts communicating by an IP network. If you have an application that doesn't require reliable data stream service, use UDP instead. * all - All transport layer protocol types. For more general information, see Transport layer on Wikipedia. * udp - With User Datagram Protocol (UDP), computer applications can send messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior communications are not required to set up transmission channels or data paths. Applications that don't require reliable data stream service can use UDP, which provides a connectionless datagram service that emphasizes reduced latency over reliability. If you do require reliable data stream service, use TCP instead.
  • ipsToPort - The last port in the range.

ipsFromPort :: Lens' InstancePortState (Maybe Natural) Source #

The first port in the range.

ipsState :: Lens' InstancePortState (Maybe PortState) Source #

Specifies whether the instance port is open or closed .

ipsProtocol :: Lens' InstancePortState (Maybe NetworkProtocol) Source #

The protocol being used. Can be one of the following. * tcp - Transmission Control Protocol (TCP) provides reliable, ordered, and error-checked delivery of streamed data between applications running on hosts communicating by an IP network. If you have an application that doesn't require reliable data stream service, use UDP instead. * all - All transport layer protocol types. For more general information, see Transport layer on Wikipedia. * udp - With User Datagram Protocol (UDP), computer applications can send messages (or datagrams) to other hosts on an Internet Protocol (IP) network. Prior communications are not required to set up transmission channels or data paths. Applications that don't require reliable data stream service can use UDP, which provides a connectionless datagram service that emphasizes reduced latency over reliability. If you do require reliable data stream service, use TCP instead.

ipsToPort :: Lens' InstancePortState (Maybe Natural) Source #

The last port in the range.

InstanceSnapshot

data InstanceSnapshot Source #

Describes the snapshot of the virtual private server, or instance .

See: instanceSnapshot smart constructor.

Instances

Eq InstanceSnapshot Source # 
Data InstanceSnapshot Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceSnapshot -> c InstanceSnapshot #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceSnapshot #

toConstr :: InstanceSnapshot -> Constr #

dataTypeOf :: InstanceSnapshot -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstanceSnapshot) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceSnapshot) #

gmapT :: (forall b. Data b => b -> b) -> InstanceSnapshot -> InstanceSnapshot #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceSnapshot -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceSnapshot -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceSnapshot -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceSnapshot -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceSnapshot -> m InstanceSnapshot #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceSnapshot -> m InstanceSnapshot #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceSnapshot -> m InstanceSnapshot #

Read InstanceSnapshot Source # 
Show InstanceSnapshot Source # 
Generic InstanceSnapshot Source # 
Hashable InstanceSnapshot Source # 
FromJSON InstanceSnapshot Source # 
NFData InstanceSnapshot Source # 

Methods

rnf :: InstanceSnapshot -> () #

type Rep InstanceSnapshot Source # 
type Rep InstanceSnapshot = D1 (MetaData "InstanceSnapshot" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "InstanceSnapshot'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_insFromBlueprintId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_insState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InstanceSnapshotState))) (S1 (MetaSel (Just Symbol "_insResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceType))))) ((:*:) (S1 (MetaSel (Just Symbol "_insArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_insCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_insLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceLocation)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_insProgress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_insName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_insFromBundleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_insSizeInGb") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_insSupportCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_insFromInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_insFromInstanceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

instanceSnapshot :: InstanceSnapshot Source #

Creates a value of InstanceSnapshot with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • insFromBlueprintId - The blueprint ID from which you created the snapshot (e.g., os_debian_8_3 ). A blueprint is a virtual private server (or instance ) image used to create instances quickly.
  • insState - The state the snapshot is in.
  • insResourceType - The type of resource (usually InstanceSnapshot ).
  • insArn - The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-1:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE ).
  • insCreatedAt - The timestamp when the snapshot was created (e.g., 1479907467.024 ).
  • insLocation - The region name and availability zone where you created the snapshot.
  • insProgress - The progress of the snapshot.
  • insName - The name of the snapshot.
  • insFromBundleId - The bundle ID from which you created the snapshot (e.g., micro_1_0 ).
  • insSizeInGb - The size in GB of the SSD.
  • insSupportCode - The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  • insFromInstanceARN - The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., arn:aws:lightsail:us-east-1:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE ).
  • insFromInstanceName - The instance from which the snapshot was created.

insFromBlueprintId :: Lens' InstanceSnapshot (Maybe Text) Source #

The blueprint ID from which you created the snapshot (e.g., os_debian_8_3 ). A blueprint is a virtual private server (or instance ) image used to create instances quickly.

insResourceType :: Lens' InstanceSnapshot (Maybe ResourceType) Source #

The type of resource (usually InstanceSnapshot ).

insArn :: Lens' InstanceSnapshot (Maybe Text) Source #

The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-1:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE ).

insCreatedAt :: Lens' InstanceSnapshot (Maybe UTCTime) Source #

The timestamp when the snapshot was created (e.g., 1479907467.024 ).

insLocation :: Lens' InstanceSnapshot (Maybe ResourceLocation) Source #

The region name and availability zone where you created the snapshot.

insProgress :: Lens' InstanceSnapshot (Maybe Text) Source #

The progress of the snapshot.

insName :: Lens' InstanceSnapshot (Maybe Text) Source #

The name of the snapshot.

insFromBundleId :: Lens' InstanceSnapshot (Maybe Text) Source #

The bundle ID from which you created the snapshot (e.g., micro_1_0 ).

insSizeInGb :: Lens' InstanceSnapshot (Maybe Int) Source #

The size in GB of the SSD.

insSupportCode :: Lens' InstanceSnapshot (Maybe Text) Source #

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

insFromInstanceARN :: Lens' InstanceSnapshot (Maybe Text) Source #

The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., arn:aws:lightsail:us-east-1:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE ).

insFromInstanceName :: Lens' InstanceSnapshot (Maybe Text) Source #

The instance from which the snapshot was created.

InstanceState

data InstanceState Source #

Describes the virtual private server (or instance ) status.

See: instanceState smart constructor.

Instances

Eq InstanceState Source # 
Data InstanceState Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InstanceState -> c InstanceState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InstanceState #

toConstr :: InstanceState -> Constr #

dataTypeOf :: InstanceState -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InstanceState) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InstanceState) #

gmapT :: (forall b. Data b => b -> b) -> InstanceState -> InstanceState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InstanceState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InstanceState -> r #

gmapQ :: (forall d. Data d => d -> u) -> InstanceState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InstanceState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InstanceState -> m InstanceState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceState -> m InstanceState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InstanceState -> m InstanceState #

Read InstanceState Source # 
Show InstanceState Source # 
Generic InstanceState Source # 

Associated Types

type Rep InstanceState :: * -> * #

Hashable InstanceState Source # 
FromJSON InstanceState Source # 
NFData InstanceState Source # 

Methods

rnf :: InstanceState -> () #

type Rep InstanceState Source # 
type Rep InstanceState = D1 (MetaData "InstanceState" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "InstanceState'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_isName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_isCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))

instanceState :: InstanceState Source #

Creates a value of InstanceState with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • isName - The state of the instance (e.g., running or pending ).
  • isCode - The status code for the instance.

isName :: Lens' InstanceState (Maybe Text) Source #

The state of the instance (e.g., running or pending ).

isCode :: Lens' InstanceState (Maybe Int) Source #

The status code for the instance.

KeyPair

data KeyPair Source #

Describes the SSH key pair.

See: keyPair smart constructor.

Instances

Eq KeyPair Source # 

Methods

(==) :: KeyPair -> KeyPair -> Bool #

(/=) :: KeyPair -> KeyPair -> Bool #

Data KeyPair Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> KeyPair -> c KeyPair #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c KeyPair #

toConstr :: KeyPair -> Constr #

dataTypeOf :: KeyPair -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c KeyPair) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c KeyPair) #

gmapT :: (forall b. Data b => b -> b) -> KeyPair -> KeyPair #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> KeyPair -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> KeyPair -> r #

gmapQ :: (forall d. Data d => d -> u) -> KeyPair -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> KeyPair -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> KeyPair -> m KeyPair #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyPair -> m KeyPair #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> KeyPair -> m KeyPair #

Read KeyPair Source # 
Show KeyPair Source # 
Generic KeyPair Source # 

Associated Types

type Rep KeyPair :: * -> * #

Methods

from :: KeyPair -> Rep KeyPair x #

to :: Rep KeyPair x -> KeyPair #

Hashable KeyPair Source # 

Methods

hashWithSalt :: Int -> KeyPair -> Int #

hash :: KeyPair -> Int #

FromJSON KeyPair Source # 
NFData KeyPair Source # 

Methods

rnf :: KeyPair -> () #

type Rep KeyPair Source # 

keyPair :: KeyPair Source #

Creates a value of KeyPair with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • kpResourceType - The resource type (usually KeyPair ).
  • kpArn - The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-1:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE ).
  • kpCreatedAt - The timestamp when the key pair was created (e.g., 1479816991.349 ).
  • kpLocation - The region name and Availability Zone where the key pair was created.
  • kpFingerprint - The RSA fingerprint of the key pair.
  • kpName - The friendly name of the SSH key pair.
  • kpSupportCode - The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

kpResourceType :: Lens' KeyPair (Maybe ResourceType) Source #

The resource type (usually KeyPair ).

kpArn :: Lens' KeyPair (Maybe Text) Source #

The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-1:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE ).

kpCreatedAt :: Lens' KeyPair (Maybe UTCTime) Source #

The timestamp when the key pair was created (e.g., 1479816991.349 ).

kpLocation :: Lens' KeyPair (Maybe ResourceLocation) Source #

The region name and Availability Zone where the key pair was created.

kpFingerprint :: Lens' KeyPair (Maybe Text) Source #

The RSA fingerprint of the key pair.

kpName :: Lens' KeyPair (Maybe Text) Source #

The friendly name of the SSH key pair.

kpSupportCode :: Lens' KeyPair (Maybe Text) Source #

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

MetricDatapoint

data MetricDatapoint Source #

Describes the metric data point.

See: metricDatapoint smart constructor.

Instances

Eq MetricDatapoint Source # 
Data MetricDatapoint Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricDatapoint -> c MetricDatapoint #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricDatapoint #

toConstr :: MetricDatapoint -> Constr #

dataTypeOf :: MetricDatapoint -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MetricDatapoint) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricDatapoint) #

gmapT :: (forall b. Data b => b -> b) -> MetricDatapoint -> MetricDatapoint #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricDatapoint -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricDatapoint -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricDatapoint -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricDatapoint -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricDatapoint -> m MetricDatapoint #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricDatapoint -> m MetricDatapoint #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricDatapoint -> m MetricDatapoint #

Read MetricDatapoint Source # 
Show MetricDatapoint Source # 
Generic MetricDatapoint Source # 
Hashable MetricDatapoint Source # 
FromJSON MetricDatapoint Source # 
NFData MetricDatapoint Source # 

Methods

rnf :: MetricDatapoint -> () #

type Rep MetricDatapoint Source # 

metricDatapoint :: MetricDatapoint Source #

Creates a value of MetricDatapoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mdTimestamp :: Lens' MetricDatapoint (Maybe UTCTime) Source #

The timestamp (e.g., 1479816991.349 ).

MonthlyTransfer

data MonthlyTransfer Source #

Describes the monthly data transfer in and out of your virtual private server (or instance ).

See: monthlyTransfer smart constructor.

Instances

Eq MonthlyTransfer Source # 
Data MonthlyTransfer Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MonthlyTransfer -> c MonthlyTransfer #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MonthlyTransfer #

toConstr :: MonthlyTransfer -> Constr #

dataTypeOf :: MonthlyTransfer -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MonthlyTransfer) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MonthlyTransfer) #

gmapT :: (forall b. Data b => b -> b) -> MonthlyTransfer -> MonthlyTransfer #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MonthlyTransfer -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MonthlyTransfer -> r #

gmapQ :: (forall d. Data d => d -> u) -> MonthlyTransfer -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MonthlyTransfer -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MonthlyTransfer -> m MonthlyTransfer #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MonthlyTransfer -> m MonthlyTransfer #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MonthlyTransfer -> m MonthlyTransfer #

Read MonthlyTransfer Source # 
Show MonthlyTransfer Source # 
Generic MonthlyTransfer Source # 
Hashable MonthlyTransfer Source # 
FromJSON MonthlyTransfer Source # 
NFData MonthlyTransfer Source # 

Methods

rnf :: MonthlyTransfer -> () #

type Rep MonthlyTransfer Source # 
type Rep MonthlyTransfer = D1 (MetaData "MonthlyTransfer" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" True) (C1 (MetaCons "MonthlyTransfer'" PrefixI True) (S1 (MetaSel (Just Symbol "_mtGbPerMonthAllocated") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))))

monthlyTransfer :: MonthlyTransfer Source #

Creates a value of MonthlyTransfer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mtGbPerMonthAllocated :: Lens' MonthlyTransfer (Maybe Int) Source #

The amount allocated per month (in GB).

Operation

data Operation Source #

Describes the API operation.

See: operation smart constructor.

Instances

Eq Operation Source # 
Data Operation Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Operation -> c Operation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Operation #

toConstr :: Operation -> Constr #

dataTypeOf :: Operation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Operation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Operation) #

gmapT :: (forall b. Data b => b -> b) -> Operation -> Operation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQ :: (forall d. Data d => d -> u) -> Operation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Operation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

Read Operation Source # 
Show Operation Source # 
Generic Operation Source # 

Associated Types

type Rep Operation :: * -> * #

Hashable Operation Source # 
FromJSON Operation Source # 
NFData Operation Source # 

Methods

rnf :: Operation -> () #

type Rep Operation Source # 
type Rep Operation = D1 (MetaData "Operation" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "Operation'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_oStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperationStatus))) ((:*:) (S1 (MetaSel (Just Symbol "_oOperationDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_oResourceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceType))))) ((:*:) (S1 (MetaSel (Just Symbol "_oCreatedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_oResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_oLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceLocation)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_oStatusChangedAt") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) ((:*:) (S1 (MetaSel (Just Symbol "_oErrorDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_oErrorCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_oId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_oOperationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperationType))) (S1 (MetaSel (Just Symbol "_oIsTerminal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))))

operation :: Operation Source #

Creates a value of Operation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oStatus :: Lens' Operation (Maybe OperationStatus) Source #

The status of the operation.

oOperationDetails :: Lens' Operation (Maybe Text) Source #

Details about the operation (e.g., Debian-1GB-Virginia-1 ).

oCreatedAt :: Lens' Operation (Maybe UTCTime) Source #

The timestamp when the operation was initialized (e.g., 1479816991.349 ).

oResourceName :: Lens' Operation (Maybe Text) Source #

The resource name.

oLocation :: Lens' Operation (Maybe ResourceLocation) Source #

The region and Availability Zone.

oStatusChangedAt :: Lens' Operation (Maybe UTCTime) Source #

The timestamp when the status was changed (e.g., 1479816991.349 ).

oErrorDetails :: Lens' Operation (Maybe Text) Source #

The error details.

oId :: Lens' Operation (Maybe Text) Source #

The ID of the operation.

oIsTerminal :: Lens' Operation (Maybe Bool) Source #

A Boolean value indicating whether the operation is terminal.

PasswordData

data PasswordData Source #

The password data for the Windows Server-based instance, including the ciphertext and the key pair name.

See: passwordData smart constructor.

Instances

Eq PasswordData Source # 
Data PasswordData Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PasswordData -> c PasswordData #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PasswordData #

toConstr :: PasswordData -> Constr #

dataTypeOf :: PasswordData -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PasswordData) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PasswordData) #

gmapT :: (forall b. Data b => b -> b) -> PasswordData -> PasswordData #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PasswordData -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PasswordData -> r #

gmapQ :: (forall d. Data d => d -> u) -> PasswordData -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PasswordData -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PasswordData -> m PasswordData #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PasswordData -> m PasswordData #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PasswordData -> m PasswordData #

Read PasswordData Source # 
Show PasswordData Source # 
Generic PasswordData Source # 

Associated Types

type Rep PasswordData :: * -> * #

Hashable PasswordData Source # 
FromJSON PasswordData Source # 
NFData PasswordData Source # 

Methods

rnf :: PasswordData -> () #

type Rep PasswordData Source # 
type Rep PasswordData = D1 (MetaData "PasswordData" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "PasswordData'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pdKeyPairName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pdCiphertext") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

passwordData :: PasswordData Source #

Creates a value of PasswordData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pdKeyPairName - The name of the key pair that you used when creating your instance. If no key pair name was specified when creating the instance, Lightsail uses the default key pair (LightsailDefaultKeyPair ). If you are using a custom key pair, you need to use your own means of decrypting your password using the ciphertext . Lightsail creates the ciphertext by encrypting your password with the public key part of this key pair.
  • pdCiphertext - The encrypted password. Ciphertext will be an empty string if access to your new instance is not ready yet. When you create an instance, it can take up to 15 minutes for the instance to be ready.

pdKeyPairName :: Lens' PasswordData (Maybe Text) Source #

The name of the key pair that you used when creating your instance. If no key pair name was specified when creating the instance, Lightsail uses the default key pair (LightsailDefaultKeyPair ). If you are using a custom key pair, you need to use your own means of decrypting your password using the ciphertext . Lightsail creates the ciphertext by encrypting your password with the public key part of this key pair.

pdCiphertext :: Lens' PasswordData (Maybe Text) Source #

The encrypted password. Ciphertext will be an empty string if access to your new instance is not ready yet. When you create an instance, it can take up to 15 minutes for the instance to be ready.

PortInfo

data PortInfo Source #

Describes information about the ports on your virtual private server (or instance ).

See: portInfo smart constructor.

Instances

Eq PortInfo Source # 
Data PortInfo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PortInfo -> c PortInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PortInfo #

toConstr :: PortInfo -> Constr #

dataTypeOf :: PortInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PortInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PortInfo) #

gmapT :: (forall b. Data b => b -> b) -> PortInfo -> PortInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PortInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PortInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> PortInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PortInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PortInfo -> m PortInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PortInfo -> m PortInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PortInfo -> m PortInfo #

Read PortInfo Source # 
Show PortInfo Source # 
Generic PortInfo Source # 

Associated Types

type Rep PortInfo :: * -> * #

Methods

from :: PortInfo -> Rep PortInfo x #

to :: Rep PortInfo x -> PortInfo #

Hashable PortInfo Source # 

Methods

hashWithSalt :: Int -> PortInfo -> Int #

hash :: PortInfo -> Int #

ToJSON PortInfo Source # 
NFData PortInfo Source # 

Methods

rnf :: PortInfo -> () #

type Rep PortInfo Source # 
type Rep PortInfo = D1 (MetaData "PortInfo" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "PortInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_piFromPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_piProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkProtocol))) (S1 (MetaSel (Just Symbol "_piToPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))

portInfo :: PortInfo Source #

Creates a value of PortInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

piFromPort :: Lens' PortInfo (Maybe Natural) Source #

The first port in the range.

piToPort :: Lens' PortInfo (Maybe Natural) Source #

The last port in the range.

RegionInfo

data RegionInfo Source #

Describes the AWS Region.

See: regionInfo smart constructor.

Instances

Eq RegionInfo Source # 
Data RegionInfo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RegionInfo -> c RegionInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RegionInfo #

toConstr :: RegionInfo -> Constr #

dataTypeOf :: RegionInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RegionInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RegionInfo) #

gmapT :: (forall b. Data b => b -> b) -> RegionInfo -> RegionInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RegionInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RegionInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> RegionInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RegionInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RegionInfo -> m RegionInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RegionInfo -> m RegionInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RegionInfo -> m RegionInfo #

Read RegionInfo Source # 
Show RegionInfo Source # 
Generic RegionInfo Source # 

Associated Types

type Rep RegionInfo :: * -> * #

Hashable RegionInfo Source # 
FromJSON RegionInfo Source # 
NFData RegionInfo Source # 

Methods

rnf :: RegionInfo -> () #

type Rep RegionInfo Source # 
type Rep RegionInfo = D1 (MetaData "RegionInfo" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "RegionInfo'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_riAvailabilityZones") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AvailabilityZone]))) (S1 (MetaSel (Just Symbol "_riName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RegionName)))) ((:*:) (S1 (MetaSel (Just Symbol "_riDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_riContinentCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_riDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

regionInfo :: RegionInfo Source #

Creates a value of RegionInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • riAvailabilityZones - The Availability Zones. Follows the format us-east-1a (case-sensitive).
  • riName - The region name (e.g., us-east-1 ).
  • riDisplayName - The display name (e.g., Virginia ).
  • riContinentCode - The continent code (e.g., NA , meaning North America).
  • riDescription - The description of the AWS Region (e.g., This region is recommended to serve users in the eastern United States and eastern Canada ).

riAvailabilityZones :: Lens' RegionInfo [AvailabilityZone] Source #

The Availability Zones. Follows the format us-east-1a (case-sensitive).

riName :: Lens' RegionInfo (Maybe RegionName) Source #

The region name (e.g., us-east-1 ).

riDisplayName :: Lens' RegionInfo (Maybe Text) Source #

The display name (e.g., Virginia ).

riContinentCode :: Lens' RegionInfo (Maybe Text) Source #

The continent code (e.g., NA , meaning North America).

riDescription :: Lens' RegionInfo (Maybe Text) Source #

The description of the AWS Region (e.g., This region is recommended to serve users in the eastern United States and eastern Canada ).

ResourceLocation

data ResourceLocation Source #

Describes the resource location.

See: resourceLocation smart constructor.

Instances

Eq ResourceLocation Source # 
Data ResourceLocation Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResourceLocation -> c ResourceLocation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResourceLocation #

toConstr :: ResourceLocation -> Constr #

dataTypeOf :: ResourceLocation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResourceLocation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResourceLocation) #

gmapT :: (forall b. Data b => b -> b) -> ResourceLocation -> ResourceLocation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResourceLocation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResourceLocation -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResourceLocation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResourceLocation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResourceLocation -> m ResourceLocation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceLocation -> m ResourceLocation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResourceLocation -> m ResourceLocation #

Read ResourceLocation Source # 
Show ResourceLocation Source # 
Generic ResourceLocation Source # 
Hashable ResourceLocation Source # 
FromJSON ResourceLocation Source # 
NFData ResourceLocation Source # 

Methods

rnf :: ResourceLocation -> () #

type Rep ResourceLocation Source # 
type Rep ResourceLocation = D1 (MetaData "ResourceLocation" "Network.AWS.Lightsail.Types.Product" "amazonka-lightsail-1.5.0-E35HA2Q1qxxGaFNVAGVi4N" False) (C1 (MetaCons "ResourceLocation'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rlRegionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RegionName))) (S1 (MetaSel (Just Symbol "_rlAvailabilityZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

resourceLocation :: ResourceLocation Source #

Creates a value of ResourceLocation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rlAvailabilityZone :: Lens' ResourceLocation (Maybe Text) Source #

The Availability Zone. Follows the format us-east-1a (case-sensitive).

StaticIP

data StaticIP Source #

Describes the static IP.

See: staticIP smart constructor.

Instances

Eq StaticIP Source # 
Data StaticIP Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StaticIP -> c StaticIP #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StaticIP #

toConstr :: StaticIP -> Constr #

dataTypeOf :: StaticIP -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StaticIP) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StaticIP) #

gmapT :: (forall b. Data b => b -> b) -> StaticIP -> StaticIP #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StaticIP -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StaticIP -> r #

gmapQ :: (forall d. Data d => d -> u) -> StaticIP -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StaticIP -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StaticIP -> m StaticIP #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StaticIP -> m StaticIP #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StaticIP -> m StaticIP #

Read StaticIP Source # 
Show StaticIP Source # 
Generic StaticIP Source # 

Associated Types

type Rep StaticIP :: * -> * #

Methods

from :: StaticIP -> Rep StaticIP x #

to :: Rep StaticIP x -> StaticIP #

Hashable StaticIP Source # 

Methods

hashWithSalt :: Int -> StaticIP -> Int #

hash :: StaticIP -> Int #

FromJSON StaticIP Source # 
NFData StaticIP Source # 

Methods

rnf :: StaticIP -> () #

type Rep StaticIP Source # 

staticIP :: StaticIP Source #

Creates a value of StaticIP with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • siIpAddress - The static IP address.
  • siResourceType - The resource type (usually StaticIp ).
  • siArn - The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE ).
  • siCreatedAt - The timestamp when the static IP was created (e.g., 1479735304.222 ).
  • siLocation - The region and Availability Zone where the static IP was created.
  • siIsAttached - A Boolean value indicating whether the static IP is attached.
  • siName - The name of the static IP (e.g., StaticIP-Virginia-EXAMPLE ).
  • siSupportCode - The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
  • siAttachedTo - The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Virginia-1 ).

siIpAddress :: Lens' StaticIP (Maybe Text) Source #

The static IP address.

siResourceType :: Lens' StaticIP (Maybe ResourceType) Source #

The resource type (usually StaticIp ).

siArn :: Lens' StaticIP (Maybe Text) Source #

The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE ).

siCreatedAt :: Lens' StaticIP (Maybe UTCTime) Source #

The timestamp when the static IP was created (e.g., 1479735304.222 ).

siLocation :: Lens' StaticIP (Maybe ResourceLocation) Source #

The region and Availability Zone where the static IP was created.

siIsAttached :: Lens' StaticIP (Maybe Bool) Source #

A Boolean value indicating whether the static IP is attached.

siName :: Lens' StaticIP (Maybe Text) Source #

The name of the static IP (e.g., StaticIP-Virginia-EXAMPLE ).

siSupportCode :: Lens' StaticIP (Maybe Text) Source #

The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

siAttachedTo :: Lens' StaticIP (Maybe Text) Source #

The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Virginia-1 ).