GetDataLakePrincipal
Source:
src/AWS/LakeFormation/GetDataLakePrincipal.ts
Runtime binding for lakeformation:GetDataLakePrincipal.
Returns the identity of the calling principal as Lake Formation sees it —
useful for logging/auditing which data-lake principal a function acts as.
Provide the implementation with
Effect.provide(AWS.LakeFormation.GetDataLakePrincipalHttp).
Identifying the Caller
Section titled “Identifying the Caller”// init — account-level binding takes no resourceconst getDataLakePrincipal = yield* AWS.LakeFormation.GetDataLakePrincipal();
// runtimeconst { Identity } = yield* getDataLakePrincipal();