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
3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 | |