libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

Description

Creates an audit report that lists every time that your CA private key is used. The report is saved in the Amazon S3 bucket that you specify on input. The IssueCertificate and RevokeCertificate actions use the private key.

Both PCA and the IAM principal must have permission to write to the S3 bucket that you specify. If the IAM principal making the call does not have permission to write to the bucket, then an exception is thrown. For more information, see Configure Access to ACM Private CA.

ACM Private CA assets that are stored in Amazon S3 can be protected with encryption. For more information, see Encrypting Your Audit Reports.

Synopsis

Creating a Request

data CreateCertificateAuthorityAuditReport Source #

Constructors

CreateCertificateAuthorityAuditReport' 

Fields

Instances

Instances details
Eq CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

Read CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

Show CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

Generic CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

NFData CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

Hashable CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

ToJSON CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

AWSRequest CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

ToHeaders CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

ToPath CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

ToQuery CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

type Rep CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

type Rep CreateCertificateAuthorityAuditReport = D1 ('MetaData "CreateCertificateAuthorityAuditReport" "Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "CreateCertificateAuthorityAuditReport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateAuthorityArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "auditReportResponseFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AuditReportResponseFormat))))
type AWSResponse CreateCertificateAuthorityAuditReport Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

newCreateCertificateAuthorityAuditReport Source #

Create a value of CreateCertificateAuthorityAuditReport 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:CreateCertificateAuthorityAuditReport', createCertificateAuthorityAuditReport_certificateAuthorityArn - The Amazon Resource Name (ARN) of the CA to be audited. This is of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

$sel:s3BucketName:CreateCertificateAuthorityAuditReport', createCertificateAuthorityAuditReport_s3BucketName - The name of the S3 bucket that will contain the audit report.

$sel:auditReportResponseFormat:CreateCertificateAuthorityAuditReport', createCertificateAuthorityAuditReport_auditReportResponseFormat - The format in which to create the report. This can be either JSON or CSV.

Request Lenses

createCertificateAuthorityAuditReport_certificateAuthorityArn :: Lens' CreateCertificateAuthorityAuditReport Text Source #

The Amazon Resource Name (ARN) of the CA to be audited. This is of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

createCertificateAuthorityAuditReport_s3BucketName :: Lens' CreateCertificateAuthorityAuditReport Text Source #

The name of the S3 bucket that will contain the audit report.

Destructuring the Response

data CreateCertificateAuthorityAuditReportResponse Source #

Constructors

CreateCertificateAuthorityAuditReportResponse' 

Fields

Instances

Instances details
Eq CreateCertificateAuthorityAuditReportResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

Read CreateCertificateAuthorityAuditReportResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

Show CreateCertificateAuthorityAuditReportResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

Generic CreateCertificateAuthorityAuditReportResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

NFData CreateCertificateAuthorityAuditReportResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

type Rep CreateCertificateAuthorityAuditReportResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport

type Rep CreateCertificateAuthorityAuditReportResponse = D1 ('MetaData "CreateCertificateAuthorityAuditReportResponse" "Amazonka.CertificateManagerPCA.CreateCertificateAuthorityAuditReport" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "CreateCertificateAuthorityAuditReportResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3Key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "auditReportId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateCertificateAuthorityAuditReportResponse Source #

Create a value of CreateCertificateAuthorityAuditReportResponse 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:CreateCertificateAuthorityAuditReportResponse', createCertificateAuthorityAuditReportResponse_s3Key - The key that uniquely identifies the report file in your S3 bucket.

$sel:auditReportId:CreateCertificateAuthorityAuditReportResponse', createCertificateAuthorityAuditReportResponse_auditReportId - An alphanumeric string that contains a report identifier.

$sel:httpStatus:CreateCertificateAuthorityAuditReportResponse', createCertificateAuthorityAuditReportResponse_httpStatus - The response's http status code.

Response Lenses

createCertificateAuthorityAuditReportResponse_s3Key :: Lens' CreateCertificateAuthorityAuditReportResponse (Maybe Text) Source #

The key that uniquely identifies the report file in your S3 bucket.