:doc:`ElasticBeanstalk <../../elasticbeanstalk>` / Client / describe_environment_managed_actions

************************************
describe_environment_managed_actions
************************************



.. py:method:: ElasticBeanstalk.Client.describe_environment_managed_actions(**kwargs)

  

  Lists an environment's upcoming and in-progress managed actions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActions>`_  


  **Request Syntax**
  ::

    response = client.describe_environment_managed_actions(
        EnvironmentName='string',
        EnvironmentId='string',
        Status='Scheduled'|'Pending'|'Running'|'Unknown'
    )
    
  :type EnvironmentName: string
  :param EnvironmentName: 

    The name of the target environment.

    

  
  :type EnvironmentId: string
  :param EnvironmentId: 

    The environment ID of the target environment.

    

  
  :type Status: string
  :param Status: 

    To show only actions with a particular status, specify a status.

    

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

    
    ::

      {
          'ManagedActions': [
              {
                  'ActionId': 'string',
                  'ActionDescription': 'string',
                  'ActionType': 'InstanceRefresh'|'PlatformUpdate'|'Unknown',
                  'Status': 'Scheduled'|'Pending'|'Running'|'Unknown',
                  'WindowStartTime': datetime(2015, 1, 1)
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The result message containing a list of managed actions.

      
      

      - **ManagedActions** *(list) --* 

        A list of upcoming and in-progress managed actions.

        
        

        - *(dict) --* 

          The record of an upcoming or in-progress managed action.

          
          

          - **ActionId** *(string) --* 

            A unique identifier for the managed action.

            
          

          - **ActionDescription** *(string) --* 

            A description of the managed action.

            
          

          - **ActionType** *(string) --* 

            The type of managed action.

            
          

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

            The status of the managed action. If the action is ``Scheduled``, you can apply it immediately with  ApplyEnvironmentManagedAction.

            
          

          - **WindowStartTime** *(datetime) --* 

            The start time of the maintenance window in which the managed action will execute.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`ElasticBeanstalk.Client.exceptions.ElasticBeanstalkServiceException`

  