Skip to content

GetEffectivePermissionsForPath

Source: src/AWS/LakeFormation/GetEffectivePermissionsForPath.ts

Runtime binding for lakeformation:GetEffectivePermissionsForPath.

Returns the Lake Formation permissions in effect for the databases and tables stored under a registered S3 path — an authorization audit for a data location. Provide the implementation with Effect.provide(AWS.LakeFormation.GetEffectivePermissionsForPathHttp).

// init — account-level binding takes no resource
const getEffectivePermissions =
yield* AWS.LakeFormation.GetEffectivePermissionsForPath();
// runtime
const { Permissions } = yield* getEffectivePermissions({
ResourceArn: location.resourceArn,
});