:doc:`SSM <../../ssm>` / Paginator / DescribeMaintenanceWindowExecutions

***********************************
DescribeMaintenanceWindowExecutions
***********************************



.. py:class:: SSM.Paginator.DescribeMaintenanceWindowExecutions

  ::

    
    paginator = client.get_paginator('describe_maintenance_window_executions')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`SSM.Client.describe_maintenance_window_executions`.

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


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          WindowId='string',
          Filters=[
              {
                  'Key': 'string',
                  'Values': [
                      'string',
                  ]
              },
          ],
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :type WindowId: string
    :param WindowId: **[REQUIRED]** 

      The ID of the maintenance window whose executions should be retrieved.

      

    
    :type Filters: list
    :param Filters: 

      Each entry in the array is a structure containing:

       

      
      * Key. A string between 1 and 128 characters. Supported keys include ``ExecutedBefore`` and ``ExecutedAfter``.
       
      * Values. An array of strings, each between 1 and 256 characters. Supported values are date/time strings in a valid ISO 8601 date/time format, such as ``2024-11-04T05:00:00Z``.
      

      

    
      - *(dict) --* 

        Filter used in the request. Supported filter keys depend on the API operation that includes the filter. API operations that use ``MaintenanceWindowFilter>`` include the following:

         

        
        *  DescribeMaintenanceWindowExecutions
         
        *  DescribeMaintenanceWindowExecutionTaskInvocations
         
        *  DescribeMaintenanceWindowExecutionTasks
         
        *  DescribeMaintenanceWindows
         
        *  DescribeMaintenanceWindowTargets
         
        *  DescribeMaintenanceWindowTasks
        

        

      
        - **Key** *(string) --* 

          The name of the filter.

          

        
        - **Values** *(list) --* 

          The filter values.

          

        
          - *(string) --* 

          
      
      
  
    :type PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

        {
            'WindowExecutions': [
                {
                    'WindowId': 'string',
                    'WindowExecutionId': '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) --* 
        

        - **WindowExecutions** *(list) --* 

          Information about the maintenance window executions.

          
          

          - *(dict) --* 

            Describes the information about an execution of a maintenance window.

            
            

            - **WindowId** *(string) --* 

              The ID of the maintenance window.

              
            

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

              The ID of the maintenance window execution.

              
            

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

              The status of the execution.

              
            

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

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

              
            

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

              The time the execution started.

              
            

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

              The time the execution finished.

              
        
      
    