amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.Types.StaticIp

Description

 
Synopsis

Documentation

data StaticIp Source #

Describes a static IP.

See: newStaticIp smart constructor.

Constructors

StaticIp' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).

  • attachedTo :: Maybe Text

    The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Ohio-1).

  • createdAt :: Maybe POSIX

    The timestamp when the static IP was created (e.g., 1479735304.222).

  • ipAddress :: Maybe Text

    The static IP address.

  • isAttached :: Maybe Bool

    A Boolean value indicating whether the static IP is attached.

  • location :: Maybe ResourceLocation

    The region and Availability Zone where the static IP was created.

  • name :: Maybe Text

    The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE).

  • resourceType :: Maybe ResourceType

    The resource type (usually StaticIp).

  • supportCode :: Maybe Text

    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.

Instances

Instances details
FromJSON StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Generic StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Associated Types

type Rep StaticIp :: Type -> Type #

Methods

from :: StaticIp -> Rep StaticIp x #

to :: Rep StaticIp x -> StaticIp #

Read StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Show StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

NFData StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Methods

rnf :: StaticIp -> () #

Eq StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Hashable StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

Methods

hashWithSalt :: Int -> StaticIp -> Int #

hash :: StaticIp -> Int #

type Rep StaticIp Source # 
Instance details

Defined in Amazonka.Lightsail.Types.StaticIp

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_ipAddress :: Lens' StaticIp (Maybe Text) Source #

The static IP address.

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).

staticIp_supportCode :: Lens' StaticIp (Maybe Text) Source #

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