| 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.UpdateConditionalForwarder
Description
Updates a conditional forwarder that has been set up for your Amazon Web Services directory.
Synopsis
- data UpdateConditionalForwarder = UpdateConditionalForwarder' {
- directoryId :: Text
- remoteDomainName :: Text
- dnsIpAddrs :: [Text]
- newUpdateConditionalForwarder :: Text -> Text -> UpdateConditionalForwarder
- updateConditionalForwarder_directoryId :: Lens' UpdateConditionalForwarder Text
- updateConditionalForwarder_remoteDomainName :: Lens' UpdateConditionalForwarder Text
- updateConditionalForwarder_dnsIpAddrs :: Lens' UpdateConditionalForwarder [Text]
- data UpdateConditionalForwarderResponse = UpdateConditionalForwarderResponse' {
- httpStatus :: Int
- newUpdateConditionalForwarderResponse :: Int -> UpdateConditionalForwarderResponse
- updateConditionalForwarderResponse_httpStatus :: Lens' UpdateConditionalForwarderResponse Int
Creating a Request
data UpdateConditionalForwarder Source #
Updates a conditional forwarder.
See: newUpdateConditionalForwarder smart constructor.
Constructors
| UpdateConditionalForwarder' | |
Fields
| |
Instances
newUpdateConditionalForwarder Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateConditionalForwarder |
Create a value of UpdateConditionalForwarder 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:
UpdateConditionalForwarder, updateConditionalForwarder_directoryId - The directory ID of the Amazon Web Services directory for which to
update the conditional forwarder.
UpdateConditionalForwarder, updateConditionalForwarder_remoteDomainName - The fully qualified domain name (FQDN) of the remote domain with which
you will set up a trust relationship.
UpdateConditionalForwarder, updateConditionalForwarder_dnsIpAddrs - The updated IP addresses of the remote DNS server associated with the
conditional forwarder.
Request Lenses
updateConditionalForwarder_directoryId :: Lens' UpdateConditionalForwarder Text Source #
The directory ID of the Amazon Web Services directory for which to update the conditional forwarder.
updateConditionalForwarder_remoteDomainName :: Lens' UpdateConditionalForwarder Text Source #
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
updateConditionalForwarder_dnsIpAddrs :: Lens' UpdateConditionalForwarder [Text] Source #
The updated IP addresses of the remote DNS server associated with the conditional forwarder.
Destructuring the Response
data UpdateConditionalForwarderResponse Source #
The result of an UpdateConditionalForwarder request.
See: newUpdateConditionalForwarderResponse smart constructor.
Constructors
| UpdateConditionalForwarderResponse' | |
Fields
| |
Instances
newUpdateConditionalForwarderResponse Source #
Arguments
| :: Int | |
| -> UpdateConditionalForwarderResponse |
Create a value of UpdateConditionalForwarderResponse 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:UpdateConditionalForwarderResponse', updateConditionalForwarderResponse_httpStatus - The response's http status code.
Response Lenses
updateConditionalForwarderResponse_httpStatus :: Lens' UpdateConditionalForwarderResponse Int Source #
The response's http status code.