:doc:`OpenSearchService <../../opensearch>` / Client / get_default_application_setting

*******************************
get_default_application_setting
*******************************



.. py:method:: OpenSearchService.Client.get_default_application_setting()

  

  Gets the ARN of the current default application.

   

  If the default application isn't set, the operation returns a resource not found error.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDefaultApplicationSetting>`_  


  **Request Syntax**
  ::

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

    
    ::

      {
          'applicationArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **applicationArn** *(string) --* 

        The Amazon Resource Name (ARN) of the domain. See `Identifiers for IAM Entities <https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html>`__ in *Using Amazon Web Services Identity and Access Management* for more information.

        
  
  **Exceptions**
  
  *   :py:class:`OpenSearchService.Client.exceptions.ValidationException`

  
  *   :py:class:`OpenSearchService.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`OpenSearchService.Client.exceptions.InternalException`

  
  *   :py:class:`OpenSearchService.Client.exceptions.ResourceNotFoundException`

  