Skip to main content

ITextractCreateAdapterRequest

Interface in AWS.Textract

Interface for CreateAdapter requests.

Ancestors

Properties

AdapterName

property AdapterName: string

Specify a name to be assigned to the adapter being created.

AutoUpdate

property AutoUpdate: string

Specify whether or not the adapter should be automatically updated.

Valid values: DISABLED | ENABLED.

ClientRequestToken

property ClientRequestToken: string

Specify an idempotent token that you use to identify the request.

If you use the same token with multiple requests, the same session is returned. This token is employed to avoid unintentional creation of the same session multiple times.

Description

property Description: string

Specify a description to assign to the adapter being created.

FeatureTypes

property FeatureTypes: TList<string>

Specify the type of features that the adapter is being trained on.

NOTE: Currently, the only supported feature type is QUERIES. Valid values: TABLES | FORMS | QUERIES | SIGNATURES | LAYOUT.

Tags

property Tags: TDictionary<string, string>

Specify Tags to be added to the adapter.

Methods

AddFeatureType

function AddFeatureType(const AFeatureType: string): NativeInt;

Add a feature type to FeatureTypes.

Parameters

NameDescription
AFeatureTypeSpecify a feature type that the adapter is being trained on. Valid values:||||.

Returns

Returns the index of the feature type added to FeatureTypes.

AddTag

procedure AddTag(const AKey, AValue: string);

Add a key/value pair to Tags.

Parameters

NameDescription
AKeySpecify the key of the tag to add.
AValueSpecify the value of the tag to add.