| 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.RolesAnywhere.DeleteTrustAnchor
Description
Deletes a trust anchor.
Required permissions: rolesanywhere:DeleteTrustAnchor.
Synopsis
- data DeleteTrustAnchor = DeleteTrustAnchor' {}
- newDeleteTrustAnchor :: Text -> DeleteTrustAnchor
- deleteTrustAnchor_trustAnchorId :: Lens' DeleteTrustAnchor Text
- data TrustAnchorDetailResponse = TrustAnchorDetailResponse' {}
- newTrustAnchorDetailResponse :: TrustAnchorDetail -> TrustAnchorDetailResponse
- trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail
Creating a Request
data DeleteTrustAnchor Source #
See: newDeleteTrustAnchor smart constructor.
Constructors
| DeleteTrustAnchor' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteTrustAnchor |
Create a value of DeleteTrustAnchor 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:
DeleteTrustAnchor, deleteTrustAnchor_trustAnchorId - The unique identifier of the trust anchor.
Request Lenses
deleteTrustAnchor_trustAnchorId :: Lens' DeleteTrustAnchor Text Source #
The unique identifier of the trust anchor.
Destructuring the Response
data TrustAnchorDetailResponse Source #
See: newTrustAnchorDetailResponse smart constructor.
Constructors
| TrustAnchorDetailResponse' | |
Fields
| |
Instances
newTrustAnchorDetailResponse Source #
Arguments
| :: TrustAnchorDetail | |
| -> TrustAnchorDetailResponse |
Create a value of TrustAnchorDetailResponse 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:trustAnchor:TrustAnchorDetailResponse', trustAnchorDetailResponse_trustAnchor - The state of the trust anchor after a read or write operation.
Response Lenses
trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail Source #
The state of the trust anchor after a read or write operation.