Struct aws_sdk_glue::client::fluent_builders::CancelMLTaskRun
source · pub struct CancelMLTaskRun { /* private fields */ }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§
source§impl CancelMLTaskRun
impl CancelMLTaskRun
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CancelMLTaskRun, AwsResponseRetryClassifier>, SdkError<CancelMLTaskRunError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CancelMLTaskRun, AwsResponseRetryClassifier>, SdkError<CancelMLTaskRunError>>
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<CancelMlTaskRunOutput, SdkError<CancelMLTaskRunError>>
pub async fn send(
self
) -> Result<CancelMlTaskRunOutput, SdkError<CancelMLTaskRunError>>
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 task_run_id(self, input: impl Into<String>) -> Self
pub fn task_run_id(self, input: impl Into<String>) -> Self
A unique identifier for the task run.
sourcepub fn set_task_run_id(self, input: Option<String>) -> Self
pub fn set_task_run_id(self, input: Option<String>) -> Self
A unique identifier for the task run.
Trait Implementations§
source§impl Clone for CancelMLTaskRun
impl Clone for CancelMLTaskRun
source§fn clone(&self) -> CancelMLTaskRun
fn clone(&self) -> CancelMLTaskRun
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more