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 |
Lists information about a specific audit report created by calling the CreateCertificateAuthorityAuditReport action. Audit information is created every time the certificate authority (CA) private key is used. The private key is used when you call the IssueCertificate action or the RevokeCertificate action.
Synopsis
- data DescribeCertificateAuthorityAuditReport = DescribeCertificateAuthorityAuditReport' {}
- newDescribeCertificateAuthorityAuditReport :: Text -> Text -> DescribeCertificateAuthorityAuditReport
- describeCertificateAuthorityAuditReport_certificateAuthorityArn :: Lens' DescribeCertificateAuthorityAuditReport Text
- describeCertificateAuthorityAuditReport_auditReportId :: Lens' DescribeCertificateAuthorityAuditReport Text
- data DescribeCertificateAuthorityAuditReportResponse = DescribeCertificateAuthorityAuditReportResponse' {}
- newDescribeCertificateAuthorityAuditReportResponse :: Int -> DescribeCertificateAuthorityAuditReportResponse
- describeCertificateAuthorityAuditReportResponse_s3Key :: Lens' DescribeCertificateAuthorityAuditReportResponse (Maybe Text)
- describeCertificateAuthorityAuditReportResponse_createdAt :: Lens' DescribeCertificateAuthorityAuditReportResponse (Maybe UTCTime)
- describeCertificateAuthorityAuditReportResponse_auditReportStatus :: Lens' DescribeCertificateAuthorityAuditReportResponse (Maybe AuditReportStatus)
- describeCertificateAuthorityAuditReportResponse_s3BucketName :: Lens' DescribeCertificateAuthorityAuditReportResponse (Maybe Text)
- describeCertificateAuthorityAuditReportResponse_httpStatus :: Lens' DescribeCertificateAuthorityAuditReportResponse Int
Creating a Request
data DescribeCertificateAuthorityAuditReport Source #
See: newDescribeCertificateAuthorityAuditReport
smart constructor.
DescribeCertificateAuthorityAuditReport' | |
|
Instances
newDescribeCertificateAuthorityAuditReport Source #
:: Text |
|
-> Text | |
-> DescribeCertificateAuthorityAuditReport |
Create a value of DescribeCertificateAuthorityAuditReport
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:certificateAuthorityArn:DescribeCertificateAuthorityAuditReport'
, describeCertificateAuthorityAuditReport_certificateAuthorityArn
- The Amazon Resource Name (ARN) of the private CA. This must be of the
form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
.
$sel:auditReportId:DescribeCertificateAuthorityAuditReport'
, describeCertificateAuthorityAuditReport_auditReportId
- The report ID returned by calling the
CreateCertificateAuthorityAuditReport
action.
Request Lenses
describeCertificateAuthorityAuditReport_certificateAuthorityArn :: Lens' DescribeCertificateAuthorityAuditReport Text Source #
The Amazon Resource Name (ARN) of the private CA. This must be of the form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
.
describeCertificateAuthorityAuditReport_auditReportId :: Lens' DescribeCertificateAuthorityAuditReport Text Source #
The report ID returned by calling the CreateCertificateAuthorityAuditReport action.
Destructuring the Response
data DescribeCertificateAuthorityAuditReportResponse Source #
See: newDescribeCertificateAuthorityAuditReportResponse
smart constructor.
DescribeCertificateAuthorityAuditReportResponse' | |
|
Instances
newDescribeCertificateAuthorityAuditReportResponse Source #
:: Int |
|
-> DescribeCertificateAuthorityAuditReportResponse |
Create a value of DescribeCertificateAuthorityAuditReportResponse
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:s3Key:DescribeCertificateAuthorityAuditReportResponse'
, describeCertificateAuthorityAuditReportResponse_s3Key
- S3 key that uniquely identifies the report file in your S3 bucket.
$sel:createdAt:DescribeCertificateAuthorityAuditReportResponse'
, describeCertificateAuthorityAuditReportResponse_createdAt
- The date and time at which the report was created.
$sel:auditReportStatus:DescribeCertificateAuthorityAuditReportResponse'
, describeCertificateAuthorityAuditReportResponse_auditReportStatus
- Specifies whether report creation is in progress, has succeeded, or has
failed.
$sel:s3BucketName:DescribeCertificateAuthorityAuditReportResponse'
, describeCertificateAuthorityAuditReportResponse_s3BucketName
- Name of the S3 bucket that contains the report.
$sel:httpStatus:DescribeCertificateAuthorityAuditReportResponse'
, describeCertificateAuthorityAuditReportResponse_httpStatus
- The response's http status code.
Response Lenses
describeCertificateAuthorityAuditReportResponse_s3Key :: Lens' DescribeCertificateAuthorityAuditReportResponse (Maybe Text) Source #
S3 key that uniquely identifies the report file in your S3 bucket.
describeCertificateAuthorityAuditReportResponse_createdAt :: Lens' DescribeCertificateAuthorityAuditReportResponse (Maybe UTCTime) Source #
The date and time at which the report was created.
describeCertificateAuthorityAuditReportResponse_auditReportStatus :: Lens' DescribeCertificateAuthorityAuditReportResponse (Maybe AuditReportStatus) Source #
Specifies whether report creation is in progress, has succeeded, or has failed.
describeCertificateAuthorityAuditReportResponse_s3BucketName :: Lens' DescribeCertificateAuthorityAuditReportResponse (Maybe Text) Source #
Name of the S3 bucket that contains the report.
describeCertificateAuthorityAuditReportResponse_httpStatus :: Lens' DescribeCertificateAuthorityAuditReportResponse Int Source #
The response's http status code.