describe_resource
(**kwargs)¶Retrieves the current data access role for the given resource registered in Lake Formation.
See also: AWS API Documentation
Request Syntax
response = client.describe_resource(
ResourceArn='string'
)
[REQUIRED]
The resource ARN.
{
'ResourceInfo': {
'ResourceArn': 'string',
'RoleArn': 'string',
'LastModified': datetime(2015, 1, 1)
}
}
Response Structure
A structure containing information about an Lake Formation resource.
The Amazon Resource Name (ARN) of the resource.
The IAM role that registered a resource.
The date and time the resource was last modified.
Exceptions
LakeFormation.Client.exceptions.InvalidInputException
LakeFormation.Client.exceptions.InternalServiceException
LakeFormation.Client.exceptions.OperationTimeoutException
LakeFormation.Client.exceptions.EntityNotFoundException