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.

The input properties for an inference job. The document reader config field applies only to non-text inputs for custom analysis.

Inheritance Hierarchy

System.Object
  Amazon.Comprehend.Model.InputDataConfig

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

Syntax

C#
public class InputDataConfig

The InputDataConfig type exposes the following members

Constructors

NameDescription
Public Method InputDataConfig()

Properties

NameTypeDescription
Public Property DocumentReaderConfig Amazon.Comprehend.Model.DocumentReaderConfig

Gets and sets the property DocumentReaderConfig.

Provides configuration parameters to override the default actions for extracting text from PDF documents and image files.

Public Property InputFormat Amazon.Comprehend.InputFormat

Gets and sets the property InputFormat.

Specifies how the text in an input file should be processed:

  • ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers.

  • ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.

Public Property S3Uri System.String

Gets and sets the property S3Uri.

The Amazon S3 URI for the input data. The URI must be in same Region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of data files.

For example, if you use the URI S3://bucketName/prefix, if the prefix is a single file, Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of them as input.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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