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'
)
Parameters
  • RoleArn (string) --

    [REQUIRED]

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

  • ResourceArn (string) --

    [REQUIRED]

    The resource ARN.

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