JobExecutionLogsResponse

pydantic model openapi_client.models.job_execution_logs_response.JobExecutionLogsResponse

Success body for GET/POST /jobs/{id}/executions/{executionid}/logs. Fields present depend on logs or action.

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

Status text such as “Triggered log file creation” or “Presigned url returned”.

field presigned_url: Optional[StrictStr] = None (alias 'PresignedURL')

Presigned URL when GET logs=all packaging is ready.

field presignedurl: Optional[StrictStr] = None (alias 'Presignedurl')

Presigned URL returned by POST action=download-logs for glue.

field url: Optional[StrictStr] = None

Presigned URL for GET latest CloudWatch logs.

field log_preview: Optional[StrictStr] = None (alias 'logPreview')

Log text returned by GET latest or POST action=view-logs.

field log_truncated: Optional[StrictBool] = None (alias 'logTruncated')

true when the preview was truncated; false otherwise.

field next_token: Optional[StrictStr] = None (alias 'nextToken')

Pagination token for POST action=view-logs.

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

Return type:

Optional[Self]