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 |
Amazonka.DirectoryService.CreateConditionalForwarder
Description
Creates a conditional forwarder associated with your Amazon Web Services directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain.
Synopsis
- data CreateConditionalForwarder = CreateConditionalForwarder' {
- directoryId :: Text
- remoteDomainName :: Text
- dnsIpAddrs :: [Text]
- newCreateConditionalForwarder :: Text -> Text -> CreateConditionalForwarder
- createConditionalForwarder_directoryId :: Lens' CreateConditionalForwarder Text
- createConditionalForwarder_remoteDomainName :: Lens' CreateConditionalForwarder Text
- createConditionalForwarder_dnsIpAddrs :: Lens' CreateConditionalForwarder [Text]
- data CreateConditionalForwarderResponse = CreateConditionalForwarderResponse' {
- httpStatus :: Int
- newCreateConditionalForwarderResponse :: Int -> CreateConditionalForwarderResponse
- createConditionalForwarderResponse_httpStatus :: Lens' CreateConditionalForwarderResponse Int
Creating a Request
data CreateConditionalForwarder Source #
Initiates the creation of a conditional forwarder for your Directory Service for Microsoft Active Directory. Conditional forwarders are required in order to set up a trust relationship with another domain.
See: newCreateConditionalForwarder
smart constructor.
Constructors
CreateConditionalForwarder' | |
Fields
|
Instances
newCreateConditionalForwarder Source #
Arguments
:: Text | |
-> Text | |
-> CreateConditionalForwarder |
Create a value of CreateConditionalForwarder
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:CreateConditionalForwarder'
, createConditionalForwarder_directoryId
- The directory ID of the Amazon Web Services directory for which you are
creating the conditional forwarder.
$sel:remoteDomainName:CreateConditionalForwarder'
, createConditionalForwarder_remoteDomainName
- The fully qualified domain name (FQDN) of the remote domain with which
you will set up a trust relationship.
$sel:dnsIpAddrs:CreateConditionalForwarder'
, createConditionalForwarder_dnsIpAddrs
- The IP addresses of the remote DNS server associated with
RemoteDomainName.
Request Lenses
createConditionalForwarder_directoryId :: Lens' CreateConditionalForwarder Text Source #
The directory ID of the Amazon Web Services directory for which you are creating the conditional forwarder.
createConditionalForwarder_remoteDomainName :: Lens' CreateConditionalForwarder Text Source #
The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
createConditionalForwarder_dnsIpAddrs :: Lens' CreateConditionalForwarder [Text] Source #
The IP addresses of the remote DNS server associated with RemoteDomainName.
Destructuring the Response
data CreateConditionalForwarderResponse Source #
The result of a CreateConditinalForwarder request.
See: newCreateConditionalForwarderResponse
smart constructor.
Constructors
CreateConditionalForwarderResponse' | |
Fields
|
Instances
newCreateConditionalForwarderResponse Source #
Arguments
:: Int | |
-> CreateConditionalForwarderResponse |
Create a value of CreateConditionalForwarderResponse
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:CreateConditionalForwarderResponse'
, createConditionalForwarderResponse_httpStatus
- The response's http status code.
Response Lenses
createConditionalForwarderResponse_httpStatus :: Lens' CreateConditionalForwarderResponse Int Source #
The response's http status code.