Module Smaws_Client_ACMPCA.CreateCertificateAuthorityAuditReport

Creates an audit report that lists every time that your CA private key is used to issue a certificate. The IssueCertificate and RevokeCertificate actions use the private key.

To save the audit report to your designated Amazon S3 bucket, you must create a bucket policy that grants Amazon Web Services Private CA permission to access and write to it. For an example policy, see Prepare an Amazon S3 bucket for audit reports.

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

You can generate a maximum of one report every 30 minutes.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidArgsException of Types.invalid_args_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidStateException of Types.invalid_state_exception | `RequestFailedException of Types.request_failed_exception | `RequestInProgressException of Types.request_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_certificate_authority_audit_report_request -> (Types.create_certificate_authority_audit_report_response, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidArgsException of Types.invalid_args_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidStateException of Types.invalid_state_exception | `RequestFailedException of Types.request_failed_exception | `RequestInProgressException of Types.request_in_progress_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result