QueryWorkbookExecutionConfiguration¶
- pydantic model openapi_client.models.query_workbook_execution_configuration.QueryWorkbookExecutionConfiguration¶
Query execution configuration for the workbook. Every member is individually optional, but the backend rejects any property not listed here with IPV-1004. Mutual exclusion, not expressible in the schema: when QueryTargetLocation is “redshift”, neither WorkGroup nor AssumeRole may be supplied. Sending either alongside it is rejected with IPV-1004, since both are Athena-only concepts.
- field work_group: Optional[StrictStr] = None (alias 'WorkGroup')¶
Athena workgroup used for query execution. Cannot be combined with QueryTargetLocation “redshift”.
- field query_target_location: Optional[StrictStr] = None (alias 'QueryTargetLocation')¶
Target engine for query execution.
- field assume_role: Optional[StrictStr] = None (alias 'AssumeRole')¶
Whether queries should run under the caller’s assumed role. Cannot be combined with QueryTargetLocation “redshift”.
- 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 QueryWorkbookExecutionConfiguration 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 QueryWorkbookExecutionConfiguration from a dict
- Return type:
Optional[Self]