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.
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
public abstract StopTrainingEntityRecognizerResponse StopTrainingEntityRecognizer( StopTrainingEntityRecognizerRequest request )
Container for the necessary parameters to execute the StopTrainingEntityRecognizer service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5