| 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.DirectoryService.RemoveIpRoutes
Description
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.
Constructors
| RemoveIpRoutes' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> RemoveIpRoutes |
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:
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.
Constructors
| RemoveIpRoutesResponse' | |
Fields
| |
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.