:doc:`ApplicationCostProfiler <../../applicationcostprofiler>` / Client / get_report_definition

*********************
get_report_definition
*********************



.. py:method:: ApplicationCostProfiler.Client.get_report_definition(**kwargs)

  

  Retrieves the definition of a report already configured in AWS Application Cost Profiler.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/GetReportDefinition>`_  


  **Request Syntax**
  ::

    response = client.get_report_definition(
        reportId='string'
    )
    
  :type reportId: string
  :param reportId: **[REQUIRED]** 

    ID of the report to retrieve.

    

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

    
    ::

      {
          'reportId': 'string',
          'reportDescription': 'string',
          'reportFrequency': 'MONTHLY'|'DAILY'|'ALL',
          'format': 'CSV'|'PARQUET',
          'destinationS3Location': {
              'bucket': 'string',
              'prefix': 'string'
          },
          'createdAt': datetime(2015, 1, 1),
          'lastUpdated': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **reportId** *(string) --* 

        ID of the report retrieved.

        
      

      - **reportDescription** *(string) --* 

        Description of the report.

        
      

      - **reportFrequency** *(string) --* 

        Cadence used to generate the report.

        
      

      - **format** *(string) --* 

        Format of the generated report.

        
      

      - **destinationS3Location** *(dict) --* 

        Amazon Simple Storage Service (Amazon S3) location where the report is uploaded.

        
        

        - **bucket** *(string) --* 

          Name of the S3 bucket.

          
        

        - **prefix** *(string) --* 

          Prefix for the location to write to.

          
    
      

      - **createdAt** *(datetime) --* 

        Timestamp (milliseconds) when this report definition was created.

        
      

      - **lastUpdated** *(datetime) --* 

        Timestamp (milliseconds) when this report definition was last updated.

        
  
  **Exceptions**
  
  *   :py:class:`ApplicationCostProfiler.Client.exceptions.InternalServerException`

  
  *   :py:class:`ApplicationCostProfiler.Client.exceptions.ThrottlingException`

  
  *   :py:class:`ApplicationCostProfiler.Client.exceptions.ValidationException`

  
  *   :py:class:`ApplicationCostProfiler.Client.exceptions.AccessDeniedException`

  