Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates an audit report that lists every time that the your CA private key is used. The report is saved in the Amazon S3 bucket that you specify on input. The IssueCertificate
and RevokeCertificate
functions use the private key. You can generate a new report every 30 minutes.
Synopsis
- createCertificateAuthorityAuditReport :: Text -> Text -> AuditReportResponseFormat -> CreateCertificateAuthorityAuditReport
- data CreateCertificateAuthorityAuditReport
- ccaarCertificateAuthorityARN :: Lens' CreateCertificateAuthorityAuditReport Text
- ccaarS3BucketName :: Lens' CreateCertificateAuthorityAuditReport Text
- ccaarAuditReportResponseFormat :: Lens' CreateCertificateAuthorityAuditReport AuditReportResponseFormat
- createCertificateAuthorityAuditReportResponse :: Int -> CreateCertificateAuthorityAuditReportResponse
- data CreateCertificateAuthorityAuditReportResponse
- ccaarrsS3Key :: Lens' CreateCertificateAuthorityAuditReportResponse (Maybe Text)
- ccaarrsAuditReportId :: Lens' CreateCertificateAuthorityAuditReportResponse (Maybe Text)
- ccaarrsResponseStatus :: Lens' CreateCertificateAuthorityAuditReportResponse Int
Creating a Request
createCertificateAuthorityAuditReport Source #
Creates a value of CreateCertificateAuthorityAuditReport
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccaarCertificateAuthorityARN
- Amazon Resource Name (ARN) of the CA to be audited. This is of the form:arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
.ccaarS3BucketName
- Name of the S3 bucket that will contain the audit report.ccaarAuditReportResponseFormat
- Format in which to create the report. This can be either JSON or CSV .
data CreateCertificateAuthorityAuditReport Source #
See: createCertificateAuthorityAuditReport
smart constructor.
Instances
Request Lenses
ccaarCertificateAuthorityARN :: Lens' CreateCertificateAuthorityAuditReport Text Source #
Amazon Resource Name (ARN) of the CA to be audited. This is of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
.
ccaarS3BucketName :: Lens' CreateCertificateAuthorityAuditReport Text Source #
Name of the S3 bucket that will contain the audit report.
ccaarAuditReportResponseFormat :: Lens' CreateCertificateAuthorityAuditReport AuditReportResponseFormat Source #
Format in which to create the report. This can be either JSON or CSV .
Destructuring the Response
createCertificateAuthorityAuditReportResponse Source #
Creates a value of CreateCertificateAuthorityAuditReportResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccaarrsS3Key
- The key that uniquely identifies the report file in your S3 bucket.ccaarrsAuditReportId
- An alphanumeric string that contains a report identifier.ccaarrsResponseStatus
- -- | The response status code.
data CreateCertificateAuthorityAuditReportResponse Source #
See: createCertificateAuthorityAuditReportResponse
smart constructor.
Instances
Response Lenses
ccaarrsS3Key :: Lens' CreateCertificateAuthorityAuditReportResponse (Maybe Text) Source #
The key that uniquely identifies the report file in your S3 bucket.
ccaarrsAuditReportId :: Lens' CreateCertificateAuthorityAuditReportResponse (Maybe Text) Source #
An alphanumeric string that contains a report identifier.
ccaarrsResponseStatus :: Lens' CreateCertificateAuthorityAuditReportResponse Int Source #
- - | The response status code.