Skip to content

GetSamplingOperationResultOutput

Source code in docs_src/capo_sagemakertrainingsessionruntime/types/get_sampling_operation_result_output.py
class GetSamplingOperationResultOutput(TypedDict, closed=True):
    status: "capo_sagemakertrainingsessionruntime.types.request_status.RequestStatus"
    """<p>The current status of the sample operation. Possible values are <code>Pending</code>, <code>InProgress</code>, <code>Completed</code>, or <code>Failed</code>.</p>"""
    operation_result: NotRequired[
        "capo_sagemakertrainingsessionruntime.types.sample_operation_result.SampleOperationResult"
    ]
    """<p>The result payload of the sample operation. The service populates this field only when the status is <code>Completed</code>.</p>"""
    error_details: NotRequired["str"]
    """<p>A message describing why the sample operation failed. The service populates this field only when the status is <code>Failed</code>.</p>"""

error_details instance-attribute

error_details: NotRequired[str]

A message describing why the sample operation failed. The service populates this field only when the status is Failed.

operation_result instance-attribute

operation_result: NotRequired[SampleOperationResult]

The result payload of the sample operation. The service populates this field only when the status is Completed.

status instance-attribute

status: RequestStatus

The current status of the sample operation. Possible values are Pending, InProgress, Completed, or Failed.