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

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