LakeFormation / Client / list_resources
list_resources#
- LakeFormation.Client.list_resources(**kwargs)#
- Lists the resources registered to be managed by the Data Catalog. - See also: AWS API Documentation - Request Syntax- response = client.list_resources( FilterConditionList=[ { 'Field': 'RESOURCE_ARN'|'ROLE_ARN'|'LAST_MODIFIED', 'ComparisonOperator': 'EQ'|'NE'|'LE'|'LT'|'GE'|'GT'|'CONTAINS'|'NOT_CONTAINS'|'BEGINS_WITH'|'IN'|'BETWEEN', 'StringValueList': [ 'string', ] }, ], MaxResults=123, NextToken='string' ) - Parameters:
- FilterConditionList (list) – - Any applicable row-level and/or column-level filtering conditions for the resources. - (dict) – - This structure describes the filtering of columns in a table based on a filter condition. - Field (string) – - The field to filter in the filter condition. 
- ComparisonOperator (string) – - The comparison operator used in the filter condition. 
- StringValueList (list) – - A string with values used in evaluating the filter condition. - (string) – 
 
 
 
- MaxResults (integer) – The maximum number of resource results. 
- NextToken (string) – A continuation token, if this is not the first call to retrieve these resources. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'ResourceInfoList': [ { 'ResourceArn': 'string', 'RoleArn': 'string', 'LastModified': datetime(2015, 1, 1), 'WithFederation': True|False }, ], 'NextToken': 'string' } - Response Structure- (dict) – - ResourceInfoList (list) – - A summary of the data lake resources. - (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. 
 
 
- NextToken (string) – - A continuation token, if this is not the first call to retrieve these resources. 
 
 
 - Exceptions- LakeFormation.Client.exceptions.InvalidInputException
- LakeFormation.Client.exceptions.InternalServiceException
- LakeFormation.Client.exceptions.OperationTimeoutException