ListResources - Lake Formation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

ListResources

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

Request Syntax

POST /ListResources HTTP/1.1 Content-type: application/json { "FilterConditionList": [ { "ComparisonOperator": "string", "Field": "string", "StringValueList": [ "string" ] } ], "MaxResults": number, "NextToken": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

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

HTTP/1.1 200 Content-type: application/json { "NextToken": "string", "ResourceInfoList": [ { "ExpectedResourceOwnerAccount": "string", "HybridAccessEnabled": boolean, "LastModified": number, "ResourceArn": "string", "RoleArn": "string", "VerificationStatus": "string", "WithFederation": boolean, "WithPrivilegedAccess": 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.

Message

A message describing the problem.

HTTP Status Code: 500

InvalidInputException

The input provided was not valid.

Message

A message describing the problem.

HTTP Status Code: 400

OperationTimeoutException

The operation timed out.

Message

A message describing the problem.

HTTP Status Code: 400

See Also

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