:doc:`SSM <../../ssm>` / Client / get_maintenance_window_execution

********************************
get_maintenance_window_execution
********************************



.. py:method:: SSM.Client.get_maintenance_window_execution(**kwargs)

  

  Retrieves details about a specific a maintenance window execution.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecution>`_  


  **Request Syntax**
  ::

    response = client.get_maintenance_window_execution(
        WindowExecutionId='string'
    )
    
  :type WindowExecutionId: string
  :param WindowExecutionId: **[REQUIRED]** 

    The ID of the maintenance window execution that includes the task.

    

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

    
    ::

      {
          'WindowExecutionId': 'string',
          'TaskIds': [
              'string',
          ],
          'Status': 'PENDING'|'IN_PROGRESS'|'SUCCESS'|'FAILED'|'TIMED_OUT'|'CANCELLING'|'CANCELLED'|'SKIPPED_OVERLAPPING',
          'StatusDetails': 'string',
          'StartTime': datetime(2015, 1, 1),
          'EndTime': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **WindowExecutionId** *(string) --* 

        The ID of the maintenance window execution.

        
      

      - **TaskIds** *(list) --* 

        The ID of the task executions from the maintenance window execution.

        
        

        - *(string) --* 
    
      

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

        The status of the maintenance window execution.

        
      

      - **StatusDetails** *(string) --* 

        The details explaining the status. Not available for all status values.

        
      

      - **StartTime** *(datetime) --* 

        The time the maintenance window started running.

        
      

      - **EndTime** *(datetime) --* 

        The time the maintenance window finished running.

        
  
  **Exceptions**
  
  *   :py:class:`SSM.Client.exceptions.DoesNotExistException`

  
  *   :py:class:`SSM.Client.exceptions.InternalServerError`

  