amazonka-rolesanywhere-2.0: Amazon IAM Roles Anywhere SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data UpdateTrustAnchor Source #

See: newUpdateTrustAnchor smart constructor.

Constructors

UpdateTrustAnchor' 

Fields

Instances

Instances details
ToJSON UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

ToHeaders UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

ToPath UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

ToQuery UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

AWSRequest UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

Associated Types

type AWSResponse UpdateTrustAnchor #

Generic UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

Associated Types

type Rep UpdateTrustAnchor :: Type -> Type #

Read UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

Show UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

NFData UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

Methods

rnf :: UpdateTrustAnchor -> () #

Eq UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

Hashable UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

type AWSResponse UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

type Rep UpdateTrustAnchor Source # 
Instance details

Defined in Amazonka.RolesAnywhere.UpdateTrustAnchor

type Rep UpdateTrustAnchor = D1 ('MetaData "UpdateTrustAnchor" "Amazonka.RolesAnywhere.UpdateTrustAnchor" "amazonka-rolesanywhere-2.0-7BPe9kXny717lI0izhhqXT" 'False) (C1 ('MetaCons "UpdateTrustAnchor'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Source)) :*: S1 ('MetaSel ('Just "trustAnchorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateTrustAnchor Source #

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

Instances details
FromJSON TrustAnchorDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.TrustAnchorDetailResponse

Generic TrustAnchorDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.TrustAnchorDetailResponse

Associated Types

type Rep TrustAnchorDetailResponse :: Type -> Type #

Read TrustAnchorDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.TrustAnchorDetailResponse

Show TrustAnchorDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.TrustAnchorDetailResponse

NFData TrustAnchorDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.TrustAnchorDetailResponse

Eq TrustAnchorDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.TrustAnchorDetailResponse

Hashable TrustAnchorDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.TrustAnchorDetailResponse

type Rep TrustAnchorDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.TrustAnchorDetailResponse

type Rep TrustAnchorDetailResponse = D1 ('MetaData "TrustAnchorDetailResponse" "Amazonka.RolesAnywhere.Types.TrustAnchorDetailResponse" "amazonka-rolesanywhere-2.0-7BPe9kXny717lI0izhhqXT" 'False) (C1 ('MetaCons "TrustAnchorDetailResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trustAnchor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrustAnchorDetail)))

newTrustAnchorDetailResponse Source #

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.