:doc:`ManagedintegrationsforIoTDeviceManagement <../../iot-managed-integrations>` / Client / list_ota_task_executions

************************
list_ota_task_executions
************************



.. py:method:: ManagedintegrationsforIoTDeviceManagement.Client.list_ota_task_executions(**kwargs)

  

  List all of the over-the-air (OTA) task executions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-managed-integrations-2025-03-03/ListOtaTaskExecutions>`_  


  **Request Syntax**
  ::

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

    The over-the-air (OTA) task id.

    

  
  :type NextToken: string
  :param NextToken: 

    A token that can be used to retrieve the next set of results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return at one time.

    

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

    
    ::

      {
          'ExecutionSummaries': [
              {
                  'TaskExecutionSummary': {
                      'ExecutionNumber': 123,
                      'LastUpdatedAt': datetime(2015, 1, 1),
                      'QueuedAt': datetime(2015, 1, 1),
                      'RetryAttempt': 123,
                      'StartedAt': datetime(2015, 1, 1),
                      'Status': 'QUEUED'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'REJECTED'|'REMOVED'|'CANCELED'
                  },
                  'ManagedThingId': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ExecutionSummaries** *(list) --* 

        A list of all of the over-the-air (OTA) task executions.

        
        

        - *(dict) --* 

          Structure representing one execution summary.

          
          

          - **TaskExecutionSummary** *(dict) --* 

            Structure representing one over-the-air (OTA) task execution summary

            
            

            - **ExecutionNumber** *(integer) --* 

              The execution number of the over-the-air (OTA) task execution summary.

              
            

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

              The timestamp value of when the over-the-air (OTA) task execution summary was last updated.

              
            

            - **QueuedAt** *(datetime) --* 

              The timestamp value of when the over-the-air (OTA) task execution summary is targeted to start.

              
            

            - **RetryAttempt** *(integer) --* 

              The number of retry attempts for starting the over-the-air (OTA) task execution summary after a failed attempt.

              
            

            - **StartedAt** *(datetime) --* 

              The timestamp value of when the over-the-air (OTA) task execution summary started.

              
            

            - **Status** *(string) --* 

              The status of the over-the-air (OTA) task execution summary.

              
        
          

          - **ManagedThingId** *(string) --* 

            The id of a managed thing.

            
      
    
      

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

        A token that can be used to retrieve the next set of results.

        
  
  **Exceptions**
  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException`

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

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException`

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

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

  