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
2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 | |