get_effective_permissions_for_path
async
¶
get_effective_permissions_for_path(
resource_arn: ResourceArnString,
*,
config_overrides: Optional[AsyncLakeFormationClientConfig] = None,
catalog_id: Optional[CatalogIdString] = None,
next_token: Optional[Token] = None,
max_results: Optional[PageSize] = None,
) -> GetEffectivePermissionsForPathResponse
Returns the Lake Formation permissions for a specified table or database resource located at a path in Amazon S3. GetEffectivePermissionsForPath will not return databases and tables if the catalog is encrypted.
Parameters:
-
catalog_id(Optional[CatalogIdString], default:None) –The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
-
resource_arn(ResourceArnString) –The Amazon Resource Name (ARN) of the resource for which you want to get permissions.
-
next_token(Optional[Token], default:None) –A continuation token, if this is not the first call to retrieve this list.
-
max_results(Optional[PageSize], default:None) –The maximum number of results to return.
Raises:
-
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
2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 | |