Skip to main content
 print this page

Create a Lake Formation data filter on a dataset

POST 

/datasets/:id/data-permissions

Creates a Lake Formation data-cells filter and starts the async data-permission grant workflow (Step Functions). Caller (role_id) must be owner or editor of the dataset. Not supported for TBAC-enabled datasets. Name must not contain whitespace; Lake Formation filter name is derived as {Domain}{DatasetName}{Name} (truncated to 255). Not idempotent: recreating an existing filter name fails in Lake Formation (DS-1079).

Request

Responses

Data filter created in Lake Formation and metadata persisted; async tag grant/prepare workflow started. Message is "Data Permission create process started".

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers