getSamplingOperationResult
abstract suspend fun getSamplingOperationResult(input: GetSamplingOperationResultRequest): GetSamplingOperationResultResponse
Retrieves the current status and result of a previously submitted sampling operation. Poll this operation until the status reaches a terminal state (Completed or Failed).
Samples
// Retrieves the status and generated sequences for a sampling operation submitted with
// ExecuteSamplingOperation.
val resp = sageMakerTrainingSessionRuntimeClient.getSamplingOperationResult {
trainingSessionName = "my-training-session"
operationId = "a1b2c3d4-5678-90ab-cdef-1234567890ab"
}Content copied to clipboard