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 |
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.
UpdateConditionalForwarder' | |
|
Instances
newUpdateConditionalForwarder Source #
:: 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:
$sel:directoryId:UpdateConditionalForwarder'
, updateConditionalForwarder_directoryId
- The directory ID of the Amazon Web Services directory for which to
update the conditional forwarder.
$sel:remoteDomainName:UpdateConditionalForwarder'
, updateConditionalForwarder_remoteDomainName
- The fully qualified domain name (FQDN) of the remote domain with which
you will set up a trust relationship.
$sel:dnsIpAddrs: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.
UpdateConditionalForwarderResponse' | |
|
Instances
Eq UpdateConditionalForwarderResponse Source # | |
Read UpdateConditionalForwarderResponse Source # | |
Show UpdateConditionalForwarderResponse Source # | |
Generic UpdateConditionalForwarderResponse Source # | |
Defined in Amazonka.DirectoryService.UpdateConditionalForwarder type Rep UpdateConditionalForwarderResponse :: Type -> Type # | |
NFData UpdateConditionalForwarderResponse Source # | |
Defined in Amazonka.DirectoryService.UpdateConditionalForwarder rnf :: UpdateConditionalForwarderResponse -> () # | |
type Rep UpdateConditionalForwarderResponse Source # | |
Defined in Amazonka.DirectoryService.UpdateConditionalForwarder type Rep UpdateConditionalForwarderResponse = D1 ('MetaData "UpdateConditionalForwarderResponse" "Amazonka.DirectoryService.UpdateConditionalForwarder" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "UpdateConditionalForwarderResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateConditionalForwarderResponse Source #
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.