:doc:`ACMPCA <../../acm-pca>` / Client / describe_certificate_authority_audit_report

*******************************************
describe_certificate_authority_audit_report
*******************************************



.. py:method:: ACMPCA.Client.describe_certificate_authority_audit_report(**kwargs)

  

  Lists information about a specific audit report created by calling the `CreateCertificateAuthorityAuditReport <https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html>`__ 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 <https://docs.aws.amazon.com/privateca/latest/APIReference/API_IssueCertificate.html>`__ action or the `RevokeCertificate <https://docs.aws.amazon.com/privateca/latest/APIReference/API_RevokeCertificate.html>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DescribeCertificateAuthorityAuditReport>`_  


  **Request Syntax**
  ::

    response = client.describe_certificate_authority_audit_report(
        CertificateAuthorityArn='string',
        AuditReportId='string'
    )
    
  :type CertificateAuthorityArn: string
  :param CertificateAuthorityArn: **[REQUIRED]** 

    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 ``.

    

  
  :type AuditReportId: string
  :param AuditReportId: **[REQUIRED]** 

    The report ID returned by calling the `CreateCertificateAuthorityAuditReport <https://docs.aws.amazon.com/privateca/latest/APIReference/API_CreateCertificateAuthorityAuditReport.html>`__ action.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'AuditReportStatus': 'CREATING'|'SUCCESS'|'FAILED',
          'S3BucketName': 'string',
          'S3Key': 'string',
          'CreatedAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AuditReportStatus** *(string) --* 

        Specifies whether report creation is in progress, has succeeded, or has failed.

        
      

      - **S3BucketName** *(string) --* 

        Name of the S3 bucket that contains the report.

        
      

      - **S3Key** *(string) --* 

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

        
      

      - **CreatedAt** *(datetime) --* 

        The date and time at which the report was created.

        
  
  **Exceptions**
  
  *   :py:class:`ACMPCA.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ACMPCA.Client.exceptions.InvalidArgsException`

  
  *   :py:class:`ACMPCA.Client.exceptions.InvalidArnException`

  