Struct aws_sdk_glue::client::fluent_builders::StartExportLabelsTaskRun
source ·
[−]pub struct StartExportLabelsTaskRun<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
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
impl<C, M, R> StartExportLabelsTaskRun<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartExportLabelsTaskRun<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartExportLabelsTaskRunOutput, SdkError<StartExportLabelsTaskRunError>> where
R::Policy: SmithyRetryPolicy<StartExportLabelsTaskRunInputOperationOutputAlias, StartExportLabelsTaskRunOutput, StartExportLabelsTaskRunError, StartExportLabelsTaskRunInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartExportLabelsTaskRunOutput, SdkError<StartExportLabelsTaskRunError>> where
R::Policy: SmithyRetryPolicy<StartExportLabelsTaskRunInputOperationOutputAlias, StartExportLabelsTaskRunOutput, StartExportLabelsTaskRunError, StartExportLabelsTaskRunInputOperationRetryAlias>,
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.
The unique identifier of the machine learning transform.
The unique identifier of the machine learning transform.
The Amazon S3 path where you export the labels.
The Amazon S3 path where you export the labels.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StartExportLabelsTaskRun<C, M, R>
impl<C, M, R> Send for StartExportLabelsTaskRun<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartExportLabelsTaskRun<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartExportLabelsTaskRun<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StartExportLabelsTaskRun<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more