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
3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 | |