Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 (Paginated)
- GetLoadBalancer
- GetInstance
- AttachStaticIP
- DetachDisk
- DownloadDefaultKeyPair
- DeleteLoadBalancerTLSCertificate
- GetDomains (Paginated)
- CreateLoadBalancerTLSCertificate
- CreateDomainEntry
- ImportKeyPair
- GetInstanceSnapshots (Paginated)
- ReleaseStaticIP
- DeleteInstance
- RebootInstance
- DeleteLoadBalancer
- CreateDiskFromSnapshot
- GetInstanceSnapshot
- GetDomain
- GetActiveNames (Paginated)
- GetInstanceAccessDetails
- StopInstance
- DetachInstancesFromLoadBalancer
- CreateInstanceSnapshot
- IsVPCPeered
- GetStaticIPs (Paginated)
- UnpeerVPC
- DeleteDisk
- CreateInstancesFromSnapshot
- CreateDomain
- GetDiskSnapshots
- PeerVPC
- GetLoadBalancers
- AttachLoadBalancerTLSCertificate
- UpdateLoadBalancerAttribute
- GetDiskSnapshot
- GetStaticIP
- GetBlueprints (Paginated)
- GetInstancePortStates
- CreateDiskSnapshot
- DeleteDomainEntry
- UpdateDomainEntry
- GetRegions
- DeleteDiskSnapshot
- GetLoadBalancerMetricData
- GetInstanceState
- GetKeyPairs (Paginated)
- GetOperations (Paginated)
- GetDisks
- AttachInstancesToLoadBalancer
- GetOperation
- GetInstanceMetricData
- GetKeyPair
- PutInstancePublicPorts
- GetDisk
- CreateLoadBalancer
- AttachDisk
- DetachStaticIP
- CreateInstances
- OpenInstancePublicPorts
- GetBundles (Paginated)
- DeleteDomain
- GetLoadBalancerTLSCertificates
- CreateDisk
- GetOperationsForResource
- CreateKeyPair
- StartInstance
- Types
- AccessDirection
- BlueprintType
- DiskSnapshotState
- DiskState
- InstanceAccessProtocol
- InstanceHealthReason
- InstanceHealthState
- InstanceMetricName
- InstancePlatform
- InstanceSnapshotState
- LoadBalancerAttributeName
- LoadBalancerMetricName
- LoadBalancerProtocol
- LoadBalancerState
- LoadBalancerTLSCertificateDomainStatus
- LoadBalancerTLSCertificateFailureReason
- LoadBalancerTLSCertificateRenewalStatus
- LoadBalancerTLSCertificateRevocationReason
- LoadBalancerTLSCertificateStatus
- MetricStatistic
- MetricUnit
- NetworkProtocol
- OperationStatus
- OperationType
- PortAccessType
- PortState
- RegionName
- ResourceType
- AvailabilityZone
- Blueprint
- Bundle
- Disk
- DiskMap
- DiskSnapshot
- Domain
- DomainEntry
- Instance
- InstanceAccessDetails
- InstanceHardware
- InstanceHealthSummary
- InstanceNetworking
- InstancePortInfo
- InstancePortState
- InstanceSnapshot
- InstanceState
- KeyPair
- LoadBalancer
- LoadBalancerTLSCertificate
- LoadBalancerTLSCertificateDomainValidationOption
- LoadBalancerTLSCertificateDomainValidationRecord
- LoadBalancerTLSCertificateRenewalSummary
- LoadBalancerTLSCertificateSummary
- MetricDatapoint
- MonthlyTransfer
- Operation
- PasswordData
- 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.GetLoadBalancer
- module Network.AWS.Lightsail.GetInstance
- module Network.AWS.Lightsail.AttachStaticIP
- module Network.AWS.Lightsail.DetachDisk
- module Network.AWS.Lightsail.DownloadDefaultKeyPair
- module Network.AWS.Lightsail.DeleteLoadBalancerTLSCertificate
- module Network.AWS.Lightsail.GetDomains
- module Network.AWS.Lightsail.CreateLoadBalancerTLSCertificate
- 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.DeleteLoadBalancer
- module Network.AWS.Lightsail.CreateDiskFromSnapshot
- 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.DetachInstancesFromLoadBalancer
- module Network.AWS.Lightsail.CreateInstanceSnapshot
- module Network.AWS.Lightsail.IsVPCPeered
- module Network.AWS.Lightsail.GetStaticIPs
- module Network.AWS.Lightsail.UnpeerVPC
- module Network.AWS.Lightsail.DeleteDisk
- module Network.AWS.Lightsail.CreateInstancesFromSnapshot
- module Network.AWS.Lightsail.CreateDomain
- module Network.AWS.Lightsail.GetDiskSnapshots
- module Network.AWS.Lightsail.PeerVPC
- module Network.AWS.Lightsail.GetLoadBalancers
- module Network.AWS.Lightsail.AttachLoadBalancerTLSCertificate
- module Network.AWS.Lightsail.UpdateLoadBalancerAttribute
- module Network.AWS.Lightsail.GetDiskSnapshot
- module Network.AWS.Lightsail.GetStaticIP
- module Network.AWS.Lightsail.GetBlueprints
- module Network.AWS.Lightsail.GetInstancePortStates
- module Network.AWS.Lightsail.CreateDiskSnapshot
- module Network.AWS.Lightsail.DeleteDomainEntry
- module Network.AWS.Lightsail.UpdateDomainEntry
- module Network.AWS.Lightsail.GetRegions
- module Network.AWS.Lightsail.DeleteDiskSnapshot
- module Network.AWS.Lightsail.GetLoadBalancerMetricData
- module Network.AWS.Lightsail.GetInstanceState
- module Network.AWS.Lightsail.GetKeyPairs
- module Network.AWS.Lightsail.GetOperations
- module Network.AWS.Lightsail.GetDisks
- module Network.AWS.Lightsail.AttachInstancesToLoadBalancer
- module Network.AWS.Lightsail.GetOperation
- module Network.AWS.Lightsail.GetInstanceMetricData
- module Network.AWS.Lightsail.GetKeyPair
- module Network.AWS.Lightsail.PutInstancePublicPorts
- module Network.AWS.Lightsail.GetDisk
- module Network.AWS.Lightsail.CreateLoadBalancer
- module Network.AWS.Lightsail.AttachDisk
- 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.GetLoadBalancerTLSCertificates
- module Network.AWS.Lightsail.CreateDisk
- module Network.AWS.Lightsail.GetOperationsForResource
- module Network.AWS.Lightsail.CreateKeyPair
- module Network.AWS.Lightsail.StartInstance
- data AccessDirection
- data BlueprintType
- data DiskSnapshotState
- data DiskState
- data InstanceAccessProtocol
- data InstanceHealthReason
- data InstanceHealthState
- data InstanceMetricName
- data InstancePlatform
- data InstanceSnapshotState
- data LoadBalancerAttributeName
- data LoadBalancerMetricName
- data LoadBalancerProtocol
- data LoadBalancerState
- data LoadBalancerTLSCertificateDomainStatus
- data LoadBalancerTLSCertificateFailureReason
- data LoadBalancerTLSCertificateRenewalStatus
- data LoadBalancerTLSCertificateRevocationReason
- data LoadBalancerTLSCertificateStatus
- 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
- data OperationType
- = AllocateStaticIP
- | AttachDisk
- | AttachInstancesToLoadBalancer
- | AttachLoadBalancerTLSCertificate
- | AttachStaticIP
- | CloseInstancePublicPorts
- | CreateDisk
- | CreateDiskFromSnapshot
- | CreateDiskSnapshot
- | CreateDomain
- | CreateInstance
- | CreateInstanceSnapshot
- | CreateInstancesFromSnapshot
- | CreateLoadBalancer
- | CreateLoadBalancerTLSCertificate
- | DeleteDisk
- | DeleteDiskSnapshot
- | DeleteDomain
- | DeleteDomainEntry
- | DeleteInstance
- | DeleteInstanceSnapshot
- | DeleteLoadBalancer
- | DeleteLoadBalancerTLSCertificate
- | DetachDisk
- | DetachInstancesFromLoadBalancer
- | DetachStaticIP
- | OpenInstancePublicPorts
- | PutInstancePublicPorts
- | RebootInstance
- | ReleaseStaticIP
- | StartInstance
- | StopInstance
- | UpdateDomainEntry
- | UpdateLoadBalancerAttribute
- 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)
- bPlatform :: Lens' Blueprint (Maybe InstancePlatform)
- 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)
- bunSupportedPlatforms :: Lens' Bundle [InstancePlatform]
- bunPrice :: Lens' Bundle (Maybe Double)
- bunIsActive :: Lens' Bundle (Maybe Bool)
- bunRamSizeInGb :: Lens' Bundle (Maybe Double)
- data Disk
- disk :: Disk
- dState :: Lens' Disk (Maybe DiskState)
- 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 DiskMap
- diskMap :: DiskMap
- dmNewDiskName :: Lens' DiskMap (Maybe Text)
- dmOriginalDiskPath :: Lens' DiskMap (Maybe Text)
- data DiskSnapshot
- diskSnapshot :: DiskSnapshot
- dsFromDiskName :: Lens' DiskSnapshot (Maybe Text)
- dsState :: Lens' DiskSnapshot (Maybe DiskSnapshotState)
- dsResourceType :: Lens' DiskSnapshot (Maybe ResourceType)
- dsArn :: Lens' DiskSnapshot (Maybe Text)
- dsCreatedAt :: Lens' DiskSnapshot (Maybe UTCTime)
- dsLocation :: Lens' DiskSnapshot (Maybe ResourceLocation)
- dsProgress :: Lens' DiskSnapshot (Maybe Text)
- dsName :: Lens' DiskSnapshot (Maybe Text)
- dsSizeInGb :: Lens' DiskSnapshot (Maybe Int)
- dsSupportCode :: Lens' DiskSnapshot (Maybe Text)
- dsFromDiskARN :: Lens' DiskSnapshot (Maybe Text)
- 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
- deIsAlias :: Lens' DomainEntry (Maybe Bool)
- 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)
- iadPasswordData :: Lens' InstanceAccessDetails (Maybe PasswordData)
- 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 InstanceHealthSummary
- instanceHealthSummary :: InstanceHealthSummary
- ihsInstanceHealth :: Lens' InstanceHealthSummary (Maybe InstanceHealthState)
- ihsInstanceName :: Lens' InstanceHealthSummary (Maybe Text)
- ihsInstanceHealthReason :: Lens' InstanceHealthSummary (Maybe InstanceHealthReason)
- 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 InstancePortState
- instancePortState :: InstancePortState
- ipsFromPort :: Lens' InstancePortState (Maybe Natural)
- ipsState :: Lens' InstancePortState (Maybe PortState)
- ipsProtocol :: Lens' InstancePortState (Maybe NetworkProtocol)
- ipsToPort :: Lens' InstancePortState (Maybe Natural)
- data InstanceSnapshot
- instanceSnapshot :: InstanceSnapshot
- insFromBlueprintId :: Lens' InstanceSnapshot (Maybe Text)
- insState :: Lens' InstanceSnapshot (Maybe InstanceSnapshotState)
- insResourceType :: Lens' InstanceSnapshot (Maybe ResourceType)
- insFromAttachedDisks :: Lens' InstanceSnapshot [Disk]
- 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 LoadBalancer
- loadBalancer :: LoadBalancer
- lbHealthCheckPath :: Lens' LoadBalancer (Maybe Text)
- lbState :: Lens' LoadBalancer (Maybe LoadBalancerState)
- lbResourceType :: Lens' LoadBalancer (Maybe ResourceType)
- lbArn :: Lens' LoadBalancer (Maybe Text)
- lbCreatedAt :: Lens' LoadBalancer (Maybe UTCTime)
- lbLocation :: Lens' LoadBalancer (Maybe ResourceLocation)
- lbInstancePort :: Lens' LoadBalancer (Maybe Int)
- lbConfigurationOptions :: Lens' LoadBalancer (HashMap LoadBalancerAttributeName Text)
- lbProtocol :: Lens' LoadBalancer (Maybe LoadBalancerProtocol)
- lbTlsCertificateSummaries :: Lens' LoadBalancer [LoadBalancerTLSCertificateSummary]
- lbName :: Lens' LoadBalancer (Maybe Text)
- lbSupportCode :: Lens' LoadBalancer (Maybe Text)
- lbPublicPorts :: Lens' LoadBalancer [Natural]
- lbDnsName :: Lens' LoadBalancer (Maybe Text)
- lbInstanceHealthSummary :: Lens' LoadBalancer [InstanceHealthSummary]
- data LoadBalancerTLSCertificate
- loadBalancerTLSCertificate :: LoadBalancerTLSCertificate
- lbtcFailureReason :: Lens' LoadBalancerTLSCertificate (Maybe LoadBalancerTLSCertificateFailureReason)
- lbtcSubject :: Lens' LoadBalancerTLSCertificate (Maybe Text)
- lbtcStatus :: Lens' LoadBalancerTLSCertificate (Maybe LoadBalancerTLSCertificateStatus)
- lbtcSubjectAlternativeNames :: Lens' LoadBalancerTLSCertificate [Text]
- lbtcResourceType :: Lens' LoadBalancerTLSCertificate (Maybe ResourceType)
- lbtcArn :: Lens' LoadBalancerTLSCertificate (Maybe Text)
- lbtcCreatedAt :: Lens' LoadBalancerTLSCertificate (Maybe UTCTime)
- lbtcLocation :: Lens' LoadBalancerTLSCertificate (Maybe ResourceLocation)
- lbtcLoadBalancerName :: Lens' LoadBalancerTLSCertificate (Maybe Text)
- lbtcSerial :: Lens' LoadBalancerTLSCertificate (Maybe Text)
- lbtcIsAttached :: Lens' LoadBalancerTLSCertificate (Maybe Bool)
- lbtcRevokedAt :: Lens' LoadBalancerTLSCertificate (Maybe UTCTime)
- lbtcNotBefore :: Lens' LoadBalancerTLSCertificate (Maybe UTCTime)
- lbtcRevocationReason :: Lens' LoadBalancerTLSCertificate (Maybe LoadBalancerTLSCertificateRevocationReason)
- lbtcDomainName :: Lens' LoadBalancerTLSCertificate (Maybe Text)
- lbtcName :: Lens' LoadBalancerTLSCertificate (Maybe Text)
- lbtcRenewalSummary :: Lens' LoadBalancerTLSCertificate (Maybe LoadBalancerTLSCertificateRenewalSummary)
- lbtcSupportCode :: Lens' LoadBalancerTLSCertificate (Maybe Text)
- lbtcDomainValidationRecords :: Lens' LoadBalancerTLSCertificate [LoadBalancerTLSCertificateDomainValidationRecord]
- lbtcIssuedAt :: Lens' LoadBalancerTLSCertificate (Maybe UTCTime)
- lbtcKeyAlgorithm :: Lens' LoadBalancerTLSCertificate (Maybe Text)
- lbtcSignatureAlgorithm :: Lens' LoadBalancerTLSCertificate (Maybe Text)
- lbtcIssuer :: Lens' LoadBalancerTLSCertificate (Maybe Text)
- lbtcNotAfter :: Lens' LoadBalancerTLSCertificate (Maybe UTCTime)
- data LoadBalancerTLSCertificateDomainValidationOption
- loadBalancerTLSCertificateDomainValidationOption :: LoadBalancerTLSCertificateDomainValidationOption
- lbtcdvoDomainName :: Lens' LoadBalancerTLSCertificateDomainValidationOption (Maybe Text)
- lbtcdvoValidationStatus :: Lens' LoadBalancerTLSCertificateDomainValidationOption (Maybe LoadBalancerTLSCertificateDomainStatus)
- data LoadBalancerTLSCertificateDomainValidationRecord
- loadBalancerTLSCertificateDomainValidationRecord :: LoadBalancerTLSCertificateDomainValidationRecord
- lbtcdvrValue :: Lens' LoadBalancerTLSCertificateDomainValidationRecord (Maybe Text)
- lbtcdvrDomainName :: Lens' LoadBalancerTLSCertificateDomainValidationRecord (Maybe Text)
- lbtcdvrName :: Lens' LoadBalancerTLSCertificateDomainValidationRecord (Maybe Text)
- lbtcdvrValidationStatus :: Lens' LoadBalancerTLSCertificateDomainValidationRecord (Maybe LoadBalancerTLSCertificateDomainStatus)
- lbtcdvrType :: Lens' LoadBalancerTLSCertificateDomainValidationRecord (Maybe Text)
- data LoadBalancerTLSCertificateRenewalSummary
- loadBalancerTLSCertificateRenewalSummary :: LoadBalancerTLSCertificateRenewalSummary
- lbtcrsRenewalStatus :: Lens' LoadBalancerTLSCertificateRenewalSummary (Maybe LoadBalancerTLSCertificateRenewalStatus)
- lbtcrsDomainValidationOptions :: Lens' LoadBalancerTLSCertificateRenewalSummary [LoadBalancerTLSCertificateDomainValidationOption]
- data LoadBalancerTLSCertificateSummary
- loadBalancerTLSCertificateSummary :: LoadBalancerTLSCertificateSummary
- lbtcsIsAttached :: Lens' LoadBalancerTLSCertificateSummary (Maybe Bool)
- lbtcsName :: Lens' LoadBalancerTLSCertificateSummary (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 PasswordData
- passwordData :: PasswordData
- pdKeyPairName :: Lens' PasswordData (Maybe Text)
- pdCiphertext :: Lens' PasswordData (Maybe Text)
- 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 (Paginated)
GetLoadBalancer
GetInstance
AttachStaticIP
DetachDisk
DownloadDefaultKeyPair
DeleteLoadBalancerTLSCertificate
GetDomains (Paginated)
CreateLoadBalancerTLSCertificate
CreateDomainEntry
ImportKeyPair
GetInstanceSnapshots (Paginated)
ReleaseStaticIP
DeleteInstance
RebootInstance
DeleteLoadBalancer
CreateDiskFromSnapshot
GetInstanceSnapshot
GetDomain
GetActiveNames (Paginated)
GetInstanceAccessDetails
StopInstance
DetachInstancesFromLoadBalancer
CreateInstanceSnapshot
IsVPCPeered
GetStaticIPs (Paginated)
UnpeerVPC
DeleteDisk
CreateInstancesFromSnapshot
CreateDomain
GetDiskSnapshots
PeerVPC
GetLoadBalancers
AttachLoadBalancerTLSCertificate
UpdateLoadBalancerAttribute
GetDiskSnapshot
GetStaticIP
GetBlueprints (Paginated)
GetInstancePortStates
CreateDiskSnapshot
DeleteDomainEntry
UpdateDomainEntry
GetRegions
DeleteDiskSnapshot
GetLoadBalancerMetricData
GetInstanceState
GetKeyPairs (Paginated)
GetOperations (Paginated)
GetDisks
AttachInstancesToLoadBalancer
GetOperation
GetInstanceMetricData
GetKeyPair
PutInstancePublicPorts
GetDisk
CreateLoadBalancer
AttachDisk
DetachStaticIP
CreateInstances
OpenInstancePublicPorts
GetBundles (Paginated)
DeleteDomain
GetLoadBalancerTLSCertificates
CreateDisk
GetOperationsForResource
CreateKeyPair
StartInstance
Types
AccessDirection
data AccessDirection Source #
BlueprintType
data BlueprintType Source #
DiskSnapshotState
data DiskSnapshotState Source #
DiskState
InstanceAccessProtocol
data InstanceAccessProtocol Source #
InstanceHealthReason
data InstanceHealthReason Source #
InstanceHealthState
data InstanceHealthState Source #
InstanceMetricName
data InstanceMetricName Source #
CPUUtilization | |
NetworkIn | |
NetworkOut | |
StatusCheckFailed | |
StatusCheckFailedInstance | |
StatusCheckFailedSystem |
InstancePlatform
data InstancePlatform Source #
InstanceSnapshotState
data InstanceSnapshotState Source #
LoadBalancerAttributeName
data LoadBalancerAttributeName Source #
LoadBalancerMetricName
data LoadBalancerMetricName Source #
LoadBalancerProtocol
data LoadBalancerProtocol Source #
LoadBalancerState
data LoadBalancerState Source #
LoadBalancerTLSCertificateDomainStatus
data LoadBalancerTLSCertificateDomainStatus Source #
LoadBalancerTLSCertificateFailureReason
data LoadBalancerTLSCertificateFailureReason Source #
LoadBalancerTLSCertificateRenewalStatus
data LoadBalancerTLSCertificateRenewalStatus Source #
LoadBalancerTLSCertificateRevocationReason
data LoadBalancerTLSCertificateRevocationReason Source #
AACompromise | |
AffiliationChanged | |
CaCompromise | |
CertificateHold | |
CessationOfOperation | |
KeyCompromise | |
PrivilegeWithdrawn | |
RemoveFromCrl | |
Superceded | |
Unspecified |
LoadBalancerTLSCertificateStatus
data LoadBalancerTLSCertificateStatus Source #
LBTCSExpired | |
LBTCSFailed | |
LBTCSInactive | |
LBTCSIssued | |
LBTCSPendingValidation | |
LBTCSRevoked | |
LBTCSUnknown | |
LBTCSValidationTimedOut |
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 | |
EuWest2 | |
UsEast1 | |
UsEast2 | |
UsWest1 | |
UsWest2 |
ResourceType
data ResourceType Source #
Disk | |
DiskSnapshot | |
Domain | |
Instance | |
InstanceSnapshot | |
KeyPair | |
LoadBalancer | |
LoadBalancerTLSCertificate | |
PeeredVPC | |
StaticIP |
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. The format isus-east-2a
(case-sensitive).
azZoneName :: Lens' AvailabilityZone (Maybe Text) Source #
The name of the Availability Zone. The format is us-east-2a
(case-sensitive).
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.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
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.
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.
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
- 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 aWINDOWS
bundle on a blueprint that supports theWINDOWS
platform.LINUX_UNIX
blueprints require aLINUX_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
).
bunInstanceType :: Lens' Bundle (Maybe Text) Source #
The Amazon EC2 instance type (e.g., t2.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.
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.
bunIsActive :: Lens' Bundle (Maybe Bool) Source #
A Boolean value indicating whether the bundle is active.
Disk
Describes a system disk or an block storage disk.
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:
dState
- Describes the status of the disk.dResourceType
- The Lightsail resource type (e.g.,Disk
).dArn
- The Amazon Resource Name (ARN) of the disk.dPath
- The disk path.dCreatedAt
- The date when the disk was created.dLocation
- The AWS 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
- (Deprecated) The attachment state of the disk.dName
- The unique 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
- (Deprecated) The number of GB in use by the disk.
dResourceType :: Lens' Disk (Maybe ResourceType) Source #
The Lightsail resource type (e.g., Disk
).
dLocation :: Lens' Disk (Maybe ResourceLocation) Source #
The AWS 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).
DiskMap
Describes a block storage disk mapping.
See: diskMap
smart constructor.
Creates a value of DiskMap
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmNewDiskName
- The new disk name (e.g.,my-new-disk
).dmOriginalDiskPath
- The original disk path exposed to the instance (for example,devsdh
).
dmOriginalDiskPath :: Lens' DiskMap (Maybe Text) Source #
The original disk path exposed to the instance (for example, devsdh
).
DiskSnapshot
data DiskSnapshot Source #
Describes a block storage disk snapshot.
See: diskSnapshot
smart constructor.
diskSnapshot :: DiskSnapshot Source #
Creates a value of DiskSnapshot
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsFromDiskName
- The unique name of the source disk from which you are creating the disk snapshot.dsState
- The status of the disk snapshot operation.dsResourceType
- The Lightsail resource type (e.g.,DiskSnapshot
).dsArn
- The Amazon Resource Name (ARN) of the disk snapshot.dsCreatedAt
- The date when the disk snapshot was created.dsLocation
- The AWS Region and Availability Zone where the disk snapshot was created.dsProgress
- The progress of the disk snapshot operation.dsName
- The name of the disk snapshot (e.g.,my-disk-snapshot
).dsSizeInGb
- The size of the disk in GB.dsSupportCode
- 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.dsFromDiskARN
- The Amazon Resource Name (ARN) of the source disk from which you are creating the disk snapshot.
dsFromDiskName :: Lens' DiskSnapshot (Maybe Text) Source #
The unique name of the source disk from which you are creating the disk snapshot.
dsState :: Lens' DiskSnapshot (Maybe DiskSnapshotState) Source #
The status of the disk snapshot operation.
dsResourceType :: Lens' DiskSnapshot (Maybe ResourceType) Source #
The Lightsail resource type (e.g., DiskSnapshot
).
dsArn :: Lens' DiskSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the disk snapshot.
dsCreatedAt :: Lens' DiskSnapshot (Maybe UTCTime) Source #
The date when the disk snapshot was created.
dsLocation :: Lens' DiskSnapshot (Maybe ResourceLocation) Source #
The AWS Region and Availability Zone where the disk snapshot was created.
dsProgress :: Lens' DiskSnapshot (Maybe Text) Source #
The progress of the disk snapshot operation.
dsName :: Lens' DiskSnapshot (Maybe Text) Source #
The name of the disk snapshot (e.g., my-disk-snapshot
).
dsSizeInGb :: Lens' DiskSnapshot (Maybe Int) Source #
The size of the disk in GB.
dsSupportCode :: Lens' DiskSnapshot (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.
dsFromDiskARN :: Lens' DiskSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the source disk from which you are creating the disk snapshot.
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:
deIsAlias
- Whentrue
, specifies whether the domain entry is an alias used by the Lightsail load balancer. You can include an alias (A type) record in your request, which points to a load balancer DNS name and routes traffic to your load balancerdeName
- The name of the domain.deId
- The ID of the domain recordset entry.deOptions
- (Deprecated) The options for the domain entry.deType
- The type of domain entry (e.g.,SOA
orNS
).deTarget
- The target AWS name server (e.g.,ns-111.awsdns-22.com.
). For Lightsail load balancers, the value looks likeab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. Be sure to also setisAlias
totrue
when setting up an A record for a load balancer.
deIsAlias :: Lens' DomainEntry (Maybe Bool) Source #
When true
, specifies whether the domain entry is an alias used by the Lightsail load balancer. You can include an alias (A type) record in your request, which points to a load balancer DNS name and routes traffic to your load balancer
deOptions :: Lens' DomainEntry (HashMap Text Text) Source #
(Deprecated) The options for the domain entry.
deTarget :: Lens' DomainEntry (Maybe Text) Source #
The target AWS name server (e.g., ns-111.awsdns-22.com.
). For Lightsail load balancers, the value looks like ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. Be sure to also set isAlias
to true
when setting up an A record for a load balancer.
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-2: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-Ohio-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-2: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-Ohio-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.iadPasswordData
- For a Windows Server-based instance, an object with the data you can use to retrieve your password. This is only needed ifpassword
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.
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
).
InstanceHealthSummary
data InstanceHealthSummary Source #
Describes information about the health of the instance.
See: instanceHealthSummary
smart constructor.
instanceHealthSummary :: InstanceHealthSummary Source #
Creates a value of InstanceHealthSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ihsInstanceHealth
- Describes the overall instance health. Valid values are below.ihsInstanceName
- The name of the Lightsail instance for which you are requesting health check data.ihsInstanceHealthReason
- More information about the instance health. If theinstanceHealth
ishealthy
, then aninstanceHealthReason
value is not provided. IfinstanceHealth
isinitial
, theinstanceHealthReason
value can be one of the following: *Lb.RegistrationInProgress
- The target instance is in the process of being registered with the load balancer. *Lb.InitialHealthChecking
- The Lightsail load balancer is still sending the target instance the minimum number of health checks required to determine its health status. IfinstanceHealth
isunhealthy
, theinstanceHealthReason
value can be one of the following: *Instance.ResponseCodeMismatch
- The health checks did not return an expected HTTP code. *Instance.Timeout
- The health check requests timed out. *Instance.FailedHealthChecks
- The health checks failed because the connection to the target instance timed out, the target instance response was malformed, or the target instance failed the health check for an unknown reason. *Lb.InternalError
- The health checks failed due to an internal error. IfinstanceHealth
isunused
, theinstanceHealthReason
value can be one of the following: *Instance.NotRegistered
- The target instance is not registered with the target group. *Instance.NotInUse
- The target group is not used by any load balancer, or the target instance is in an Availability Zone that is not enabled for its load balancer. *Instance.IpUnusable
- The target IP address is reserved for use by a Lightsail load balancer. *Instance.InvalidState
- The target is in the stopped or terminated state. IfinstanceHealth
isdraining
, theinstanceHealthReason
value can be one of the following: *Instance.DeregistrationInProgress
- The target instance is in the process of being deregistered and the deregistration delay period has not expired.
ihsInstanceHealth :: Lens' InstanceHealthSummary (Maybe InstanceHealthState) Source #
Describes the overall instance health. Valid values are below.
ihsInstanceName :: Lens' InstanceHealthSummary (Maybe Text) Source #
The name of the Lightsail instance for which you are requesting health check data.
ihsInstanceHealthReason :: Lens' InstanceHealthSummary (Maybe InstanceHealthReason) Source #
More information about the instance health. If the instanceHealth
is healthy
, then an instanceHealthReason
value is not provided. If instanceHealth
is initial
, the instanceHealthReason
value can be one of the following: * Lb.RegistrationInProgress
- The target instance is in the process of being registered with the load balancer. * Lb.InitialHealthChecking
- The Lightsail load balancer is still sending the target instance the minimum number of health checks required to determine its health status. If instanceHealth
is unhealthy
, the instanceHealthReason
value can be one of the following: * Instance.ResponseCodeMismatch
- The health checks did not return an expected HTTP code. * Instance.Timeout
- The health check requests timed out. * Instance.FailedHealthChecks
- The health checks failed because the connection to the target instance timed out, the target instance response was malformed, or the target instance failed the health check for an unknown reason. * Lb.InternalError
- The health checks failed due to an internal error. If instanceHealth
is unused
, the instanceHealthReason
value can be one of the following: * Instance.NotRegistered
- The target instance is not registered with the target group. * Instance.NotInUse
- The target group is not used by any load balancer, or the target instance is in an Availability Zone that is not enabled for its load balancer. * Instance.IpUnusable
- The target IP address is reserved for use by a Lightsail load balancer. * Instance.InvalidState
- The target is in the stopped or terminated state. If instanceHealth
is draining
, the instanceHealthReason
value can be one of the following: * Instance.DeregistrationInProgress
- The target instance is in the process of being deregistered and the deregistration delay period has not expired.
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 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
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 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
).
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.
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 isopen
orclosed
.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.
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
).insFromAttachedDisks
- An array of disk objects containing information about all block storage disks.insArn
- The Amazon Resource Name (ARN) of the snapshot (e.g.,arn:aws:lightsail:us-east-2: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-2: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
).
insFromAttachedDisks :: Lens' InstanceSnapshot [Disk] Source #
An array of disk objects containing information about all block storage disks.
insArn :: Lens' InstanceSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2: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-2: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-2: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-2: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.
LoadBalancer
data LoadBalancer Source #
Describes the Lightsail load balancer.
See: loadBalancer
smart constructor.
loadBalancer :: LoadBalancer Source #
Creates a value of LoadBalancer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbHealthCheckPath
- The path you specified to perform your health checks. If no path is specified, the load balancer tries to make a request to the default (root) page.lbState
- The status of your load balancer. Valid values are below.lbResourceType
- The resource type (e.g.,LoadBalancer
.lbArn
- The Amazon Resource Name (ARN) of the load balancer.lbCreatedAt
- The date when your load balancer was created.lbLocation
- The AWS Region where your load balancer was created (e.g.,us-east-2a
). Lightsail automatically creates your load balancer across Availability Zones.lbInstancePort
- The port where the load balancer will direct traffic to your Lightsail instances. For HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.lbConfigurationOptions
- A string to string map of the configuration options for your load balancer. Valid values are listed below.lbProtocol
- The protocol you have enabled for your load balancer. Valid values are below. You can't just haveHTTP_HTTPS
, but you can have justHTTP
.lbTlsCertificateSummaries
- An array of LoadBalancerTlsCertificateSummary objects that provide additional information about the SSL/TLS certificates. For example, iftrue
, the certificate is attached to the load balancer.lbName
- The name of the load balancer (e.g.,my-load-balancer
).lbSupportCode
- The support code. Include this code in your email to support when you have questions about your Lightsail load balancer. This code enables our support team to look up your Lightsail information more easily.lbPublicPorts
- An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.lbDnsName
- The DNS name of your Lightsail load balancer.lbInstanceHealthSummary
- An array of InstanceHealthSummary objects describing the health of the load balancer.
lbHealthCheckPath :: Lens' LoadBalancer (Maybe Text) Source #
The path you specified to perform your health checks. If no path is specified, the load balancer tries to make a request to the default (root) page.
lbState :: Lens' LoadBalancer (Maybe LoadBalancerState) Source #
The status of your load balancer. Valid values are below.
lbResourceType :: Lens' LoadBalancer (Maybe ResourceType) Source #
The resource type (e.g., LoadBalancer
.
lbArn :: Lens' LoadBalancer (Maybe Text) Source #
The Amazon Resource Name (ARN) of the load balancer.
lbCreatedAt :: Lens' LoadBalancer (Maybe UTCTime) Source #
The date when your load balancer was created.
lbLocation :: Lens' LoadBalancer (Maybe ResourceLocation) Source #
The AWS Region where your load balancer was created (e.g., us-east-2a
). Lightsail automatically creates your load balancer across Availability Zones.
lbInstancePort :: Lens' LoadBalancer (Maybe Int) Source #
The port where the load balancer will direct traffic to your Lightsail instances. For HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.
lbConfigurationOptions :: Lens' LoadBalancer (HashMap LoadBalancerAttributeName Text) Source #
A string to string map of the configuration options for your load balancer. Valid values are listed below.
lbProtocol :: Lens' LoadBalancer (Maybe LoadBalancerProtocol) Source #
The protocol you have enabled for your load balancer. Valid values are below. You can't just have HTTP_HTTPS
, but you can have just HTTP
.
lbTlsCertificateSummaries :: Lens' LoadBalancer [LoadBalancerTLSCertificateSummary] Source #
An array of LoadBalancerTlsCertificateSummary objects that provide additional information about the SSL/TLS certificates. For example, if true
, the certificate is attached to the load balancer.
lbName :: Lens' LoadBalancer (Maybe Text) Source #
The name of the load balancer (e.g., my-load-balancer
).
lbSupportCode :: Lens' LoadBalancer (Maybe Text) Source #
The support code. Include this code in your email to support when you have questions about your Lightsail load balancer. This code enables our support team to look up your Lightsail information more easily.
lbPublicPorts :: Lens' LoadBalancer [Natural] Source #
An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.
lbInstanceHealthSummary :: Lens' LoadBalancer [InstanceHealthSummary] Source #
An array of InstanceHealthSummary objects describing the health of the load balancer.
LoadBalancerTLSCertificate
data LoadBalancerTLSCertificate Source #
Describes a load balancer SSL/TLS certificate.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
See: loadBalancerTLSCertificate
smart constructor.
loadBalancerTLSCertificate :: LoadBalancerTLSCertificate Source #
Creates a value of LoadBalancerTLSCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbtcFailureReason
- The reason for the SSL/TLS certificate validation failure.lbtcSubject
- The name of the entity that is associated with the public key contained in the certificate.lbtcStatus
- The status of the SSL/TLS certificate. Valid values are below.lbtcSubjectAlternativeNames
- One or more domains or subdomains included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CNAME) of the certificate and additional domain names that can be used to connect to the website, such asexample.com
,www.example.com
, orm.example.com
.lbtcResourceType
- The resource type (e.g.,LoadBalancerTlsCertificate
). *Instance
- A Lightsail instance (a virtual private server) *StaticIp
- A static IP address *KeyPair
- The key pair used to connect to a Lightsail instance *InstanceSnapshot
- A Lightsail instance snapshot *Domain
- A DNS zone *PeeredVpc
- A peered VPC *LoadBalancer
- A Lightsail load balancer *LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail load balancer *Disk
- A Lightsail block storage disk *DiskSnapshot
- A block storage disk snapshotlbtcArn
- The Amazon Resource Name (ARN) of the SSL/TLS certificate.lbtcCreatedAt
- The time when you created your SSL/TLS certificate.lbtcLocation
- The AWS Region and Availability Zone where you created your certificate.lbtcLoadBalancerName
- The load balancer name where your SSL/TLS certificate is attached.lbtcSerial
- The serial number of the certificate.lbtcIsAttached
- Whentrue
, the SSL/TLS certificate is attached to the Lightsail load balancer.lbtcRevokedAt
- The timestamp when the SSL/TLS certificate was revoked.lbtcNotBefore
- The timestamp when the SSL/TLS certificate is first valid.lbtcRevocationReason
- The reason the certificate was revoked. Valid values are below.lbtcDomainName
- The domain name for your SSL/TLS certificate.lbtcName
- The name of the SSL/TLS certificate (e.g.,my-certificate
).lbtcRenewalSummary
- An object containing information about the status of Lightsail's managed renewal for the certificate.lbtcSupportCode
- The support code. Include this code in your email to support when you have questions about your Lightsail load balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail information more easily.lbtcDomainValidationRecords
- An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.lbtcIssuedAt
- The time when the SSL/TLS certificate was issued.lbtcKeyAlgorithm
- The algorithm that was used to generate the key pair (the public and private key).lbtcSignatureAlgorithm
- The algorithm that was used to sign the certificate.lbtcIssuer
- The issuer of the certificate.lbtcNotAfter
- The timestamp when the SSL/TLS certificate expires.
lbtcFailureReason :: Lens' LoadBalancerTLSCertificate (Maybe LoadBalancerTLSCertificateFailureReason) Source #
The reason for the SSL/TLS certificate validation failure.
lbtcSubject :: Lens' LoadBalancerTLSCertificate (Maybe Text) Source #
The name of the entity that is associated with the public key contained in the certificate.
lbtcStatus :: Lens' LoadBalancerTLSCertificate (Maybe LoadBalancerTLSCertificateStatus) Source #
The status of the SSL/TLS certificate. Valid values are below.
lbtcSubjectAlternativeNames :: Lens' LoadBalancerTLSCertificate [Text] Source #
One or more domains or subdomains included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CNAME) of the certificate and additional domain names that can be used to connect to the website, such as example.com
, www.example.com
, or m.example.com
.
lbtcResourceType :: Lens' LoadBalancerTLSCertificate (Maybe ResourceType) Source #
The resource type (e.g., LoadBalancerTlsCertificate
). * Instance
- A Lightsail instance (a virtual private server) * StaticIp
- A static IP address * KeyPair
- The key pair used to connect to a Lightsail instance * InstanceSnapshot
- A Lightsail instance snapshot * Domain
- A DNS zone * PeeredVpc
- A peered VPC * LoadBalancer
- A Lightsail load balancer * LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail load balancer * Disk
- A Lightsail block storage disk * DiskSnapshot
- A block storage disk snapshot
lbtcArn :: Lens' LoadBalancerTLSCertificate (Maybe Text) Source #
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
lbtcCreatedAt :: Lens' LoadBalancerTLSCertificate (Maybe UTCTime) Source #
The time when you created your SSL/TLS certificate.
lbtcLocation :: Lens' LoadBalancerTLSCertificate (Maybe ResourceLocation) Source #
The AWS Region and Availability Zone where you created your certificate.
lbtcLoadBalancerName :: Lens' LoadBalancerTLSCertificate (Maybe Text) Source #
The load balancer name where your SSL/TLS certificate is attached.
lbtcSerial :: Lens' LoadBalancerTLSCertificate (Maybe Text) Source #
The serial number of the certificate.
lbtcIsAttached :: Lens' LoadBalancerTLSCertificate (Maybe Bool) Source #
When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
lbtcRevokedAt :: Lens' LoadBalancerTLSCertificate (Maybe UTCTime) Source #
The timestamp when the SSL/TLS certificate was revoked.
lbtcNotBefore :: Lens' LoadBalancerTLSCertificate (Maybe UTCTime) Source #
The timestamp when the SSL/TLS certificate is first valid.
lbtcRevocationReason :: Lens' LoadBalancerTLSCertificate (Maybe LoadBalancerTLSCertificateRevocationReason) Source #
The reason the certificate was revoked. Valid values are below.
lbtcDomainName :: Lens' LoadBalancerTLSCertificate (Maybe Text) Source #
The domain name for your SSL/TLS certificate.
lbtcName :: Lens' LoadBalancerTLSCertificate (Maybe Text) Source #
The name of the SSL/TLS certificate (e.g., my-certificate
).
lbtcRenewalSummary :: Lens' LoadBalancerTLSCertificate (Maybe LoadBalancerTLSCertificateRenewalSummary) Source #
An object containing information about the status of Lightsail's managed renewal for the certificate.
lbtcSupportCode :: Lens' LoadBalancerTLSCertificate (Maybe Text) Source #
The support code. Include this code in your email to support when you have questions about your Lightsail load balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail information more easily.
lbtcDomainValidationRecords :: Lens' LoadBalancerTLSCertificate [LoadBalancerTLSCertificateDomainValidationRecord] Source #
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
lbtcIssuedAt :: Lens' LoadBalancerTLSCertificate (Maybe UTCTime) Source #
The time when the SSL/TLS certificate was issued.
lbtcKeyAlgorithm :: Lens' LoadBalancerTLSCertificate (Maybe Text) Source #
The algorithm that was used to generate the key pair (the public and private key).
lbtcSignatureAlgorithm :: Lens' LoadBalancerTLSCertificate (Maybe Text) Source #
The algorithm that was used to sign the certificate.
lbtcIssuer :: Lens' LoadBalancerTLSCertificate (Maybe Text) Source #
The issuer of the certificate.
lbtcNotAfter :: Lens' LoadBalancerTLSCertificate (Maybe UTCTime) Source #
The timestamp when the SSL/TLS certificate expires.
LoadBalancerTLSCertificateDomainValidationOption
data LoadBalancerTLSCertificateDomainValidationOption Source #
Contains information about the domain names on an SSL/TLS certificate that you will use to validate domain ownership.
See: loadBalancerTLSCertificateDomainValidationOption
smart constructor.
loadBalancerTLSCertificateDomainValidationOption :: LoadBalancerTLSCertificateDomainValidationOption Source #
Creates a value of LoadBalancerTLSCertificateDomainValidationOption
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbtcdvoDomainName
- The fully qualified domain name in the certificate request.lbtcdvoValidationStatus
- The status of the domain validation. Valid values are listed below.
lbtcdvoDomainName :: Lens' LoadBalancerTLSCertificateDomainValidationOption (Maybe Text) Source #
The fully qualified domain name in the certificate request.
lbtcdvoValidationStatus :: Lens' LoadBalancerTLSCertificateDomainValidationOption (Maybe LoadBalancerTLSCertificateDomainStatus) Source #
The status of the domain validation. Valid values are listed below.
LoadBalancerTLSCertificateDomainValidationRecord
data LoadBalancerTLSCertificateDomainValidationRecord Source #
Describes the validation record of each domain name in the SSL/TLS certificate.
See: loadBalancerTLSCertificateDomainValidationRecord
smart constructor.
loadBalancerTLSCertificateDomainValidationRecord :: LoadBalancerTLSCertificateDomainValidationRecord Source #
Creates a value of LoadBalancerTLSCertificateDomainValidationRecord
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbtcdvrValue
- The value for that type.lbtcdvrDomainName
- The domain name against which your SSL/TLS certificate was validated.lbtcdvrName
- A fully qualified domain name in the certificate. For example,example.com
.lbtcdvrValidationStatus
- The validation status. Valid values are listed below.lbtcdvrType
- The type of validation record. For example,CNAME
for domain validation.
lbtcdvrValue :: Lens' LoadBalancerTLSCertificateDomainValidationRecord (Maybe Text) Source #
The value for that type.
lbtcdvrDomainName :: Lens' LoadBalancerTLSCertificateDomainValidationRecord (Maybe Text) Source #
The domain name against which your SSL/TLS certificate was validated.
lbtcdvrName :: Lens' LoadBalancerTLSCertificateDomainValidationRecord (Maybe Text) Source #
A fully qualified domain name in the certificate. For example, example.com
.
lbtcdvrValidationStatus :: Lens' LoadBalancerTLSCertificateDomainValidationRecord (Maybe LoadBalancerTLSCertificateDomainStatus) Source #
The validation status. Valid values are listed below.
lbtcdvrType :: Lens' LoadBalancerTLSCertificateDomainValidationRecord (Maybe Text) Source #
The type of validation record. For example, CNAME
for domain validation.
LoadBalancerTLSCertificateRenewalSummary
data LoadBalancerTLSCertificateRenewalSummary Source #
Contains information about the status of Lightsail's managed renewal for the certificate.
See: loadBalancerTLSCertificateRenewalSummary
smart constructor.
loadBalancerTLSCertificateRenewalSummary :: LoadBalancerTLSCertificateRenewalSummary Source #
Creates a value of LoadBalancerTLSCertificateRenewalSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbtcrsRenewalStatus
- The status of Lightsail's managed renewal of the certificate. Valid values are listed below.lbtcrsDomainValidationOptions
- Contains information about the validation of each domain name in the certificate, as it pertains to Lightsail's managed renewal. This is different from the initial validation that occurs as a result of the RequestCertificate request.
lbtcrsRenewalStatus :: Lens' LoadBalancerTLSCertificateRenewalSummary (Maybe LoadBalancerTLSCertificateRenewalStatus) Source #
The status of Lightsail's managed renewal of the certificate. Valid values are listed below.
lbtcrsDomainValidationOptions :: Lens' LoadBalancerTLSCertificateRenewalSummary [LoadBalancerTLSCertificateDomainValidationOption] Source #
Contains information about the validation of each domain name in the certificate, as it pertains to Lightsail's managed renewal. This is different from the initial validation that occurs as a result of the RequestCertificate request.
LoadBalancerTLSCertificateSummary
data LoadBalancerTLSCertificateSummary Source #
Provides a summary of SSL/TLS certificate metadata.
See: loadBalancerTLSCertificateSummary
smart constructor.
loadBalancerTLSCertificateSummary :: LoadBalancerTLSCertificateSummary Source #
Creates a value of LoadBalancerTLSCertificateSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lbtcsIsAttached
- Whentrue
, the SSL/TLS certificate is attached to the Lightsail load balancer.lbtcsName
- The name of the SSL/TLS certificate.
lbtcsIsAttached :: Lens' LoadBalancerTLSCertificateSummary (Maybe Bool) Source #
When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
lbtcsName :: Lens' LoadBalancerTLSCertificateSummary (Maybe Text) Source #
The name of the SSL/TLS certificate.
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-Ohio-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-Ohio-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.
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.
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 theciphertext
. 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
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. Follows the formatus-east-2a
(case-sensitive).riName
- The region name (e.g.,us-east-2
).riDisplayName
- The display name (e.g.,Ohio
).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-2a
(case-sensitive).
riName :: Lens' RegionInfo (Maybe RegionName) Source #
The region name (e.g., us-east-2
).
riDisplayName :: Lens' RegionInfo (Maybe Text) Source #
The display name (e.g., Ohio
).
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. Follows the formatus-east-2a
(case-sensitive).
rlRegionName :: Lens' ResourceLocation (Maybe RegionName) Source #
The AWS Region name.
rlAvailabilityZone :: Lens' ResourceLocation (Maybe Text) Source #
The Availability Zone. Follows the format us-east-2a
(case-sensitive).
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-2: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-Ohio-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-Ohio-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-2: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-Ohio-EXAMPLE
).