FileServerUserConfigResponseModel¶
- pydantic model openapi_client.models.file_server_user_config_response_model.FileServerUserConfigResponseModel¶
FileServerUserConfigResponseModel
- Fields:
- field role: StrictStr [Required] (alias 'Role')¶
IAM role arn:{partition}:iam::{account}:role/{project}-custom-{datasource_id}-Role.
- Constraints:
strict = True
- field home_directory_details: StrictStr [Required] (alias 'HomeDirectoryDetails')¶
JSON string of LOGICAL mappings. Each Entry is /{Domain}-{DatasetName}; Target is /{lz or dlz bucket}/{Domain}/{DatasetName} (DLZ when SkipLZProcess is true). Empty list JSON when the user has no editor/owner datasets on this datasource.
- Constraints:
strict = True
- field home_directory_type: StrictStr [Required] (alias 'HomeDirectoryType')¶
Always LOGICAL.
- Constraints:
strict = True
- field public_keys: Optional[List[StrictStr]] = None (alias 'PublicKeys')¶
SSH public keys from SSM …/datasources/{datasource_id}/{username}. Empty when a Password header was sent.
- 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 FileServerUserConfigResponseModel 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 FileServerUserConfigResponseModel from a dict
- Return type:
Optional[Self]