pub struct CancelMLTaskRunFluentBuilder { /* 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 CancelMLTaskRunFluentBuilder
impl CancelMLTaskRunFluentBuilder
sourcepub fn as_input(&self) -> &CancelMlTaskRunInputBuilder
pub fn as_input(&self) -> &CancelMlTaskRunInputBuilder
Access the CancelMLTaskRun as a reference.
sourcepub async fn send(
self,
) -> Result<CancelMlTaskRunOutput, SdkError<CancelMLTaskRunError, HttpResponse>>
pub async fn send( self, ) -> Result<CancelMlTaskRunOutput, SdkError<CancelMLTaskRunError, HttpResponse>>
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 customize(
self,
) -> CustomizableOperation<CancelMlTaskRunOutput, CancelMLTaskRunError, Self>
pub fn customize( self, ) -> CustomizableOperation<CancelMlTaskRunOutput, CancelMLTaskRunError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_transform_id(&self) -> &Option<String>
pub fn get_transform_id(&self) -> &Option<String>
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.
sourcepub fn get_task_run_id(&self) -> &Option<String>
pub fn get_task_run_id(&self) -> &Option<String>
A unique identifier for the task run.
Trait Implementations§
source§impl Clone for CancelMLTaskRunFluentBuilder
impl Clone for CancelMLTaskRunFluentBuilder
source§fn clone(&self) -> CancelMLTaskRunFluentBuilder
fn clone(&self) -> CancelMLTaskRunFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CancelMLTaskRunFluentBuilder
impl !RefUnwindSafe for CancelMLTaskRunFluentBuilder
impl Send for CancelMLTaskRunFluentBuilder
impl Sync for CancelMLTaskRunFluentBuilder
impl Unpin for CancelMLTaskRunFluentBuilder
impl !UnwindSafe for CancelMLTaskRunFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more