Struct aws_sdk_glue::client::fluent_builders::CancelMLTaskRun
source ·
[−]pub struct CancelMLTaskRun<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CancelMLTaskRun
.
Cancels (stops) a task run. Machine learning task runs are asynchronous tasks that Glue runs on your behalf as part of various machine learning workflows. You can cancel a machine learning task run at any time by calling CancelMLTaskRun
with a task run's parent transform's TransformID
and the task run's TaskRunId
.
Implementations
impl<C, M, R> CancelMLTaskRun<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CancelMLTaskRun<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CancelMlTaskRunOutput, SdkError<CancelMLTaskRunError>> where
R::Policy: SmithyRetryPolicy<CancelMlTaskRunInputOperationOutputAlias, CancelMlTaskRunOutput, CancelMLTaskRunError, CancelMlTaskRunInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CancelMlTaskRunOutput, SdkError<CancelMLTaskRunError>> where
R::Policy: SmithyRetryPolicy<CancelMlTaskRunInputOperationOutputAlias, CancelMlTaskRunOutput, CancelMLTaskRunError, CancelMlTaskRunInputOperationRetryAlias>,
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.
A unique identifier for the task run.
A unique identifier for the task run.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CancelMLTaskRun<C, M, R>
impl<C, M, R> Send for CancelMLTaskRun<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CancelMLTaskRun<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CancelMLTaskRun<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CancelMLTaskRun<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