UpdateResource - Lake Formation


Updates the data access role used for vending access to the given (registered) resource in AWS Lake Formation.

Request Syntax

{ "HybridAccessEnabled": boolean, "ResourceArn": "string", "RoleArn": "string", "WithFederation": boolean }

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.


Specifies 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.

Type: Boolean

Required: No


The resource ARN.

Type: String

Required: Yes


The new role to use for the given resource registered in Lake Formation.

Type: String

Pattern: arn:aws:iam::[0-9]*:role/.*

Required: Yes


Whether or not the resource is a federated resource.

Type: Boolean

Required: No

Response Elements

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


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


A specified entity does not exist.

HTTP Status Code: 400


An internal service error occurred.

HTTP Status Code: 500


The input provided was not valid.

HTTP Status Code: 400


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: