LakeFormation / Client / get_data_lake_principal

get_data_lake_principal#

LakeFormation.Client.get_data_lake_principal()#

Returns the identity of the invoking principal.

See also: AWS API Documentation

Request Syntax

response = client.get_data_lake_principal()
Return type:

dict

Returns:

Response Syntax

{
    'Identity': 'string'
}

Response Structure

  • (dict) –

    • Identity (string) –

      A unique identifier of the invoking principal.

Exceptions

  • LakeFormation.Client.exceptions.InternalServiceException

  • LakeFormation.Client.exceptions.OperationTimeoutException

  • LakeFormation.Client.exceptions.AccessDeniedException