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.
Starts an asynchronous document classification job using a custom classification model.
Use the DescribeDocumentClassificationJob operation to track the progress of
the job.
This is an asynchronous operation using the standard naming convention for .NET 4.7.2 or higher.
Namespace: Amazon.Comprehend
Assembly: AWSSDK.Comprehend.dll
Version: 3.x.y.z
public virtual Task<StartDocumentClassificationJobResponse> StartDocumentClassificationJobAsync( StartDocumentClassificationJobRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the StartDocumentClassificationJob service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
| Exception | Condition |
|---|---|
| InternalServerException | An internal server error occurred. Retry your request. |
| InvalidRequestException | The request is invalid. |
| KmsKeyValidationException | The KMS customer managed key (CMK) entered cannot be validated. Verify the key and re-enter it. |
| ResourceInUseException | The specified resource name is already in use. Use a different name and try your request again. |
| ResourceNotFoundException | The specified resource ARN was not found. Check the ARN and try your request again. |
| ResourceUnavailableException | The specified resource is not available. Check the resource and try your request again. |
| TooManyRequestsException | The number of requests exceeds the limit. Resubmit your request later. |
| TooManyTagsException | The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer