pub struct StartExportLabelsTaskRun { /* private fields */ }Expand description
Fluent builder constructing a request to StartExportLabelsTaskRun.
Begins an asynchronous task to export all labeled data for a particular transform. This task is the only label-related API call that is not part of the typical active learning workflow. You typically use StartExportLabelsTaskRun when you want to work with all of your existing labels at the same time, such as when you want to remove or change labels that were previously submitted as truth. This API operation accepts the TransformId whose labels you want to export and an Amazon Simple Storage Service (Amazon S3) path to export the labels to. The operation returns a TaskRunId. You can check on the status of your task run by calling the GetMLTaskRun API.
Implementations
sourceimpl StartExportLabelsTaskRun
impl StartExportLabelsTaskRun
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartExportLabelsTaskRun, AwsResponseRetryClassifier>, SdkError<StartExportLabelsTaskRunError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartExportLabelsTaskRun, AwsResponseRetryClassifier>, SdkError<StartExportLabelsTaskRunError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<StartExportLabelsTaskRunOutput, SdkError<StartExportLabelsTaskRunError>>
pub async fn send(
self
) -> Result<StartExportLabelsTaskRunOutput, SdkError<StartExportLabelsTaskRunError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn transform_id(self, input: impl Into<String>) -> Self
pub fn transform_id(self, input: impl Into<String>) -> Self
The unique identifier of the machine learning transform.
sourcepub fn set_transform_id(self, input: Option<String>) -> Self
pub fn set_transform_id(self, input: Option<String>) -> Self
The unique identifier of the machine learning transform.
sourcepub fn output_s3_path(self, input: impl Into<String>) -> Self
pub fn output_s3_path(self, input: impl Into<String>) -> Self
The Amazon S3 path where you export the labels.
sourcepub fn set_output_s3_path(self, input: Option<String>) -> Self
pub fn set_output_s3_path(self, input: Option<String>) -> Self
The Amazon S3 path where you export the labels.
Trait Implementations
sourceimpl Clone for StartExportLabelsTaskRun
impl Clone for StartExportLabelsTaskRun
sourcefn clone(&self) -> StartExportLabelsTaskRun
fn clone(&self) -> StartExportLabelsTaskRun
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more