| 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.GetTrustAnchor
Description
Gets a trust anchor.
Required permissions: rolesanywhere:GetTrustAnchor.
Synopsis
- data GetTrustAnchor = GetTrustAnchor' {}
- newGetTrustAnchor :: Text -> GetTrustAnchor
- getTrustAnchor_trustAnchorId :: Lens' GetTrustAnchor Text
- data TrustAnchorDetailResponse = TrustAnchorDetailResponse' {}
- newTrustAnchorDetailResponse :: TrustAnchorDetail -> TrustAnchorDetailResponse
- trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail
Creating a Request
data GetTrustAnchor Source #
See: newGetTrustAnchor smart constructor.
Constructors
| GetTrustAnchor' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetTrustAnchor |
Create a value of GetTrustAnchor 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:
GetTrustAnchor, getTrustAnchor_trustAnchorId - The unique identifier of the trust anchor.
Request Lenses
getTrustAnchor_trustAnchorId :: Lens' GetTrustAnchor 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.