Copyright | (c) 2013-2021 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 |
Synopsis
- data StaticIp = StaticIp' {
- ipAddress :: Maybe Text
- resourceType :: Maybe ResourceType
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- location :: Maybe ResourceLocation
- isAttached :: Maybe Bool
- name :: Maybe Text
- supportCode :: Maybe Text
- attachedTo :: Maybe Text
- newStaticIp :: StaticIp
- staticIp_ipAddress :: Lens' StaticIp (Maybe Text)
- staticIp_resourceType :: Lens' StaticIp (Maybe ResourceType)
- staticIp_arn :: Lens' StaticIp (Maybe Text)
- staticIp_createdAt :: Lens' StaticIp (Maybe UTCTime)
- staticIp_location :: Lens' StaticIp (Maybe ResourceLocation)
- staticIp_isAttached :: Lens' StaticIp (Maybe Bool)
- staticIp_name :: Lens' StaticIp (Maybe Text)
- staticIp_supportCode :: Lens' StaticIp (Maybe Text)
- staticIp_attachedTo :: 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:ipAddress:StaticIp'
, staticIp_ipAddress
- The static IP address.
$sel:resourceType:StaticIp'
, staticIp_resourceType
- The resource type (usually StaticIp
).
$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:createdAt:StaticIp'
, staticIp_createdAt
- The timestamp when the static IP was created (e.g., 1479735304.222
).
$sel:location:StaticIp'
, staticIp_location
- The region and Availability Zone where the static IP was created.
$sel:isAttached:StaticIp'
, staticIp_isAttached
- A Boolean value indicating whether the static IP is attached.
$sel:name:StaticIp'
, staticIp_name
- The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).
$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.
$sel:attachedTo:StaticIp'
, staticIp_attachedTo
- The instance where the static IP is attached (e.g.,
Amazon_Linux-1GB-Ohio-1
).
staticIp_resourceType :: Lens' StaticIp (Maybe ResourceType) Source #
The resource type (usually StaticIp
).
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_createdAt :: Lens' StaticIp (Maybe UTCTime) Source #
The timestamp when the static IP was created (e.g., 1479735304.222
).
staticIp_location :: Lens' StaticIp (Maybe ResourceLocation) Source #
The region and Availability Zone where the static IP was created.
staticIp_isAttached :: Lens' StaticIp (Maybe Bool) Source #
A Boolean value indicating whether the static IP is attached.
staticIp_name :: Lens' StaticIp (Maybe Text) Source #
The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE
).