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

***********************
list_report_definitions
***********************



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

  

  Retrieves a list of all reports and their configurations for your AWS account.

   

  The maximum number of reports is one.

  

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


  **Request Syntax**
  ::

    response = client.list_report_definitions(
        nextToken='string',
        maxResults=123
    )
    
  :type nextToken: string
  :param nextToken: 

    The token value from a previous call to access the next page of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **reportDefinitions** *(list) --* 

        The retrieved reports.

        
        

        - *(dict) --* 

          The configuration of a report in AWS Application Cost Profiler.

          
          

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

            The ID of the report.

            
          

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

            Description of the report

            
          

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

            The cadence at which the report is generated.

            
          

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

            The format used for the generated reports.

            
          

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

            The location in Amazon Simple Storage Service (Amazon S3) the reports should be saved to.

            
            

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

            
          

          - **lastUpdatedAt** *(datetime) --* 

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

            
      
    
      

      - **nextToken** *(string) --* 

        The value of the next token, if it exists. Null if there are no more results.

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

  