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 |
Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
This action initiates the creation of the Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain. You can create either a forest trust or an external trust.
Synopsis
- data CreateTrust = CreateTrust' {}
- newCreateTrust :: Text -> Text -> Text -> TrustDirection -> CreateTrust
- createTrust_conditionalForwarderIpAddrs :: Lens' CreateTrust (Maybe [Text])
- createTrust_trustType :: Lens' CreateTrust (Maybe TrustType)
- createTrust_selectiveAuth :: Lens' CreateTrust (Maybe SelectiveAuth)
- createTrust_directoryId :: Lens' CreateTrust Text
- createTrust_remoteDomainName :: Lens' CreateTrust Text
- createTrust_trustPassword :: Lens' CreateTrust Text
- createTrust_trustDirection :: Lens' CreateTrust TrustDirection
- data CreateTrustResponse = CreateTrustResponse' {
- trustId :: Maybe Text
- httpStatus :: Int
- newCreateTrustResponse :: Int -> CreateTrustResponse
- createTrustResponse_trustId :: Lens' CreateTrustResponse (Maybe Text)
- createTrustResponse_httpStatus :: Lens' CreateTrustResponse Int
Creating a Request
data CreateTrust Source #
Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Managed Microsoft AD directory, and your existing self-managed Microsoft Active Directory. This would allow you to provide users and groups access to resources in either domain, with a single set of credentials.
This action initiates the creation of the Amazon Web Services side of a trust relationship between an Managed Microsoft AD directory and an external domain.
See: newCreateTrust
smart constructor.
CreateTrust' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> TrustDirection | |
-> CreateTrust |
Create a value of CreateTrust
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:conditionalForwarderIpAddrs:CreateTrust'
, createTrust_conditionalForwarderIpAddrs
- The IP addresses of the remote DNS server associated with
RemoteDomainName.
$sel:trustType:CreateTrust'
, createTrust_trustType
- The trust relationship type. Forest
is the default.
$sel:selectiveAuth:CreateTrust'
, createTrust_selectiveAuth
- Optional parameter to enable selective authentication for the trust.
$sel:directoryId:CreateTrust'
, createTrust_directoryId
- The Directory ID of the Managed Microsoft AD directory for which to
establish the trust relationship.
$sel:remoteDomainName:CreateTrust'
, createTrust_remoteDomainName
- The Fully Qualified Domain Name (FQDN) of the external domain for which
to create the trust relationship.
$sel:trustPassword:CreateTrust'
, createTrust_trustPassword
- The trust password. The must be the same password that was used when
creating the trust relationship on the external domain.
$sel:trustDirection:CreateTrust'
, createTrust_trustDirection
- The direction of the trust relationship.
Request Lenses
createTrust_conditionalForwarderIpAddrs :: Lens' CreateTrust (Maybe [Text]) Source #
The IP addresses of the remote DNS server associated with RemoteDomainName.
createTrust_trustType :: Lens' CreateTrust (Maybe TrustType) Source #
The trust relationship type. Forest
is the default.
createTrust_selectiveAuth :: Lens' CreateTrust (Maybe SelectiveAuth) Source #
Optional parameter to enable selective authentication for the trust.
createTrust_directoryId :: Lens' CreateTrust Text Source #
The Directory ID of the Managed Microsoft AD directory for which to establish the trust relationship.
createTrust_remoteDomainName :: Lens' CreateTrust Text Source #
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
createTrust_trustPassword :: Lens' CreateTrust Text Source #
The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
createTrust_trustDirection :: Lens' CreateTrust TrustDirection Source #
The direction of the trust relationship.
Destructuring the Response
data CreateTrustResponse Source #
The result of a CreateTrust request.
See: newCreateTrustResponse
smart constructor.
CreateTrustResponse' | |
|
Instances
newCreateTrustResponse Source #
Create a value of CreateTrustResponse
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:trustId:CreateTrustResponse'
, createTrustResponse_trustId
- A unique identifier for the trust relationship that was created.
$sel:httpStatus:CreateTrustResponse'
, createTrustResponse_httpStatus
- The response's http status code.
Response Lenses
createTrustResponse_trustId :: Lens' CreateTrustResponse (Maybe Text) Source #
A unique identifier for the trust relationship that was created.
createTrustResponse_httpStatus :: Lens' CreateTrustResponse Int Source #
The response's http status code.