amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.Address

Description

 
Synopsis

Documentation

data Address Source #

Describes an Elastic IP address, or a carrier IP address.

See: newAddress smart constructor.

Constructors

Address' 

Fields

Instances

Instances details
FromXML Address Source # 
Instance details

Defined in Amazonka.EC2.Types.Address

Generic Address Source # 
Instance details

Defined in Amazonka.EC2.Types.Address

Associated Types

type Rep Address :: Type -> Type #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

Read Address Source # 
Instance details

Defined in Amazonka.EC2.Types.Address

Show Address Source # 
Instance details

Defined in Amazonka.EC2.Types.Address

NFData Address Source # 
Instance details

Defined in Amazonka.EC2.Types.Address

Methods

rnf :: Address -> () #

Eq Address Source # 
Instance details

Defined in Amazonka.EC2.Types.Address

Methods

(==) :: Address -> Address -> Bool #

(/=) :: Address -> Address -> Bool #

Hashable Address Source # 
Instance details

Defined in Amazonka.EC2.Types.Address

Methods

hashWithSalt :: Int -> Address -> Int #

hash :: Address -> Int #

type Rep Address Source # 
Instance details

Defined in Amazonka.EC2.Types.Address

type Rep Address = D1 ('MetaData "Address" "Amazonka.EC2.Types.Address" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "Address'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "allocationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "carrierIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "customerOwnedIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "customerOwnedIpv4Pool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainType)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "networkBorderGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "networkInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "networkInterfaceOwnerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "privateIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "publicIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "publicIpv4Pool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))))

newAddress :: Address Source #

Create a value of Address 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:allocationId:Address', address_allocationId - The ID representing the allocation of the address for use with EC2-VPC.

$sel:associationId:Address', address_associationId - The ID representing the association of the address with an instance in a VPC.

$sel:carrierIp:Address', address_carrierIp - The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

$sel:customerOwnedIp:Address', address_customerOwnedIp - The customer-owned IP address.

$sel:customerOwnedIpv4Pool:Address', address_customerOwnedIpv4Pool - The ID of the customer-owned address pool.

$sel:domain:Address', address_domain - Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

$sel:instanceId:Address', address_instanceId - The ID of the instance that the address is associated with (if any).

$sel:networkBorderGroup:Address', address_networkBorderGroup - The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

$sel:networkInterfaceId:Address', address_networkInterfaceId - The ID of the network interface.

$sel:networkInterfaceOwnerId:Address', address_networkInterfaceOwnerId - The ID of the Amazon Web Services account that owns the network interface.

$sel:privateIpAddress:Address', address_privateIpAddress - The private IP address associated with the Elastic IP address.

$sel:publicIp:Address', address_publicIp - The Elastic IP address.

$sel:publicIpv4Pool:Address', address_publicIpv4Pool - The ID of an address pool.

$sel:tags:Address', address_tags - Any tags assigned to the Elastic IP address.

address_allocationId :: Lens' Address (Maybe Text) Source #

The ID representing the allocation of the address for use with EC2-VPC.

address_associationId :: Lens' Address (Maybe Text) Source #

The ID representing the association of the address with an instance in a VPC.

address_carrierIp :: Lens' Address (Maybe Text) Source #

The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

address_customerOwnedIp :: Lens' Address (Maybe Text) Source #

The customer-owned IP address.

address_customerOwnedIpv4Pool :: Lens' Address (Maybe Text) Source #

The ID of the customer-owned address pool.

address_domain :: Lens' Address (Maybe DomainType) Source #

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

address_instanceId :: Lens' Address (Maybe Text) Source #

The ID of the instance that the address is associated with (if any).

address_networkBorderGroup :: Lens' Address (Maybe Text) Source #

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

address_networkInterfaceId :: Lens' Address (Maybe Text) Source #

The ID of the network interface.

address_networkInterfaceOwnerId :: Lens' Address (Maybe Text) Source #

The ID of the Amazon Web Services account that owns the network interface.

address_privateIpAddress :: Lens' Address (Maybe Text) Source #

The private IP address associated with the Elastic IP address.

address_publicIp :: Lens' Address (Maybe Text) Source #

The Elastic IP address.

address_publicIpv4Pool :: Lens' Address (Maybe Text) Source #

The ID of an address pool.

address_tags :: Lens' Address (Maybe [Tag]) Source #

Any tags assigned to the Elastic IP address.