DataPermissions¶
- pydantic model openapi_client.models.data_permissions.DataPermissions¶
Request body for creating a Lake Formation data filter (create_data_permissions_on_dataset). Also nested under list items as DataPermissions.
- Fields:
- field name: StrictStr [Required] (alias 'Name')¶
Short name for the data filter. Combined with domain and dataset name into the Lake Formation filter name. Must not contain whitespace (IPV-1007).
- Constraints:
strict = True
- field columns: DataPermissionsColumns [Required] (alias 'Columns')¶
- field rows: DataPermissionsRows [Required] (alias 'Rows')¶
- field authorized_tags: List[StrictStr] [Required] (alias 'AuthorizedTags')¶
Tag IDs (key#value) granted this data filter. Group tags must not already have owner/editor/read-only on the dataset; user# tags must not name a user with direct owner/editor/read-only (AUTH-1010).
- field encoding: Optional[StrictStr] = 'none' (alias 'Encoding')¶
Encoding of Rows.Expression; defaults to none when omitted
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- classmethod from_json(json_str)¶
Create an instance of DataPermissions from a JSON string
- Return type:
Optional[Self]
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True):
None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- Return type:
Dict[str,Any]
- classmethod from_dict(obj)¶
Create an instance of DataPermissions from a dict
- Return type:
Optional[Self]