Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- Waiters
- Operations
- CloseInstancePublicPorts
- AllocateStaticIP
- DeleteKeyPair
- DeleteInstanceSnapshot
- GetInstances
- GetInstance
- AttachStaticIP
- DownloadDefaultKeyPair
- GetDomains
- CreateDomainEntry
- ImportKeyPair
- GetInstanceSnapshots
- ReleaseStaticIP
- DeleteInstance
- RebootInstance
- GetInstanceSnapshot
- GetDomain
- GetActiveNames
- GetInstanceAccessDetails
- StopInstance
- CreateInstanceSnapshot
- IsVPCPeered
- GetStaticIPs
- UnpeerVPC
- CreateInstancesFromSnapshot
- CreateDomain
- PeerVPC
- GetStaticIP
- GetBlueprints
- GetInstancePortStates
- DeleteDomainEntry
- UpdateDomainEntry
- GetRegions
- GetInstanceState
- GetKeyPairs
- GetOperations
- GetOperation
- GetInstanceMetricData
- GetKeyPair
- DetachStaticIP
- CreateInstances
- OpenInstancePublicPorts
- GetBundles
- DeleteDomain
- GetOperationsForResource
- CreateKeyPair
- StartInstance
- Types
- AccessDirection
- BlueprintType
- InstanceAccessProtocol
- InstanceMetricName
- InstanceSnapshotState
- MetricStatistic
- MetricUnit
- NetworkProtocol
- OperationStatus
- OperationType
- PortAccessType
- PortState
- RegionName
- ResourceType
- AvailabilityZone
- Blueprint
- Bundle
- Disk
- Domain
- DomainEntry
- Instance
- InstanceAccessDetails
- InstanceHardware
- InstanceNetworking
- InstancePortInfo
- InstanceSnapshot
- InstanceState
- KeyPair
- MetricDatapoint
- MonthlyTransfer
- Operation
- PortInfo
- RegionInfo
- ResourceLocation
- StaticIP
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 .
- lightsail :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccountSetupInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
- _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _OperationFailureException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnauthenticatedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.Lightsail.CloseInstancePublicPorts
- module Network.AWS.Lightsail.AllocateStaticIP
- module Network.AWS.Lightsail.DeleteKeyPair
- module Network.AWS.Lightsail.DeleteInstanceSnapshot
- module Network.AWS.Lightsail.GetInstances
- module Network.AWS.Lightsail.GetInstance
- module Network.AWS.Lightsail.AttachStaticIP
- module Network.AWS.Lightsail.DownloadDefaultKeyPair
- module Network.AWS.Lightsail.GetDomains
- module Network.AWS.Lightsail.CreateDomainEntry
- module Network.AWS.Lightsail.ImportKeyPair
- module Network.AWS.Lightsail.GetInstanceSnapshots
- module Network.AWS.Lightsail.ReleaseStaticIP
- module Network.AWS.Lightsail.DeleteInstance
- module Network.AWS.Lightsail.RebootInstance
- module Network.AWS.Lightsail.GetInstanceSnapshot
- module Network.AWS.Lightsail.GetDomain
- module Network.AWS.Lightsail.GetActiveNames
- module Network.AWS.Lightsail.GetInstanceAccessDetails
- module Network.AWS.Lightsail.StopInstance
- module Network.AWS.Lightsail.CreateInstanceSnapshot
- module Network.AWS.Lightsail.IsVPCPeered
- module Network.AWS.Lightsail.GetStaticIPs
- module Network.AWS.Lightsail.UnpeerVPC
- module Network.AWS.Lightsail.CreateInstancesFromSnapshot
- module Network.AWS.Lightsail.CreateDomain
- module Network.AWS.Lightsail.PeerVPC
- module Network.AWS.Lightsail.GetStaticIP
- module Network.AWS.Lightsail.GetBlueprints
- module Network.AWS.Lightsail.GetInstancePortStates
- module Network.AWS.Lightsail.DeleteDomainEntry
- module Network.AWS.Lightsail.UpdateDomainEntry
- module Network.AWS.Lightsail.GetRegions
- module Network.AWS.Lightsail.GetInstanceState
- module Network.AWS.Lightsail.GetKeyPairs
- module Network.AWS.Lightsail.GetOperations
- module Network.AWS.Lightsail.GetOperation
- module Network.AWS.Lightsail.GetInstanceMetricData
- module Network.AWS.Lightsail.GetKeyPair
- module Network.AWS.Lightsail.DetachStaticIP
- module Network.AWS.Lightsail.CreateInstances
- module Network.AWS.Lightsail.OpenInstancePublicPorts
- module Network.AWS.Lightsail.GetBundles
- module Network.AWS.Lightsail.DeleteDomain
- module Network.AWS.Lightsail.GetOperationsForResource
- module Network.AWS.Lightsail.CreateKeyPair
- module Network.AWS.Lightsail.StartInstance
- data AccessDirection
- data BlueprintType
- data InstanceAccessProtocol
- data InstanceMetricName
- data InstanceSnapshotState
- data MetricStatistic
- = Average
- | Maximum
- | Minimum
- | SampleCount
- | Sum
- data MetricUnit
- = Bits
- | BitsSecond
- | Bytes
- | BytesSecond
- | Count
- | CountSecond
- | Gigabits
- | GigabitsSecond
- | Gigabytes
- | GigabytesSecond
- | Kilobits
- | KilobitsSecond
- | Kilobytes
- | KilobytesSecond
- | Megabits
- | MegabitsSecond
- | Megabytes
- | MegabytesSecond
- | Microseconds
- | Milliseconds
- | None
- | Percent
- | Seconds
- | Terabits
- | TerabitsSecond
- | Terabytes
- | TerabytesSecond
- data NetworkProtocol
- data OperationStatus
- = Completed
- | Failed
- | NotStarted
- | Started
- data OperationType
- = AllocateStaticIP
- | AttachStaticIP
- | CloseInstancePublicPorts
- | CreateDomain
- | CreateInstance
- | CreateInstanceSnapshot
- | CreateInstancesFromSnapshot
- | DeleteDomain
- | DeleteDomainEntry
- | DeleteInstance
- | DeleteInstanceSnapshot
- | DetachStaticIP
- | OpenInstancePublicPorts
- | RebootInstance
- | ReleaseStaticIP
- | StartInstance
- | StopInstance
- | UpdateDomainEntry
- data PortAccessType
- data PortState
- data RegionName
- data ResourceType
- data AvailabilityZone
- availabilityZone :: AvailabilityZone
- azState :: Lens' AvailabilityZone (Maybe Text)
- azZoneName :: Lens' AvailabilityZone (Maybe Text)
- data Blueprint
- blueprint :: Blueprint
- bVersionCode :: Lens' Blueprint (Maybe Text)
- bGroup :: Lens' Blueprint (Maybe Text)
- bMinPower :: Lens' Blueprint (Maybe Int)
- bProductURL :: Lens' Blueprint (Maybe Text)
- bLicenseURL :: Lens' Blueprint (Maybe Text)
- bName :: Lens' Blueprint (Maybe Text)
- bVersion :: Lens' Blueprint (Maybe Text)
- bBlueprintId :: Lens' Blueprint (Maybe Text)
- bType :: Lens' Blueprint (Maybe BlueprintType)
- bIsActive :: Lens' Blueprint (Maybe Bool)
- bDescription :: Lens' Blueprint (Maybe Text)
- data Bundle
- bundle :: Bundle
- bunCpuCount :: Lens' Bundle (Maybe Int)
- bunTransferPerMonthInGb :: Lens' Bundle (Maybe Int)
- bunBundleId :: Lens' Bundle (Maybe Text)
- bunInstanceType :: Lens' Bundle (Maybe Text)
- bunName :: Lens' Bundle (Maybe Text)
- bunPower :: Lens' Bundle (Maybe Int)
- bunDiskSizeInGb :: Lens' Bundle (Maybe Int)
- bunPrice :: Lens' Bundle (Maybe Double)
- bunIsActive :: Lens' Bundle (Maybe Bool)
- bunRamSizeInGb :: Lens' Bundle (Maybe Double)
- data Disk
- disk :: Disk
- dResourceType :: Lens' Disk (Maybe ResourceType)
- dArn :: Lens' Disk (Maybe Text)
- dPath :: Lens' Disk (Maybe Text)
- dCreatedAt :: Lens' Disk (Maybe UTCTime)
- dLocation :: Lens' Disk (Maybe ResourceLocation)
- dIops :: Lens' Disk (Maybe Int)
- dIsAttached :: Lens' Disk (Maybe Bool)
- dAttachmentState :: Lens' Disk (Maybe Text)
- dName :: Lens' Disk (Maybe Text)
- dSizeInGb :: Lens' Disk (Maybe Int)
- dSupportCode :: Lens' Disk (Maybe Text)
- dIsSystemDisk :: Lens' Disk (Maybe Bool)
- dAttachedTo :: Lens' Disk (Maybe Text)
- dGbInUse :: Lens' Disk (Maybe Int)
- data Domain
- domain :: Domain
- domResourceType :: Lens' Domain (Maybe ResourceType)
- domDomainEntries :: Lens' Domain [DomainEntry]
- domArn :: Lens' Domain (Maybe Text)
- domCreatedAt :: Lens' Domain (Maybe UTCTime)
- domLocation :: Lens' Domain (Maybe ResourceLocation)
- domName :: Lens' Domain (Maybe Text)
- domSupportCode :: Lens' Domain (Maybe Text)
- data DomainEntry
- domainEntry :: DomainEntry
- deName :: Lens' DomainEntry (Maybe Text)
- deId :: Lens' DomainEntry (Maybe Text)
- deOptions :: Lens' DomainEntry (HashMap Text Text)
- deType :: Lens' DomainEntry (Maybe Text)
- deTarget :: Lens' DomainEntry (Maybe Text)
- data Instance
- instance' :: Instance
- iState :: Lens' Instance (Maybe InstanceState)
- iIpv6Address :: Lens' Instance (Maybe Text)
- iResourceType :: Lens' Instance (Maybe ResourceType)
- iArn :: Lens' Instance (Maybe Text)
- iCreatedAt :: Lens' Instance (Maybe UTCTime)
- iLocation :: Lens' Instance (Maybe ResourceLocation)
- iSshKeyName :: Lens' Instance (Maybe Text)
- iUsername :: Lens' Instance (Maybe Text)
- iNetworking :: Lens' Instance (Maybe InstanceNetworking)
- iBundleId :: Lens' Instance (Maybe Text)
- iName :: Lens' Instance (Maybe Text)
- iSupportCode :: Lens' Instance (Maybe Text)
- iBlueprintId :: Lens' Instance (Maybe Text)
- iPrivateIPAddress :: Lens' Instance (Maybe Text)
- iBlueprintName :: Lens' Instance (Maybe Text)
- iIsStaticIP :: Lens' Instance (Maybe Bool)
- iPublicIPAddress :: Lens' Instance (Maybe Text)
- iHardware :: Lens' Instance (Maybe InstanceHardware)
- data InstanceAccessDetails
- instanceAccessDetails :: InstanceAccessDetails
- iadCertKey :: Lens' InstanceAccessDetails (Maybe Text)
- iadIpAddress :: Lens' InstanceAccessDetails (Maybe Text)
- iadPrivateKey :: Lens' InstanceAccessDetails (Maybe Text)
- iadExpiresAt :: Lens' InstanceAccessDetails (Maybe UTCTime)
- iadUsername :: Lens' InstanceAccessDetails (Maybe Text)
- iadProtocol :: Lens' InstanceAccessDetails (Maybe InstanceAccessProtocol)
- iadPassword :: Lens' InstanceAccessDetails (Maybe Text)
- iadInstanceName :: Lens' InstanceAccessDetails (Maybe Text)
- data InstanceHardware
- instanceHardware :: InstanceHardware
- ihCpuCount :: Lens' InstanceHardware (Maybe Int)
- ihDisks :: Lens' InstanceHardware [Disk]
- ihRamSizeInGb :: Lens' InstanceHardware (Maybe Double)
- data InstanceNetworking
- instanceNetworking :: InstanceNetworking
- inMonthlyTransfer :: Lens' InstanceNetworking (Maybe MonthlyTransfer)
- inPorts :: Lens' InstanceNetworking [InstancePortInfo]
- data InstancePortInfo
- instancePortInfo :: InstancePortInfo
- ipiFromPort :: Lens' InstancePortInfo (Maybe Natural)
- ipiCommonName :: Lens' InstancePortInfo (Maybe Text)
- ipiProtocol :: Lens' InstancePortInfo (Maybe NetworkProtocol)
- ipiAccessDirection :: Lens' InstancePortInfo (Maybe AccessDirection)
- ipiAccessType :: Lens' InstancePortInfo (Maybe PortAccessType)
- ipiToPort :: Lens' InstancePortInfo (Maybe Natural)
- ipiAccessFrom :: Lens' InstancePortInfo (Maybe Text)
- data InstanceSnapshot
- instanceSnapshot :: InstanceSnapshot
- insFromBlueprintId :: Lens' InstanceSnapshot (Maybe Text)
- insState :: Lens' InstanceSnapshot (Maybe InstanceSnapshotState)
- insResourceType :: Lens' InstanceSnapshot (Maybe ResourceType)
- insArn :: Lens' InstanceSnapshot (Maybe Text)
- insCreatedAt :: Lens' InstanceSnapshot (Maybe UTCTime)
- insLocation :: Lens' InstanceSnapshot (Maybe ResourceLocation)
- insProgress :: Lens' InstanceSnapshot (Maybe Text)
- insName :: Lens' InstanceSnapshot (Maybe Text)
- insFromBundleId :: Lens' InstanceSnapshot (Maybe Text)
- insSizeInGb :: Lens' InstanceSnapshot (Maybe Int)
- insSupportCode :: Lens' InstanceSnapshot (Maybe Text)
- insFromInstanceARN :: Lens' InstanceSnapshot (Maybe Text)
- insFromInstanceName :: Lens' InstanceSnapshot (Maybe Text)
- data InstanceState
- instanceState :: InstanceState
- isName :: Lens' InstanceState (Maybe Text)
- isCode :: Lens' InstanceState (Maybe Int)
- data KeyPair
- keyPair :: KeyPair
- kpResourceType :: Lens' KeyPair (Maybe ResourceType)
- kpArn :: Lens' KeyPair (Maybe Text)
- kpCreatedAt :: Lens' KeyPair (Maybe UTCTime)
- kpLocation :: Lens' KeyPair (Maybe ResourceLocation)
- kpFingerprint :: Lens' KeyPair (Maybe Text)
- kpName :: Lens' KeyPair (Maybe Text)
- kpSupportCode :: Lens' KeyPair (Maybe Text)
- data MetricDatapoint
- metricDatapoint :: MetricDatapoint
- mdSampleCount :: Lens' MetricDatapoint (Maybe Double)
- mdMaximum :: Lens' MetricDatapoint (Maybe Double)
- mdAverage :: Lens' MetricDatapoint (Maybe Double)
- mdMinimum :: Lens' MetricDatapoint (Maybe Double)
- mdSum :: Lens' MetricDatapoint (Maybe Double)
- mdTimestamp :: Lens' MetricDatapoint (Maybe UTCTime)
- mdUnit :: Lens' MetricDatapoint (Maybe MetricUnit)
- data MonthlyTransfer
- monthlyTransfer :: MonthlyTransfer
- mtGbPerMonthAllocated :: Lens' MonthlyTransfer (Maybe Int)
- data Operation
- operation :: Operation
- oStatus :: Lens' Operation (Maybe OperationStatus)
- oOperationDetails :: Lens' Operation (Maybe Text)
- oResourceType :: Lens' Operation (Maybe ResourceType)
- oCreatedAt :: Lens' Operation (Maybe UTCTime)
- oResourceName :: Lens' Operation (Maybe Text)
- oLocation :: Lens' Operation (Maybe ResourceLocation)
- oStatusChangedAt :: Lens' Operation (Maybe UTCTime)
- oErrorDetails :: Lens' Operation (Maybe Text)
- oErrorCode :: Lens' Operation (Maybe Text)
- oId :: Lens' Operation (Maybe Text)
- oOperationType :: Lens' Operation (Maybe OperationType)
- oIsTerminal :: Lens' Operation (Maybe Bool)
- data PortInfo
- portInfo :: PortInfo
- piFromPort :: Lens' PortInfo (Maybe Natural)
- piProtocol :: Lens' PortInfo (Maybe NetworkProtocol)
- piToPort :: Lens' PortInfo (Maybe Natural)
- data RegionInfo
- regionInfo :: RegionInfo
- riAvailabilityZones :: Lens' RegionInfo [AvailabilityZone]
- riName :: Lens' RegionInfo (Maybe RegionName)
- riDisplayName :: Lens' RegionInfo (Maybe Text)
- riContinentCode :: Lens' RegionInfo (Maybe Text)
- riDescription :: Lens' RegionInfo (Maybe Text)
- data ResourceLocation
- resourceLocation :: ResourceLocation
- rlRegionName :: Lens' ResourceLocation (Maybe RegionName)
- rlAvailabilityZone :: Lens' ResourceLocation (Maybe Text)
- data StaticIP
- staticIP :: StaticIP
- siIpAddress :: Lens' StaticIP (Maybe Text)
- siResourceType :: Lens' StaticIP (Maybe ResourceType)
- siArn :: Lens' StaticIP (Maybe Text)
- siCreatedAt :: Lens' StaticIP (Maybe UTCTime)
- siLocation :: Lens' StaticIP (Maybe ResourceLocation)
- siIsAttached :: Lens' StaticIP (Maybe Bool)
- siName :: Lens' StaticIP (Maybe Text)
- siSupportCode :: Lens' StaticIP (Maybe Text)
- siAttachedTo :: Lens' StaticIP (Maybe Text)
Service 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
GetInstance
AttachStaticIP
DownloadDefaultKeyPair
GetDomains
CreateDomainEntry
ImportKeyPair
GetInstanceSnapshots
ReleaseStaticIP
DeleteInstance
RebootInstance
GetInstanceSnapshot
GetDomain
GetActiveNames
GetInstanceAccessDetails
StopInstance
CreateInstanceSnapshot
IsVPCPeered
GetStaticIPs
UnpeerVPC
CreateInstancesFromSnapshot
CreateDomain
PeerVPC
GetStaticIP
GetBlueprints
GetInstancePortStates
DeleteDomainEntry
UpdateDomainEntry
GetRegions
GetInstanceState
GetKeyPairs
GetOperations
GetOperation
GetInstanceMetricData
GetKeyPair
DetachStaticIP
CreateInstances
OpenInstancePublicPorts
GetBundles
DeleteDomain
GetOperationsForResource
CreateKeyPair
StartInstance
Types
AccessDirection
data AccessDirection Source #
BlueprintType
data BlueprintType Source #
InstanceAccessProtocol
data InstanceAccessProtocol Source #
InstanceMetricName
data InstanceMetricName Source #
CPUUtilization | |
NetworkIn | |
NetworkOut | |
StatusCheckFailed | |
StatusCheckFailedInstance | |
StatusCheckFailedSystem |
InstanceSnapshotState
data InstanceSnapshotState Source #
MetricStatistic
data MetricStatistic Source #
MetricUnit
data MetricUnit Source #
NetworkProtocol
data NetworkProtocol Source #
OperationStatus
data OperationStatus Source #
OperationType
data OperationType Source #
PortAccessType
data PortAccessType Source #
PortState
RegionName
data RegionName Source #
ApNortheast1 | |
ApNortheast2 | |
ApSouth1 | |
ApSoutheast1 | |
ApSoutheast2 | |
EuCentral1 | |
EuWest1 | |
UsEast1 | |
UsWest1 | |
UsWest2 |
ResourceType
data ResourceType Source #
AvailabilityZone
data AvailabilityZone Source #
Describes an Availability Zone.
See: availabilityZone
smart constructor.
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.
azZoneName :: Lens' AvailabilityZone (Maybe Text) Source #
The name of the Availability Zone.
Blueprint
Describes a blueprint (a virtual private server image).
See: blueprint
smart constructor.
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.bGroup
- The group name of the blueprint (e.g.,amazon-linux
).bMinPower
- The minimum machine size required to run this blueprint.0
indicates that the blueprint runs on all instances.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
orapp_lamp_7_0
).bType
- The type of the blueprint (e.g.,os
orapp
).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.
bGroup :: Lens' Blueprint (Maybe Text) Source #
The group name of the blueprint (e.g., amazon-linux
).
bMinPower :: Lens' Blueprint (Maybe Int) Source #
The minimum machine size required to run this blueprint. 0
indicates that the blueprint runs on all instances.
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.
Bundle
Describes a bundle, which is a set of specs describing your virtual private server (or instance ).
See: bundle
smart constructor.
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
- The power of the bundle (e.g.,500
).bunDiskSizeInGb
- The size of the SSD (e.g.,30
).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
).
bunInstanceType :: Lens' Bundle (Maybe Text) Source #
The Amazon EC2 instance type (e.g., t2.micro
).
bunIsActive :: Lens' Bundle (Maybe Bool) Source #
A Boolean value indicating whether the bundle is active.
Disk
Describes the hard disk (an SSD).
See: disk
smart constructor.
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.
dLocation :: Lens' Disk (Maybe ResourceLocation) Source #
The region and Availability Zone where the disk is located.
dIsAttached :: Lens' Disk (Maybe Bool) Source #
A Boolean value indicating whether the disk is attached.
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).
Domain
Describes a domain where you are storing recordsets in Lightsail.
See: domain
smart constructor.
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.
domResourceType :: Lens' Domain (Maybe ResourceType) Source #
The resource type.
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.
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.
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:
deTarget :: Lens' DomainEntry (Maybe Text) Source #
The target AWS name server (e.g., ns-111.awsdns-22.com.
).
Instance
Describes an instance (a virtual private server).
See: instance'
smart constructor.
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 (usuallyInstance
).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.
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.
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.
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.
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.
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 totempkey-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 totempkey
).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.iadPassword
- For RDP access, the temporary password of the Amazon EC2 instance.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.
iadPassword :: Lens' InstanceAccessDetails (Maybe Text) Source #
For RDP access, the temporary password of the Amazon EC2 instance.
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.
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.
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.
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.
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.ipiAccessDirection
- The access direction (inbound
oroutbound
).ipiAccessType
- The type of access (Public
orPrivate
).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.
ipiCommonName :: Lens' InstancePortInfo (Maybe Text) Source #
The common name.
ipiProtocol :: Lens' InstancePortInfo (Maybe NetworkProtocol) Source #
The protocol.
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
).
ipiAccessFrom :: Lens' InstancePortInfo (Maybe Text) Source #
The location from which access is allowed (e.g., Anywhere (0.0.0.0/0)
).
InstanceSnapshot
data InstanceSnapshot Source #
Describes the snapshot of the virtual private server, or instance .
See: instanceSnapshot
smart constructor.
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 (usuallyInstanceSnapshot
).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.
insState :: Lens' InstanceSnapshot (Maybe InstanceSnapshotState) Source #
The state the snapshot is in.
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.
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.
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 :: Lens' InstanceState (Maybe Text) Source #
The state of the instance (e.g., running
or pending
).
KeyPair
Describes the SSH key pair.
See: keyPair
smart constructor.
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 (usuallyKeyPair
).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.
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.
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:
mdSampleCount
- The sample count.mdMaximum
- The maximum.mdAverage
- The average.mdMinimum
- The minimum.mdSum
- The sum.mdTimestamp
- The timestamp (e.g.,1479816991.349
).mdUnit
- The unit.
mdSampleCount :: Lens' MetricDatapoint (Maybe Double) Source #
The sample count.
mdTimestamp :: Lens' MetricDatapoint (Maybe UTCTime) Source #
The timestamp (e.g., 1479816991.349
).
mdUnit :: Lens' MetricDatapoint (Maybe MetricUnit) Source #
The unit.
MonthlyTransfer
data MonthlyTransfer Source #
Describes the monthly data transfer in and out of your virtual private server (or instance ).
See: monthlyTransfer
smart constructor.
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
- The amount allocated per month (in GB).
mtGbPerMonthAllocated :: Lens' MonthlyTransfer (Maybe Int) Source #
The amount allocated per month (in GB).
Operation
Describes the API operation.
See: operation
smart constructor.
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
- The status of the operation.oOperationDetails
- Details about the operation (e.g.,Debian-1GB-Virginia-1
).oResourceType
- The resource type.oCreatedAt
- The timestamp when the operation was initialized (e.g.,1479816991.349
).oResourceName
- The resource name.oLocation
- The region and Availability Zone.oStatusChangedAt
- The timestamp when the status was changed (e.g.,1479816991.349
).oErrorDetails
- The error details.oErrorCode
- The error code.oId
- The ID of the operation.oOperationType
- The type of operation.oIsTerminal
- A Boolean value indicating whether the operation is terminal.
oOperationDetails :: Lens' Operation (Maybe Text) Source #
Details about the operation (e.g., Debian-1GB-Virginia-1
).
oResourceType :: Lens' Operation (Maybe ResourceType) Source #
The resource type.
oCreatedAt :: Lens' Operation (Maybe UTCTime) Source #
The timestamp when the operation was initialized (e.g., 1479816991.349
).
oStatusChangedAt :: Lens' Operation (Maybe UTCTime) Source #
The timestamp when the status was changed (e.g., 1479816991.349
).
oOperationType :: Lens' Operation (Maybe OperationType) Source #
The type of operation.
oIsTerminal :: Lens' Operation (Maybe Bool) Source #
A Boolean value indicating whether the operation is terminal.
PortInfo
Describes information about the ports on your virtual private server (or instance ).
See: portInfo
smart constructor.
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
- The first port in the range.piProtocol
- The protocol.piToPort
- The last port in the range.
piProtocol :: Lens' PortInfo (Maybe NetworkProtocol) Source #
The protocol.
RegionInfo
data RegionInfo Source #
Describes the AWS Region.
See: regionInfo
smart constructor.
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.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.
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.
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:
rlRegionName
- The AWS Region name.rlAvailabilityZone
- The Availability Zone.
rlRegionName :: Lens' ResourceLocation (Maybe RegionName) Source #
The AWS Region name.
rlAvailabilityZone :: Lens' ResourceLocation (Maybe Text) Source #
The Availability Zone.
StaticIP
Describes the static IP.
See: staticIP
smart constructor.
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 (usuallyStaticIp
).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
).
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
).