list_rls_policy_attachments
¶
list_rls_policy_attachments(
*,
config_overrides: Optional[LakeFormationClientConfig] = 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/lake_formation.py
3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 | |