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 Address = Address' {
- allocationId :: Maybe Text
- associationId :: Maybe Text
- carrierIp :: Maybe Text
- customerOwnedIp :: Maybe Text
- customerOwnedIpv4Pool :: Maybe Text
- domain :: Maybe DomainType
- instanceId :: Maybe Text
- networkBorderGroup :: Maybe Text
- networkInterfaceId :: Maybe Text
- networkInterfaceOwnerId :: Maybe Text
- privateIpAddress :: Maybe Text
- publicIp :: Maybe Text
- publicIpv4Pool :: Maybe Text
- tags :: Maybe [Tag]
- newAddress :: Address
- address_allocationId :: Lens' Address (Maybe Text)
- address_associationId :: Lens' Address (Maybe Text)
- address_carrierIp :: Lens' Address (Maybe Text)
- address_customerOwnedIp :: Lens' Address (Maybe Text)
- address_customerOwnedIpv4Pool :: Lens' Address (Maybe Text)
- address_domain :: Lens' Address (Maybe DomainType)
- address_instanceId :: Lens' Address (Maybe Text)
- address_networkBorderGroup :: Lens' Address (Maybe Text)
- address_networkInterfaceId :: Lens' Address (Maybe Text)
- address_networkInterfaceOwnerId :: Lens' Address (Maybe Text)
- address_privateIpAddress :: Lens' Address (Maybe Text)
- address_publicIp :: Lens' Address (Maybe Text)
- address_publicIpv4Pool :: Lens' Address (Maybe Text)
- address_tags :: Lens' Address (Maybe [Tag])
Documentation
Describes an Elastic IP address, or a carrier IP address.
See: newAddress
smart constructor.
Address' | |
|
Instances
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_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_networkInterfaceOwnerId :: Lens' Address (Maybe Text) Source #
The ID of the Amazon Web Services account that owns the network interface.