| 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.DeleteTrust
Description
Deletes an existing trust relationship between your Managed Microsoft AD directory and an external domain.
Synopsis
- data DeleteTrust = DeleteTrust' {}
- newDeleteTrust :: Text -> DeleteTrust
- deleteTrust_deleteAssociatedConditionalForwarder :: Lens' DeleteTrust (Maybe Bool)
- deleteTrust_trustId :: Lens' DeleteTrust Text
- data DeleteTrustResponse = DeleteTrustResponse' {
- trustId :: Maybe Text
- httpStatus :: Int
- newDeleteTrustResponse :: Int -> DeleteTrustResponse
- deleteTrustResponse_trustId :: Lens' DeleteTrustResponse (Maybe Text)
- deleteTrustResponse_httpStatus :: Lens' DeleteTrustResponse Int
Creating a Request
data DeleteTrust Source #
Deletes the local side of an existing trust relationship between the Managed Microsoft AD directory and the external domain.
See: newDeleteTrust smart constructor.
Constructors
| DeleteTrust' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteTrust |
Create a value of DeleteTrust 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:deleteAssociatedConditionalForwarder:DeleteTrust', deleteTrust_deleteAssociatedConditionalForwarder - Delete a conditional forwarder as part of a DeleteTrustRequest.
DeleteTrust, deleteTrust_trustId - The Trust ID of the trust relationship to be deleted.
Request Lenses
deleteTrust_deleteAssociatedConditionalForwarder :: Lens' DeleteTrust (Maybe Bool) Source #
Delete a conditional forwarder as part of a DeleteTrustRequest.
deleteTrust_trustId :: Lens' DeleteTrust Text Source #
The Trust ID of the trust relationship to be deleted.
Destructuring the Response
data DeleteTrustResponse Source #
The result of a DeleteTrust request.
See: newDeleteTrustResponse smart constructor.
Constructors
| DeleteTrustResponse' | |
Fields
| |
Instances
newDeleteTrustResponse Source #
Arguments
| :: Int | |
| -> DeleteTrustResponse |
Create a value of DeleteTrustResponse 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:
DeleteTrust, deleteTrustResponse_trustId - The Trust ID of the trust relationship that was deleted.
$sel:httpStatus:DeleteTrustResponse', deleteTrustResponse_httpStatus - The response's http status code.
Response Lenses
deleteTrustResponse_trustId :: Lens' DeleteTrustResponse (Maybe Text) Source #
The Trust ID of the trust relationship that was deleted.
deleteTrustResponse_httpStatus :: Lens' DeleteTrustResponse Int Source #
The response's http status code.