| 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.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
- data ImportCrl = ImportCrl' {}
- newImportCrl :: ByteString -> Text -> Text -> ImportCrl
- importCrl_enabled :: Lens' ImportCrl (Maybe Bool)
- importCrl_tags :: Lens' ImportCrl (Maybe [Tag])
- importCrl_crlData :: Lens' ImportCrl ByteString
- importCrl_name :: Lens' ImportCrl Text
- importCrl_trustAnchorArn :: Lens' ImportCrl Text
- data CrlDetailResponse = CrlDetailResponse' {}
- newCrlDetailResponse :: CrlDetail -> CrlDetailResponse
- crlDetailResponse_crl :: Lens' CrlDetailResponse CrlDetail
Creating a Request
See: newImportCrl smart constructor.
Constructors
| ImportCrl' | |
Fields
| |
Instances
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_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' | |
Instances
Arguments
| :: CrlDetail | |
| -> CrlDetailResponse |
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.