pub struct StopTrainingEntityRecognizer { /* private fields */ }Expand description
Fluent builder constructing a request to StopTrainingEntityRecognizer.
Stops an entity recognizer training job while in progress.
If the training job state is TRAINING, the job is marked for termination and put into the STOP_REQUESTED state. If the training job completes before it can be stopped, it is put into the TRAINED; otherwise the training job is stopped and putted into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.
Implementations
sourceimpl StopTrainingEntityRecognizer
impl StopTrainingEntityRecognizer
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StopTrainingEntityRecognizer, AwsResponseRetryClassifier>, SdkError<StopTrainingEntityRecognizerError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StopTrainingEntityRecognizer, AwsResponseRetryClassifier>, SdkError<StopTrainingEntityRecognizerError>>
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<StopTrainingEntityRecognizerOutput, SdkError<StopTrainingEntityRecognizerError>>
pub async fn send(
self
) -> Result<StopTrainingEntityRecognizerOutput, SdkError<StopTrainingEntityRecognizerError>>
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 entity_recognizer_arn(self, input: impl Into<String>) -> Self
pub fn entity_recognizer_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
sourcepub fn set_entity_recognizer_arn(self, input: Option<String>) -> Self
pub fn set_entity_recognizer_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that identifies the entity recognizer currently being trained.
Trait Implementations
sourceimpl Clone for StopTrainingEntityRecognizer
impl Clone for StopTrainingEntityRecognizer
sourcefn clone(&self) -> StopTrainingEntityRecognizer
fn clone(&self) -> StopTrainingEntityRecognizer
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more