:doc:`AutoScaling <../../autoscaling>` / Client / describe_lifecycle_hook_types

*****************************
describe_lifecycle_hook_types
*****************************



.. py:method:: AutoScaling.Client.describe_lifecycle_hook_types()

  

  Describes the available types of lifecycle hooks.

   

  The following hook types are supported:

   

  
  * ``autoscaling:EC2_INSTANCE_LAUNCHING``
   
  * ``autoscaling:EC2_INSTANCE_TERMINATING``
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypes>`_  


  **Request Syntax**

  ::

    response = client.describe_lifecycle_hook_types()
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'LifecycleHookTypes': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **LifecycleHookTypes** *(list) --* 

        The lifecycle hook types.

        
        

        - *(string) --* 
    
  
  **Exceptions**
  
  *   :py:class:`AutoScaling.Client.exceptions.ResourceContentionFault`

  

  **Examples**

  This example describes the available lifecycle hook types.
  ::

    response = client.describe_lifecycle_hook_types(
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'LifecycleHookTypes': [
            'autoscaling:EC2_INSTANCE_LAUNCHING',
            'autoscaling:EC2_INSTANCE_TERMINATING',
        ],
        'ResponseMetadata': {
            '...': '...',
        },
    }

  