| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.IAM.Types.SigningCertificate
Description
Synopsis
- data SigningCertificate = SigningCertificate' {}
- newSigningCertificate :: Text -> Text -> Text -> StatusType -> SigningCertificate
- signingCertificate_uploadDate :: Lens' SigningCertificate (Maybe UTCTime)
- signingCertificate_userName :: Lens' SigningCertificate Text
- signingCertificate_certificateId :: Lens' SigningCertificate Text
- signingCertificate_certificateBody :: Lens' SigningCertificate Text
- signingCertificate_status :: Lens' SigningCertificate StatusType
Documentation
data SigningCertificate Source #
Contains information about an X.509 signing certificate.
This data type is used as a response element in the UploadSigningCertificate and ListSigningCertificates operations.
See: newSigningCertificate smart constructor.
Constructors
| SigningCertificate' | |
Fields
| |
Instances
newSigningCertificate Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> StatusType | |
| -> SigningCertificate |
Create a value of SigningCertificate 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:uploadDate:SigningCertificate', signingCertificate_uploadDate - The date when the signing certificate was uploaded.
$sel:userName:SigningCertificate', signingCertificate_userName - The name of the user the signing certificate is associated with.
$sel:certificateId:SigningCertificate', signingCertificate_certificateId - The ID for the signing certificate.
$sel:certificateBody:SigningCertificate', signingCertificate_certificateBody - The contents of the signing certificate.
$sel:status:SigningCertificate', signingCertificate_status - The status of the signing certificate. Active means that the key is
valid for API calls, while Inactive means it is not.
signingCertificate_uploadDate :: Lens' SigningCertificate (Maybe UTCTime) Source #
The date when the signing certificate was uploaded.
signingCertificate_userName :: Lens' SigningCertificate Text Source #
The name of the user the signing certificate is associated with.
signingCertificate_certificateId :: Lens' SigningCertificate Text Source #
The ID for the signing certificate.
signingCertificate_certificateBody :: Lens' SigningCertificate Text Source #
The contents of the signing certificate.
signingCertificate_status :: Lens' SigningCertificate StatusType Source #
The status of the signing certificate. Active means that the key is
valid for API calls, while Inactive means it is not.