| 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.UpdateTrustAnchor
Description
Updates the trust anchor.You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. A Trust Anchor is defined either as a reference to a AWS Certificate Manager Private Certificate Authority (ACM PCA), or by uploading a Certificate Authority (CA) certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the trusted Certificate Authority (CA) in exchange for temporary AWS credentials.
Required permissions: rolesanywhere:UpdateTrustAnchor.
Synopsis
- data UpdateTrustAnchor = UpdateTrustAnchor' {}
- newUpdateTrustAnchor :: Text -> UpdateTrustAnchor
- updateTrustAnchor_name :: Lens' UpdateTrustAnchor (Maybe Text)
- updateTrustAnchor_source :: Lens' UpdateTrustAnchor (Maybe Source)
- updateTrustAnchor_trustAnchorId :: Lens' UpdateTrustAnchor Text
- data TrustAnchorDetailResponse = TrustAnchorDetailResponse' {}
- newTrustAnchorDetailResponse :: TrustAnchorDetail -> TrustAnchorDetailResponse
- trustAnchorDetailResponse_trustAnchor :: Lens' TrustAnchorDetailResponse TrustAnchorDetail
Creating a Request
data UpdateTrustAnchor Source #
See: newUpdateTrustAnchor smart constructor.
Constructors
| UpdateTrustAnchor' | |
Instances
Arguments
| :: Text | |
| -> UpdateTrustAnchor |
Create a value of UpdateTrustAnchor 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:
UpdateTrustAnchor, updateTrustAnchor_name - The name of the trust anchor.
UpdateTrustAnchor, updateTrustAnchor_source - The trust anchor type and its related certificate data.
UpdateTrustAnchor, updateTrustAnchor_trustAnchorId - The unique identifier of the trust anchor.
Request Lenses
updateTrustAnchor_name :: Lens' UpdateTrustAnchor (Maybe Text) Source #
The name of the trust anchor.
updateTrustAnchor_source :: Lens' UpdateTrustAnchor (Maybe Source) Source #
The trust anchor type and its related certificate data.
updateTrustAnchor_trustAnchorId :: Lens' UpdateTrustAnchor 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.