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 address blocks from a directory.
Synopsis
- data RemoveIpRoutes = RemoveIpRoutes' {
- directoryId :: Text
- cidrIps :: [Text]
- newRemoveIpRoutes :: Text -> RemoveIpRoutes
- removeIpRoutes_directoryId :: Lens' RemoveIpRoutes Text
- removeIpRoutes_cidrIps :: Lens' RemoveIpRoutes [Text]
- data RemoveIpRoutesResponse = RemoveIpRoutesResponse' {
- httpStatus :: Int
- newRemoveIpRoutesResponse :: Int -> RemoveIpRoutesResponse
- removeIpRoutesResponse_httpStatus :: Lens' RemoveIpRoutesResponse Int
Creating a Request
data RemoveIpRoutes Source #
See: newRemoveIpRoutes
smart constructor.
RemoveIpRoutes' | |
|
Instances
Create a value of RemoveIpRoutes
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:directoryId:RemoveIpRoutes'
, removeIpRoutes_directoryId
- Identifier (ID) of the directory from which you want to remove the IP
addresses.
$sel:cidrIps:RemoveIpRoutes'
, removeIpRoutes_cidrIps
- IP address blocks that you want to remove.
Request Lenses
removeIpRoutes_directoryId :: Lens' RemoveIpRoutes Text Source #
Identifier (ID) of the directory from which you want to remove the IP addresses.
removeIpRoutes_cidrIps :: Lens' RemoveIpRoutes [Text] Source #
IP address blocks that you want to remove.
Destructuring the Response
data RemoveIpRoutesResponse Source #
See: newRemoveIpRoutesResponse
smart constructor.
RemoveIpRoutesResponse' | |
|
Instances
newRemoveIpRoutesResponse Source #
Create a value of RemoveIpRoutesResponse
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:httpStatus:RemoveIpRoutesResponse'
, removeIpRoutesResponse_httpStatus
- The response's http status code.
Response Lenses
removeIpRoutesResponse_httpStatus :: Lens' RemoveIpRoutesResponse Int Source #
The response's http status code.