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 |
Removes IP addresses from an inbound or an outbound Resolver endpoint.
If you want to remove more than one IP address, submit one
DisassociateResolverEndpointIpAddress
request for each IP address.
To add an IP address to an endpoint, see AssociateResolverEndpointIpAddress.
Synopsis
- data DisassociateResolverEndpointIpAddress = DisassociateResolverEndpointIpAddress' {}
- newDisassociateResolverEndpointIpAddress :: Text -> IpAddressUpdate -> DisassociateResolverEndpointIpAddress
- disassociateResolverEndpointIpAddress_resolverEndpointId :: Lens' DisassociateResolverEndpointIpAddress Text
- disassociateResolverEndpointIpAddress_ipAddress :: Lens' DisassociateResolverEndpointIpAddress IpAddressUpdate
- data DisassociateResolverEndpointIpAddressResponse = DisassociateResolverEndpointIpAddressResponse' {}
- newDisassociateResolverEndpointIpAddressResponse :: Int -> DisassociateResolverEndpointIpAddressResponse
- disassociateResolverEndpointIpAddressResponse_resolverEndpoint :: Lens' DisassociateResolverEndpointIpAddressResponse (Maybe ResolverEndpoint)
- disassociateResolverEndpointIpAddressResponse_httpStatus :: Lens' DisassociateResolverEndpointIpAddressResponse Int
Creating a Request
data DisassociateResolverEndpointIpAddress Source #
See: newDisassociateResolverEndpointIpAddress
smart constructor.
DisassociateResolverEndpointIpAddress' | |
|
Instances
newDisassociateResolverEndpointIpAddress Source #
:: Text |
|
-> IpAddressUpdate | |
-> DisassociateResolverEndpointIpAddress |
Create a value of DisassociateResolverEndpointIpAddress
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:resolverEndpointId:DisassociateResolverEndpointIpAddress'
, disassociateResolverEndpointIpAddress_resolverEndpointId
- The ID of the Resolver endpoint that you want to disassociate an IP
address from.
$sel:ipAddress:DisassociateResolverEndpointIpAddress'
, disassociateResolverEndpointIpAddress_ipAddress
- The IPv4 address that you want to remove from a Resolver endpoint.
Request Lenses
disassociateResolverEndpointIpAddress_resolverEndpointId :: Lens' DisassociateResolverEndpointIpAddress Text Source #
The ID of the Resolver endpoint that you want to disassociate an IP address from.
disassociateResolverEndpointIpAddress_ipAddress :: Lens' DisassociateResolverEndpointIpAddress IpAddressUpdate Source #
The IPv4 address that you want to remove from a Resolver endpoint.
Destructuring the Response
data DisassociateResolverEndpointIpAddressResponse Source #
See: newDisassociateResolverEndpointIpAddressResponse
smart constructor.
DisassociateResolverEndpointIpAddressResponse' | |
|
Instances
newDisassociateResolverEndpointIpAddressResponse Source #
:: Int |
|
-> DisassociateResolverEndpointIpAddressResponse |
Create a value of DisassociateResolverEndpointIpAddressResponse
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:resolverEndpoint:DisassociateResolverEndpointIpAddressResponse'
, disassociateResolverEndpointIpAddressResponse_resolverEndpoint
- The response to an DisassociateResolverEndpointIpAddress
request.
$sel:httpStatus:DisassociateResolverEndpointIpAddressResponse'
, disassociateResolverEndpointIpAddressResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateResolverEndpointIpAddressResponse_resolverEndpoint :: Lens' DisassociateResolverEndpointIpAddressResponse (Maybe ResolverEndpoint) Source #
The response to an DisassociateResolverEndpointIpAddress
request.
disassociateResolverEndpointIpAddressResponse_httpStatus :: Lens' DisassociateResolverEndpointIpAddressResponse Int Source #
The response's http status code.