| 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.UpdateCrl
Description
Updates 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:UpdateCrl.
Synopsis
- data UpdateCrl = UpdateCrl' {}
- newUpdateCrl :: Text -> UpdateCrl
- updateCrl_crlData :: Lens' UpdateCrl (Maybe ByteString)
- updateCrl_name :: Lens' UpdateCrl (Maybe Text)
- updateCrl_crlId :: Lens' UpdateCrl Text
- data CrlDetailResponse = CrlDetailResponse' {}
- newCrlDetailResponse :: CrlDetail -> CrlDetailResponse
- crlDetailResponse_crl :: Lens' CrlDetailResponse CrlDetail
Creating a Request
See: newUpdateCrl smart constructor.
Constructors
| UpdateCrl' | |
Instances
Create a value of UpdateCrl 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:
UpdateCrl, updateCrl_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.
UpdateCrl, updateCrl_name - The name of the Crl.
UpdateCrl, updateCrl_crlId - The unique identifier of the certificate revocation list (CRL).
Request Lenses
updateCrl_crlData :: Lens' UpdateCrl (Maybe 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.
updateCrl_crlId :: Lens' UpdateCrl Text Source #
The unique identifier of the certificate revocation list (CRL).
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.