list_rls_policy_attachments
async
¶
list_rls_policy_attachments(
*,
config_overrides: Optional[AsyncLakeFormationClientConfig] = None,
resource: Optional[Resource] = None,
principal: Optional[DataLakePrincipal] = None,
policy_name: Optional[NameString] = None,
max_results: Optional[PageSize] = None,
next_token: Optional[Token] = None,
) -> ListRLSPolicyAttachmentsResponse
Lists the row-level security policy attachments in the Data Catalog. You can filter the results by resource, principal, or policy name.
Parameters:
-
resource(Optional[Resource], default:None) –If specified, returns only the attachments for the given resource.
-
principal(Optional[DataLakePrincipal], default:None) –If specified, returns only the attachments for the given principal.
-
policy_name(Optional[NameString], default:None) –If specified, returns only the attachments for the row-level security policy with this name.
-
max_results(Optional[PageSize], default:None) –The maximum number of attachments to return in a single response.
-
next_token(Optional[Token], default:None) –A continuation token, if this is a continuation call.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
EntityNotFoundException–A specified entity does not exist.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
OperationTimeoutException–The operation timed out.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lakeformation/_services/async_lake_formation.py
3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 | |