:doc:`ResourceGroups <../../resource-groups>` / Client / get_account_settings

********************
get_account_settings
********************



.. py:method:: ResourceGroups.Client.get_account_settings()

  

  Retrieves the current status of optional features in Resource Groups.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetAccountSettings>`_  


  **Request Syntax**

  ::

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

    
    ::

      {
          'AccountSettings': {
              'GroupLifecycleEventsDesiredStatus': 'ACTIVE'|'INACTIVE',
              'GroupLifecycleEventsStatus': 'ACTIVE'|'INACTIVE'|'IN_PROGRESS'|'ERROR',
              'GroupLifecycleEventsStatusMessage': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AccountSettings** *(dict) --* 

        The current settings for the optional features in Resource Groups.

        
        

        - **GroupLifecycleEventsDesiredStatus** *(string) --* 

          The desired target status of the group lifecycle events feature. If

          
        

        - **GroupLifecycleEventsStatus** *(string) --* 

          The current status of the group lifecycle events feature.

          
        

        - **GroupLifecycleEventsStatusMessage** *(string) --* 

          The text of any error message occurs during an attempt to turn group lifecycle events on or off.

          
    
  
  **Exceptions**
  
  *   :py:class:`ResourceGroups.Client.exceptions.BadRequestException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.ForbiddenException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.MethodNotAllowedException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`ResourceGroups.Client.exceptions.InternalServerErrorException`

  