| 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.EnableTrustAnchor
Description
Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation.
Required permissions: rolesanywhere:EnableTrustAnchor.
Synopsis
- data EnableTrustAnchor = EnableTrustAnchor' {}
- newEnableTrustAnchor :: Text -> EnableTrustAnchor
- enableTrustAnchor_trustAnchorId :: Lens' EnableTrustAnchor Text
- data TrustAnchorDetailResponse = TrustAnchorDetailResponse' {}
- newTrustAnchorDetailResponse :: TrustAnchorDetail -> TrustAnchorDetailResponse
- trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail
Creating a Request
data EnableTrustAnchor Source #
See: newEnableTrustAnchor smart constructor.
Constructors
| EnableTrustAnchor' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> EnableTrustAnchor |
Create a value of EnableTrustAnchor 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:
EnableTrustAnchor, enableTrustAnchor_trustAnchorId - The unique identifier of the trust anchor.
Request Lenses
enableTrustAnchor_trustAnchorId :: Lens' EnableTrustAnchor 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.