Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises 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 AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.
See: AWS API Reference for CreateTrust.
- createTrust :: Text -> Text -> Text -> TrustDirection -> CreateTrust
- data CreateTrust
- ctTrustType :: Lens' CreateTrust (Maybe TrustType)
- ctDirectoryId :: Lens' CreateTrust Text
- ctRemoteDomainName :: Lens' CreateTrust Text
- ctTrustPassword :: Lens' CreateTrust Text
- ctTrustDirection :: Lens' CreateTrust TrustDirection
- createTrustResponse :: Int -> CreateTrustResponse
- data CreateTrustResponse
- ctrsTrustId :: Lens' CreateTrustResponse (Maybe Text)
- ctrsResponseStatus :: Lens' CreateTrustResponse Int
Creating a Request
:: Text | |
-> Text | |
-> Text | |
-> TrustDirection | |
-> CreateTrust |
Creates a value of CreateTrust
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateTrust Source
AWS Directory Service for Microsoft Active Directory allows you to configure trust relationships. For example, you can establish a trust between your Microsoft AD in the AWS cloud, and your existing on-premises 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 AWS side of a trust relationship between a Microsoft AD in the AWS cloud and an external domain.
See: createTrust
smart constructor.
Request Lenses
ctTrustType :: Lens' CreateTrust (Maybe TrustType) Source
The trust relationship type.
ctDirectoryId :: Lens' CreateTrust Text Source
The Directory ID of the Microsoft AD in the AWS cloud for which to establish the trust relationship.
ctRemoteDomainName :: Lens' CreateTrust Text Source
The Fully Qualified Domain Name (FQDN) of the external domain for which to create the trust relationship.
ctTrustPassword :: 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.
ctTrustDirection :: Lens' CreateTrust TrustDirection Source
The direction of the trust relationship.
Destructuring the Response
Creates a value of CreateTrustResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateTrustResponse Source
See: createTrustResponse
smart constructor.
Response Lenses
ctrsTrustId :: Lens' CreateTrustResponse (Maybe Text) Source
A unique identifier for the trust relationship that was created.
ctrsResponseStatus :: Lens' CreateTrustResponse Int Source
The response status code.