LakeFormation / Client / describe_resource
describe_resource#
- LakeFormation.Client.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' )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The resource ARN.
- Return type:
dict
- Returns:
Response Syntax
{ 'ResourceInfo': { 'ResourceArn': 'string', 'RoleArn': 'string', 'LastModified': datetime(2015, 1, 1), 'WithFederation': True|False, 'HybridAccessEnabled': True|False } }
Response Structure
(dict) –
ResourceInfo (dict) –
A structure containing information about an Lake Formation resource.
ResourceArn (string) –
The Amazon Resource Name (ARN) of the resource.
RoleArn (string) –
The IAM role that registered a resource.
LastModified (datetime) –
The date and time the resource was last modified.
WithFederation (boolean) –
Whether or not the resource is a federated resource.
HybridAccessEnabled (boolean) –
Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.
Exceptions