:doc:`LakeFormation <../../lakeformation>` / Client / get_data_lake_principal

***********************
get_data_lake_principal
***********************



.. py:method:: LakeFormation.Client.get_data_lake_principal()

  

  Returns the identity of the invoking principal.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakePrincipal>`_  


  **Request Syntax**
  ::

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

    
    ::

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

    

    - *(dict) --* 
      

      - **Identity** *(string) --* 

        A unique identifier of the invoking principal.

        
  
  **Exceptions**
  
  *   :py:class:`LakeFormation.Client.exceptions.InternalServiceException`

  
  *   :py:class:`LakeFormation.Client.exceptions.OperationTimeoutException`

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

  