DownloadDatasourceDataflowLogsResponse

pydantic model openapi_client.models.download_datasource_dataflow_logs_response.DownloadDatasourceDataflowLogsResponse

POST /datasources/{datasource_id}/dataflows/{id}/logs response. Keys vary by servicename and action.

Fields:
field url: Optional[StrictStr] = None

Presigned S3 URL for Streams or ArcGIS sync download.

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

Presigned S3 URL for JDBC download-logs when ready.

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

Presigned S3 URL for async download-logs when ready.

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

Status message for generate-logs or when download is not ready.

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

Log text preview for JDBC view-logs and Streams/ArcGIS sync download.

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

Whether logPreview was truncated.

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

JDBC view-logs pagination token. Pass as body nextToken for the next page. Last page when absent.

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

Return type:

Optional[Self]