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.ImportCrl

Description

Imports the certificate revocation list (CRL). CRl is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the crl list before issuing credentials.

Required permissions: rolesanywhere:ImportCrl.

Synopsis

Creating a Request

data ImportCrl Source #

See: newImportCrl smart constructor.

Constructors

ImportCrl' 

Fields

  • enabled :: Maybe Bool

    Specifies whether the certificate revocation list (CRL) is enabled.

  • tags :: Maybe [Tag]

    A list of tags to attach to the certificate revocation list (CRL).

  • crlData :: Base64

    The x509 v3 specified certificate revocation list

  • name :: Text

    The name of the certificate revocation list (CRL).

  • trustAnchorArn :: Text

    The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.

Instances

Instances details
ToJSON ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

ToHeaders ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

Methods

toHeaders :: ImportCrl -> [Header] #

ToPath ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

ToQuery ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

AWSRequest ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

Associated Types

type AWSResponse ImportCrl #

Generic ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

Associated Types

type Rep ImportCrl :: Type -> Type #

Show ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

NFData ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

Methods

rnf :: ImportCrl -> () #

Eq ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

Hashable ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

type AWSResponse ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

type Rep ImportCrl Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ImportCrl

type Rep ImportCrl = D1 ('MetaData "ImportCrl" "Amazonka.RolesAnywhere.ImportCrl" "amazonka-rolesanywhere-2.0-7BPe9kXny717lI0izhhqXT" 'False) (C1 ('MetaCons "ImportCrl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "crlData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "trustAnchorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newImportCrl Source #

Create a value of ImportCrl 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:

ImportCrl, importCrl_enabled - Specifies whether the certificate revocation list (CRL) is enabled.

$sel:tags:ImportCrl', importCrl_tags - A list of tags to attach to the certificate revocation list (CRL).

ImportCrl, importCrl_crlData - The x509 v3 specified certificate revocation list-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

ImportCrl, importCrl_name - The name of the certificate revocation list (CRL).

ImportCrl, importCrl_trustAnchorArn - The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.

Request Lenses

importCrl_enabled :: Lens' ImportCrl (Maybe Bool) Source #

Specifies whether the certificate revocation list (CRL) is enabled.

importCrl_tags :: Lens' ImportCrl (Maybe [Tag]) Source #

A list of tags to attach to the certificate revocation list (CRL).

importCrl_crlData :: Lens' ImportCrl ByteString Source #

The x509 v3 specified certificate revocation list-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

importCrl_name :: Lens' ImportCrl Text Source #

The name of the certificate revocation list (CRL).

importCrl_trustAnchorArn :: Lens' ImportCrl Text Source #

The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.

Destructuring the Response

data CrlDetailResponse Source #

See: newCrlDetailResponse smart constructor.

Constructors

CrlDetailResponse' 

Fields

  • crl :: CrlDetail

    The state of the certificate revocation list (CRL) after a read or write operation.

Instances

Instances details
FromJSON CrlDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.CrlDetailResponse

Generic CrlDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.CrlDetailResponse

Associated Types

type Rep CrlDetailResponse :: Type -> Type #

Read CrlDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.CrlDetailResponse

Show CrlDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.CrlDetailResponse

NFData CrlDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.CrlDetailResponse

Methods

rnf :: CrlDetailResponse -> () #

Eq CrlDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.CrlDetailResponse

Hashable CrlDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.CrlDetailResponse

type Rep CrlDetailResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.Types.CrlDetailResponse

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

newCrlDetailResponse Source #

Create a value of CrlDetailResponse 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:crl:CrlDetailResponse', crlDetailResponse_crl - The state of the certificate revocation list (CRL) after a read or write operation.

Response Lenses

crlDetailResponse_crl :: Lens' CrlDetailResponse CrlDetail Source #

The state of the certificate revocation list (CRL) after a read or write operation.