AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to StopTrainingEntityRecognizerAsync.

Namespace: Amazon.Comprehend
Assembly: AWSSDK.Comprehend.dll
Version: 3.x.y.z

Syntax

C#
public abstract StopTrainingEntityRecognizerResponse StopTrainingEntityRecognizer(
         StopTrainingEntityRecognizerRequest request
)

Parameters

request
Type: Amazon.Comprehend.Model.StopTrainingEntityRecognizerRequest

Container for the necessary parameters to execute the StopTrainingEntityRecognizer service method.

Return Value


The response from the StopTrainingEntityRecognizer service method, as returned by Comprehend.

Exceptions

ExceptionCondition
InternalServerException An internal server error occurred. Retry your request.
InvalidRequestException The request is invalid.
ResourceNotFoundException The specified resource ARN was not found. Check the ARN and try your request again.
TooManyRequestsException The number of requests exceeds the limit. Resubmit your request later.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also