Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data StaticIp = StaticIp' {
- arn :: Maybe Text
- attachedTo :: Maybe Text
- createdAt :: Maybe POSIX
- ipAddress :: Maybe Text
- isAttached :: Maybe Bool
- location :: Maybe ResourceLocation
- name :: Maybe Text
- resourceType :: Maybe ResourceType
- supportCode :: Maybe Text
- newStaticIp :: StaticIp
- staticIp_arn :: Lens' StaticIp (Maybe Text)
- staticIp_attachedTo :: Lens' StaticIp (Maybe Text)
- staticIp_createdAt :: Lens' StaticIp (Maybe UTCTime)
- staticIp_ipAddress :: Lens' StaticIp (Maybe Text)
- staticIp_isAttached :: Lens' StaticIp (Maybe Bool)
- staticIp_location :: Lens' StaticIp (Maybe ResourceLocation)
- staticIp_name :: Lens' StaticIp (Maybe Text)
- staticIp_resourceType :: Lens' StaticIp (Maybe ResourceType)
- staticIp_supportCode :: Lens' StaticIp (Maybe Text)
Documentation
Describes a static IP.
See: newStaticIp
smart constructor.
StaticIp' | |
|
Instances
newStaticIp :: StaticIp Source #
Create a value of StaticIp
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:StaticIp'
, staticIp_arn
- The Amazon Resource Name (ARN) of the static IP (e.g.,
arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE
).
$sel:attachedTo:StaticIp'
, staticIp_attachedTo
- The instance where the static IP is attached (e.g.,
Amazon_Linux-1GB-Ohio-1
).
$sel:createdAt:StaticIp'
, staticIp_createdAt
- The timestamp when the static IP was created (e.g., 1479735304.222
).
$sel:ipAddress:StaticIp'
, staticIp_ipAddress
- The static IP address.
$sel:isAttached:StaticIp'
, staticIp_isAttached
- A Boolean value indicating whether the static IP is attached.
$sel:location:StaticIp'
, staticIp_location
- The region and Availability Zone where the static IP was created.
$sel:name:StaticIp'
, staticIp_name
- The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
$sel:resourceType:StaticIp'
, staticIp_resourceType
- The resource type (usually StaticIp
).
$sel:supportCode:StaticIp'
, staticIp_supportCode
- 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.
staticIp_arn :: 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
).
staticIp_attachedTo :: Lens' StaticIp (Maybe Text) Source #
The instance where the static IP is attached (e.g.,
Amazon_Linux-1GB-Ohio-1
).
staticIp_createdAt :: Lens' StaticIp (Maybe UTCTime) Source #
The timestamp when the static IP was created (e.g., 1479735304.222
).
staticIp_isAttached :: Lens' StaticIp (Maybe Bool) Source #
A Boolean value indicating whether the static IP is attached.
staticIp_location :: Lens' StaticIp (Maybe ResourceLocation) Source #
The region and Availability Zone where the static IP was created.
staticIp_name :: Lens' StaticIp (Maybe Text) Source #
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
staticIp_resourceType :: Lens' StaticIp (Maybe ResourceType) Source #
The resource type (usually StaticIp
).