| 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 |
Amazonka.EC2.UnassignPrivateIpAddresses
Description
Unassigns one or more secondary private IP addresses, or IPv4 Prefix Delegation prefixes from a network interface.
Synopsis
- data UnassignPrivateIpAddresses = UnassignPrivateIpAddresses' {
- ipv4Prefixes :: Maybe [Text]
- privateIpAddresses :: Maybe [Text]
- networkInterfaceId :: Text
- newUnassignPrivateIpAddresses :: Text -> UnassignPrivateIpAddresses
- unassignPrivateIpAddresses_ipv4Prefixes :: Lens' UnassignPrivateIpAddresses (Maybe [Text])
- unassignPrivateIpAddresses_privateIpAddresses :: Lens' UnassignPrivateIpAddresses (Maybe [Text])
- unassignPrivateIpAddresses_networkInterfaceId :: Lens' UnassignPrivateIpAddresses Text
- data UnassignPrivateIpAddressesResponse = UnassignPrivateIpAddressesResponse' {
- newUnassignPrivateIpAddressesResponse :: UnassignPrivateIpAddressesResponse
Creating a Request
data UnassignPrivateIpAddresses Source #
Contains the parameters for UnassignPrivateIpAddresses.
See: newUnassignPrivateIpAddresses smart constructor.
Constructors
| UnassignPrivateIpAddresses' | |
Fields
| |
Instances
newUnassignPrivateIpAddresses Source #
Arguments
| :: Text | |
| -> UnassignPrivateIpAddresses |
Create a value of UnassignPrivateIpAddresses 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:
UnassignPrivateIpAddresses, unassignPrivateIpAddresses_ipv4Prefixes - The IPv4 prefixes to unassign from the network interface.
UnassignPrivateIpAddresses, unassignPrivateIpAddresses_privateIpAddresses - The secondary private IP addresses to unassign from the network
interface. You can specify this option multiple times to unassign more
than one IP address.
UnassignPrivateIpAddresses, unassignPrivateIpAddresses_networkInterfaceId - The ID of the network interface.
Request Lenses
unassignPrivateIpAddresses_ipv4Prefixes :: Lens' UnassignPrivateIpAddresses (Maybe [Text]) Source #
The IPv4 prefixes to unassign from the network interface.
unassignPrivateIpAddresses_privateIpAddresses :: Lens' UnassignPrivateIpAddresses (Maybe [Text]) Source #
The secondary private IP addresses to unassign from the network interface. You can specify this option multiple times to unassign more than one IP address.
unassignPrivateIpAddresses_networkInterfaceId :: Lens' UnassignPrivateIpAddresses Text Source #
The ID of the network interface.
Destructuring the Response
data UnassignPrivateIpAddressesResponse Source #
See: newUnassignPrivateIpAddressesResponse smart constructor.
Constructors
| UnassignPrivateIpAddressesResponse' | |
Instances
| Generic UnassignPrivateIpAddressesResponse Source # | |
Defined in Amazonka.EC2.UnassignPrivateIpAddresses Associated Types type Rep UnassignPrivateIpAddressesResponse :: Type -> Type # | |
| Read UnassignPrivateIpAddressesResponse Source # | |
| Show UnassignPrivateIpAddressesResponse Source # | |
Defined in Amazonka.EC2.UnassignPrivateIpAddresses Methods showsPrec :: Int -> UnassignPrivateIpAddressesResponse -> ShowS # | |
| NFData UnassignPrivateIpAddressesResponse Source # | |
Defined in Amazonka.EC2.UnassignPrivateIpAddresses Methods rnf :: UnassignPrivateIpAddressesResponse -> () # | |
| Eq UnassignPrivateIpAddressesResponse Source # | |
| type Rep UnassignPrivateIpAddressesResponse Source # | |
Defined in Amazonka.EC2.UnassignPrivateIpAddresses | |
newUnassignPrivateIpAddressesResponse :: UnassignPrivateIpAddressesResponse Source #
Create a value of UnassignPrivateIpAddressesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.