| 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.VerifyTrust
Description
Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.
This action verifies a trust relationship between your Managed Microsoft AD directory and an external domain.
Synopsis
- data VerifyTrust = VerifyTrust' {}
- newVerifyTrust :: Text -> VerifyTrust
- verifyTrust_trustId :: Lens' VerifyTrust Text
- data VerifyTrustResponse = VerifyTrustResponse' {
- trustId :: Maybe Text
- httpStatus :: Int
- newVerifyTrustResponse :: Int -> VerifyTrustResponse
- verifyTrustResponse_trustId :: Lens' VerifyTrustResponse (Maybe Text)
- verifyTrustResponse_httpStatus :: Lens' VerifyTrustResponse Int
Creating a Request
data VerifyTrust Source #
Initiates the verification of an existing trust relationship between an Managed Microsoft AD directory and an external domain.
See: newVerifyTrust smart constructor.
Constructors
| VerifyTrust' | |
Instances
Arguments
| :: Text | |
| -> VerifyTrust |
Create a value of VerifyTrust 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:
VerifyTrust, verifyTrust_trustId - The unique Trust ID of the trust relationship to verify.
Request Lenses
verifyTrust_trustId :: Lens' VerifyTrust Text Source #
The unique Trust ID of the trust relationship to verify.
Destructuring the Response
data VerifyTrustResponse Source #
Result of a VerifyTrust request.
See: newVerifyTrustResponse smart constructor.
Constructors
| VerifyTrustResponse' | |
Fields
| |
Instances
newVerifyTrustResponse Source #
Arguments
| :: Int | |
| -> VerifyTrustResponse |
Create a value of VerifyTrustResponse 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:
VerifyTrust, verifyTrustResponse_trustId - The unique Trust ID of the trust relationship that was verified.
$sel:httpStatus:VerifyTrustResponse', verifyTrustResponse_httpStatus - The response's http status code.
Response Lenses
verifyTrustResponse_trustId :: Lens' VerifyTrustResponse (Maybe Text) Source #
The unique Trust ID of the trust relationship that was verified.
verifyTrustResponse_httpStatus :: Lens' VerifyTrustResponse Int Source #
The response's http status code.