:doc:`BillingandCostManagementDataExports <../../bcm-data-exports>` / Client / list_executions

***************
list_executions
***************



.. py:method:: BillingandCostManagementDataExports.Client.list_executions(**kwargs)

  

  Lists the historical executions for the export.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bcm-data-exports-2023-11-26/ListExecutions>`_  


  **Request Syntax**
  ::

    response = client.list_executions(
        ExportArn='string',
        MaxResults=123,
        NextToken='string'
    )
    
  :type ExportArn: string
  :param ExportArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) for this export.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of objects that are returned for the request.

    

  
  :type NextToken: string
  :param NextToken: 

    The token to retrieve the next set of results.

    

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

    
    ::

      {
          'Executions': [
              {
                  'ExecutionId': 'string',
                  'ExecutionStatus': {
                      'CompletedAt': datetime(2015, 1, 1),
                      'CreatedAt': datetime(2015, 1, 1),
                      'LastUpdatedAt': datetime(2015, 1, 1),
                      'StatusCode': 'INITIATION_IN_PROCESS'|'QUERY_QUEUED'|'QUERY_IN_PROCESS'|'QUERY_FAILURE'|'DELIVERY_IN_PROCESS'|'DELIVERY_SUCCESS'|'DELIVERY_FAILURE',
                      'StatusReason': 'INSUFFICIENT_PERMISSION'|'BILL_OWNER_CHANGED'|'INTERNAL_FAILURE'
                  }
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Executions** *(list) --* 

        The list of executions.

        
        

        - *(dict) --* 

          The reference for the data export update.

          
          

          - **ExecutionId** *(string) --* 

            The ID for this specific execution.

            
          

          - **ExecutionStatus** *(dict) --* 

            The status of this specific execution.

            
            

            - **CompletedAt** *(datetime) --* 

              The time when the execution was completed.

              
            

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

              The time when the execution was created.

              
            

            - **LastUpdatedAt** *(datetime) --* 

              The time when the execution was last updated.

              
            

            - **StatusCode** *(string) --* 

              The code for the status of the execution.

              
            

            - **StatusReason** *(string) --* 

              The reason for the failed status.

              
        
      
    
      

      - **NextToken** *(string) --* 

        The token to retrieve the next set of results.

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

  
  *   :py:class:`BillingandCostManagementDataExports.Client.exceptions.ResourceNotFoundException`

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

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

  