LakeFormation / Client / update_resource

update_resource#

LakeFormation.Client.update_resource(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.update_resource(
    RoleArn='string',
    ResourceArn='string',
    WithFederation=True|False,
    HybridAccessEnabled=True|False
)
Parameters:
  • RoleArn (string) –

    [REQUIRED]

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

  • ResourceArn (string) –

    [REQUIRED]

    The resource ARN.

  • WithFederation (boolean) – Whether or not the resource is a federated resource.

  • HybridAccessEnabled (boolean) – 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.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • LakeFormation.Client.exceptions.InvalidInputException

  • LakeFormation.Client.exceptions.InternalServiceException

  • LakeFormation.Client.exceptions.OperationTimeoutException

  • LakeFormation.Client.exceptions.EntityNotFoundException