LakeFormation / Client / update_rls_policy

update_rls_policy

LakeFormation.Client.update_rls_policy(**kwargs)

Updates the filter expression of an existing row-level security policy. The change applies to all attachments of the policy.

See also: AWS API Documentation

Request Syntax

response = client.update_rls_policy(
    Name='string',
    FilterExpression='string'
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name of the row-level security policy to update.

  • FilterExpression (string) – The new filter predicate, written in a SQL-like syntax, that replaces the policy’s current filter expression.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • LakeFormation.Client.exceptions.InvalidInputException

  • LakeFormation.Client.exceptions.ResourceNumberLimitExceededException

  • LakeFormation.Client.exceptions.InternalServiceException

  • LakeFormation.Client.exceptions.OperationTimeoutException

  • LakeFormation.Client.exceptions.EntityNotFoundException

  • LakeFormation.Client.exceptions.AccessDeniedException

  • LakeFormation.Client.exceptions.ConcurrentModificationException