RunsResponseJobrunsInner

pydantic model openapi_client.models.runs_response_jobruns_inner.RunsResponseJobrunsInner

RunsResponseJobrunsInner

Fields:
field metrics: Optional[RunsResponseJobrunsInnerMetrics] = None (alias 'Metrics')
field execution_scope: Optional[StrictStr] = None (alias 'ExecutionScope')

KnowledgeBase for a full sync; Datasource when a specific unstructured source was synced.

field execution_arn: Optional[StrictStr] = None (alias 'ExecutionArn')

Step Functions execution ARN for the sync job.

field message: Optional[StrictStr] = None (alias 'Message')

Status message (for example Syncing in progress, completed, or failure reason).

field source_name: Optional[StrictStr] = None (alias 'SourceName')

Datasource name for Datasource-scoped runs; knowledge base name for KnowledgeBase-scoped runs.

field end_time: Optional[StrictStr] = None (alias 'EndTime')

End time of the run, or N/A while still running.

field status: Optional[StrictStr] = None (alias 'Status')

Job run status. RUNNING is set to FAILED if Step Functions reports FAILED, TIMED_OUT, or ABORTED.

field synced_by: Optional[StrictStr] = None (alias 'SyncedBy')

User who started the sync.

field start_time: Optional[StrictStr] = None (alias 'StartTime')

Start time of the run.

field sync_warnings: Optional[StrictStr] = None (alias 'SyncWarnings')

Concatenated unstructured sync warnings when present (truncated to 5000 characters).

field execution_warnings: Optional[List[StrictStr]] = None (alias 'ExecutionWarnings')

Unstructured sync warning strings when present (empty list if none).

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 RunsResponseJobrunsInner 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 RunsResponseJobrunsInner from a dict

Return type:

Optional[Self]