ListResources - Lake Formation

ListResources

Lists the resources registered to be managed by the Data Catalog.

Request Syntax

{ "FilterConditionList": [ { "ComparisonOperator": "string", "Field": "string", "StringValueList": [ "string" ] } ], "MaxResults": number, "NextToken": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

FilterConditionList

Any applicable row-level and/or column-level filtering conditions for the resources.

Type: Array of FilterCondition objects

Array Members: Minimum number of 1 item. Maximum number of 20 items.

Required: No

MaxResults

The maximum number of resource results.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 1000.

Required: No

NextToken

A continuation token, if this is not the first call to retrieve these resources.

Type: String

Required: No

Response Syntax

{ "NextToken": "string", "ResourceInfoList": [ { "HybridAccessEnabled": boolean, "LastModified": number, "ResourceArn": "string", "RoleArn": "string", "WithFederation": boolean } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

NextToken

A continuation token, if this is not the first call to retrieve these resources.

Type: String

ResourceInfoList

A summary of the data lake resources.

Type: Array of ResourceInfo objects

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServiceException

An internal service error occurred.

HTTP Status Code: 500

InvalidInputException

The input provided was not valid.

HTTP Status Code: 400

OperationTimeoutException

The operation timed out.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: