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 |
Synopsis
- data CertificateDetail = CertificateDetail' {
- certificateArn :: Maybe Text
- certificateAuthorityArn :: Maybe Text
- createdAt :: Maybe POSIX
- domainName :: Maybe Text
- domainValidationOptions :: Maybe (NonEmpty DomainValidation)
- extendedKeyUsages :: Maybe [ExtendedKeyUsage]
- failureReason :: Maybe FailureReason
- importedAt :: Maybe POSIX
- inUseBy :: Maybe [Text]
- issuedAt :: Maybe POSIX
- issuer :: Maybe Text
- keyAlgorithm :: Maybe KeyAlgorithm
- keyUsages :: Maybe [KeyUsage]
- notAfter :: Maybe POSIX
- notBefore :: Maybe POSIX
- options :: Maybe CertificateOptions
- renewalEligibility :: Maybe RenewalEligibility
- renewalSummary :: Maybe RenewalSummary
- revocationReason :: Maybe RevocationReason
- revokedAt :: Maybe POSIX
- serial :: Maybe Text
- signatureAlgorithm :: Maybe Text
- status :: Maybe CertificateStatus
- subject :: Maybe Text
- subjectAlternativeNames :: Maybe (NonEmpty Text)
- type' :: Maybe CertificateType
- newCertificateDetail :: CertificateDetail
- certificateDetail_certificateArn :: Lens' CertificateDetail (Maybe Text)
- certificateDetail_certificateAuthorityArn :: Lens' CertificateDetail (Maybe Text)
- certificateDetail_createdAt :: Lens' CertificateDetail (Maybe UTCTime)
- certificateDetail_domainName :: Lens' CertificateDetail (Maybe Text)
- certificateDetail_domainValidationOptions :: Lens' CertificateDetail (Maybe (NonEmpty DomainValidation))
- certificateDetail_extendedKeyUsages :: Lens' CertificateDetail (Maybe [ExtendedKeyUsage])
- certificateDetail_failureReason :: Lens' CertificateDetail (Maybe FailureReason)
- certificateDetail_importedAt :: Lens' CertificateDetail (Maybe UTCTime)
- certificateDetail_inUseBy :: Lens' CertificateDetail (Maybe [Text])
- certificateDetail_issuedAt :: Lens' CertificateDetail (Maybe UTCTime)
- certificateDetail_issuer :: Lens' CertificateDetail (Maybe Text)
- certificateDetail_keyAlgorithm :: Lens' CertificateDetail (Maybe KeyAlgorithm)
- certificateDetail_keyUsages :: Lens' CertificateDetail (Maybe [KeyUsage])
- certificateDetail_notAfter :: Lens' CertificateDetail (Maybe UTCTime)
- certificateDetail_notBefore :: Lens' CertificateDetail (Maybe UTCTime)
- certificateDetail_options :: Lens' CertificateDetail (Maybe CertificateOptions)
- certificateDetail_renewalEligibility :: Lens' CertificateDetail (Maybe RenewalEligibility)
- certificateDetail_renewalSummary :: Lens' CertificateDetail (Maybe RenewalSummary)
- certificateDetail_revocationReason :: Lens' CertificateDetail (Maybe RevocationReason)
- certificateDetail_revokedAt :: Lens' CertificateDetail (Maybe UTCTime)
- certificateDetail_serial :: Lens' CertificateDetail (Maybe Text)
- certificateDetail_signatureAlgorithm :: Lens' CertificateDetail (Maybe Text)
- certificateDetail_status :: Lens' CertificateDetail (Maybe CertificateStatus)
- certificateDetail_subject :: Lens' CertificateDetail (Maybe Text)
- certificateDetail_subjectAlternativeNames :: Lens' CertificateDetail (Maybe (NonEmpty Text))
- certificateDetail_type :: Lens' CertificateDetail (Maybe CertificateType)
Documentation
data CertificateDetail Source #
Contains metadata about an ACM certificate. This structure is returned in the response to a DescribeCertificate request.
See: newCertificateDetail
smart constructor.
CertificateDetail' | |
|
Instances
newCertificateDetail :: CertificateDetail Source #
Create a value of CertificateDetail
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:certificateArn:CertificateDetail'
, certificateDetail_certificateArn
- The Amazon Resource Name (ARN) of the certificate. For more information
about ARNs, see
Amazon Resource Names (ARNs)
in the Amazon Web Services General Reference.
$sel:certificateAuthorityArn:CertificateDetail'
, certificateDetail_certificateAuthorityArn
- The Amazon Resource Name (ARN) of the private certificate authority (CA)
that issued the certificate. This has the following format:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
$sel:createdAt:CertificateDetail'
, certificateDetail_createdAt
- The time at which the certificate was requested.
CertificateDetail
, certificateDetail_domainName
- The fully qualified domain name for the certificate, such as
www.example.com or example.com.
CertificateDetail
, certificateDetail_domainValidationOptions
- Contains information about the initial validation of each domain name
that occurs as a result of the RequestCertificate request. This field
exists only when the certificate type is AMAZON_ISSUED
.
$sel:extendedKeyUsages:CertificateDetail'
, certificateDetail_extendedKeyUsages
- Contains a list of Extended Key Usage X.509 v3 extension objects. Each
object specifies a purpose for which the certificate public key can be
used and consists of a name and an object identifier (OID).
$sel:failureReason:CertificateDetail'
, certificateDetail_failureReason
- The reason the certificate request failed. This value exists only when
the certificate status is FAILED
. For more information, see
Certificate Request Failed
in the Certificate Manager User Guide.
$sel:importedAt:CertificateDetail'
, certificateDetail_importedAt
- The date and time when the certificate was imported. This value exists
only when the certificate type is IMPORTED
.
$sel:inUseBy:CertificateDetail'
, certificateDetail_inUseBy
- A list of ARNs for the Amazon Web Services resources that are using the
certificate. A certificate can be used by multiple Amazon Web Services
resources.
$sel:issuedAt:CertificateDetail'
, certificateDetail_issuedAt
- The time at which the certificate was issued. This value exists only
when the certificate type is AMAZON_ISSUED
.
$sel:issuer:CertificateDetail'
, certificateDetail_issuer
- The name of the certificate authority that issued and signed the
certificate.
$sel:keyAlgorithm:CertificateDetail'
, certificateDetail_keyAlgorithm
- The algorithm that was used to generate the public-private key pair.
$sel:keyUsages:CertificateDetail'
, certificateDetail_keyUsages
- A list of Key Usage X.509 v3 extension objects. Each object is a string
value that identifies the purpose of the public key contained in the
certificate. Possible extension values include DIGITAL_SIGNATURE,
KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.
$sel:notAfter:CertificateDetail'
, certificateDetail_notAfter
- The time after which the certificate is not valid.
$sel:notBefore:CertificateDetail'
, certificateDetail_notBefore
- The time before which the certificate is not valid.
$sel:options:CertificateDetail'
, certificateDetail_options
- Value that specifies whether to add the certificate to a transparency
log. Certificate transparency makes it possible to detect SSL
certificates that have been mistakenly or maliciously issued. A browser
might respond to certificate that has not been logged by showing an
error message. The logs are cryptographically secure.
$sel:renewalEligibility:CertificateDetail'
, certificateDetail_renewalEligibility
- Specifies whether the certificate is eligible for renewal. At this time,
only exported private certificates can be renewed with the
RenewCertificate command.
$sel:renewalSummary:CertificateDetail'
, certificateDetail_renewalSummary
- Contains information about the status of ACM's
managed renewal
for the certificate. This field exists only when the certificate type is
AMAZON_ISSUED
.
$sel:revocationReason:CertificateDetail'
, certificateDetail_revocationReason
- The reason the certificate was revoked. This value exists only when the
certificate status is REVOKED
.
$sel:revokedAt:CertificateDetail'
, certificateDetail_revokedAt
- The time at which the certificate was revoked. This value exists only
when the certificate status is REVOKED
.
$sel:serial:CertificateDetail'
, certificateDetail_serial
- The serial number of the certificate.
$sel:signatureAlgorithm:CertificateDetail'
, certificateDetail_signatureAlgorithm
- The algorithm that was used to sign the certificate.
$sel:status:CertificateDetail'
, certificateDetail_status
- The status of the certificate.
A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic Certificate request fails. ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS validation or Email validation, and try again. If validation succeeds, the certificate enters status ISSUED.
$sel:subject:CertificateDetail'
, certificateDetail_subject
- The name of the entity that is associated with the public key contained
in the certificate.
$sel:subjectAlternativeNames:CertificateDetail'
, certificateDetail_subjectAlternativeNames
- One or more domain names (subject alternative names) included in the
certificate. This list contains the domain names that are bound to the
public key that is contained in the certificate. The subject alternative
names include the canonical domain name (CN) of the certificate and
additional domain names that can be used to connect to the website.
$sel:type':CertificateDetail'
, certificateDetail_type
- The source of the certificate. For certificates provided by ACM, this
value is AMAZON_ISSUED
. For certificates that you imported with
ImportCertificate, this value is IMPORTED
. ACM does not provide
managed renewal
for imported certificates. For more information about the differences
between certificates that you import and those that ACM provides, see
Importing Certificates
in the Certificate Manager User Guide.
certificateDetail_certificateArn :: Lens' CertificateDetail (Maybe Text) Source #
The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
certificateDetail_certificateAuthorityArn :: Lens' CertificateDetail (Maybe Text) Source #
The Amazon Resource Name (ARN) of the private certificate authority (CA) that issued the certificate. This has the following format:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
certificateDetail_createdAt :: Lens' CertificateDetail (Maybe UTCTime) Source #
The time at which the certificate was requested.
certificateDetail_domainName :: Lens' CertificateDetail (Maybe Text) Source #
The fully qualified domain name for the certificate, such as www.example.com or example.com.
certificateDetail_domainValidationOptions :: Lens' CertificateDetail (Maybe (NonEmpty DomainValidation)) Source #
Contains information about the initial validation of each domain name
that occurs as a result of the RequestCertificate request. This field
exists only when the certificate type is AMAZON_ISSUED
.
certificateDetail_extendedKeyUsages :: Lens' CertificateDetail (Maybe [ExtendedKeyUsage]) Source #
Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID).
certificateDetail_failureReason :: Lens' CertificateDetail (Maybe FailureReason) Source #
The reason the certificate request failed. This value exists only when
the certificate status is FAILED
. For more information, see
Certificate Request Failed
in the Certificate Manager User Guide.
certificateDetail_importedAt :: Lens' CertificateDetail (Maybe UTCTime) Source #
The date and time when the certificate was imported. This value exists
only when the certificate type is IMPORTED
.
certificateDetail_inUseBy :: Lens' CertificateDetail (Maybe [Text]) Source #
A list of ARNs for the Amazon Web Services resources that are using the certificate. A certificate can be used by multiple Amazon Web Services resources.
certificateDetail_issuedAt :: Lens' CertificateDetail (Maybe UTCTime) Source #
The time at which the certificate was issued. This value exists only
when the certificate type is AMAZON_ISSUED
.
certificateDetail_issuer :: Lens' CertificateDetail (Maybe Text) Source #
The name of the certificate authority that issued and signed the certificate.
certificateDetail_keyAlgorithm :: Lens' CertificateDetail (Maybe KeyAlgorithm) Source #
The algorithm that was used to generate the public-private key pair.
certificateDetail_keyUsages :: Lens' CertificateDetail (Maybe [KeyUsage]) Source #
A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.
certificateDetail_notAfter :: Lens' CertificateDetail (Maybe UTCTime) Source #
The time after which the certificate is not valid.
certificateDetail_notBefore :: Lens' CertificateDetail (Maybe UTCTime) Source #
The time before which the certificate is not valid.
certificateDetail_options :: Lens' CertificateDetail (Maybe CertificateOptions) Source #
Value that specifies whether to add the certificate to a transparency log. Certificate transparency makes it possible to detect SSL certificates that have been mistakenly or maliciously issued. A browser might respond to certificate that has not been logged by showing an error message. The logs are cryptographically secure.
certificateDetail_renewalEligibility :: Lens' CertificateDetail (Maybe RenewalEligibility) Source #
Specifies whether the certificate is eligible for renewal. At this time, only exported private certificates can be renewed with the RenewCertificate command.
certificateDetail_renewalSummary :: Lens' CertificateDetail (Maybe RenewalSummary) Source #
Contains information about the status of ACM's
managed renewal
for the certificate. This field exists only when the certificate type is
AMAZON_ISSUED
.
certificateDetail_revocationReason :: Lens' CertificateDetail (Maybe RevocationReason) Source #
The reason the certificate was revoked. This value exists only when the
certificate status is REVOKED
.
certificateDetail_revokedAt :: Lens' CertificateDetail (Maybe UTCTime) Source #
The time at which the certificate was revoked. This value exists only
when the certificate status is REVOKED
.
certificateDetail_serial :: Lens' CertificateDetail (Maybe Text) Source #
The serial number of the certificate.
certificateDetail_signatureAlgorithm :: Lens' CertificateDetail (Maybe Text) Source #
The algorithm that was used to sign the certificate.
certificateDetail_status :: Lens' CertificateDetail (Maybe CertificateStatus) Source #
The status of the certificate.
A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic Certificate request fails. ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS validation or Email validation, and try again. If validation succeeds, the certificate enters status ISSUED.
certificateDetail_subject :: Lens' CertificateDetail (Maybe Text) Source #
The name of the entity that is associated with the public key contained in the certificate.
certificateDetail_subjectAlternativeNames :: Lens' CertificateDetail (Maybe (NonEmpty Text)) Source #
One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
certificateDetail_type :: Lens' CertificateDetail (Maybe CertificateType) Source #
The source of the certificate. For certificates provided by ACM, this
value is AMAZON_ISSUED
. For certificates that you imported with
ImportCertificate, this value is IMPORTED
. ACM does not provide
managed renewal
for imported certificates. For more information about the differences
between certificates that you import and those that ACM provides, see
Importing Certificates
in the Certificate Manager User Guide.