comprehend

package
v6.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocumentClassifier

type DocumentClassifier struct {
	pulumi.CustomResourceState

	// ARN of the Document Classifier version.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ARN for an IAM Role which allows Comprehend to read the training and testing data.
	DataAccessRoleArn pulumi.StringOutput `pulumi:"dataAccessRoleArn"`
	// Configuration for the training and testing data.
	// See the `inputDataConfig` Configuration Block section below.
	InputDataConfig DocumentClassifierInputDataConfigOutput `pulumi:"inputDataConfig"`
	// Two-letter language code for the language.
	// One of `en`, `es`, `fr`, `it`, `de`, or `pt`.
	LanguageCode pulumi.StringOutput `pulumi:"languageCode"`
	// The document classification mode.
	// One of `MULTI_CLASS` or `MULTI_LABEL`.
	// `MULTI_CLASS` is also known as "Single Label" in the AWS Console.
	Mode pulumi.StringPtrOutput `pulumi:"mode"`
	// KMS Key used to encrypt trained Document Classifiers.
	// Can be a KMS Key ID or a KMS Key ARN.
	ModelKmsKeyId pulumi.StringPtrOutput `pulumi:"modelKmsKeyId"`
	// Name for the Document Classifier.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	//
	// The following arguments are optional:
	Name pulumi.StringOutput `pulumi:"name"`
	// Configuration for the output results of training.
	// See the `outputDataConfig` Configuration Block section below.
	OutputDataConfig DocumentClassifierOutputDataConfigOutput `pulumi:"outputDataConfig"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Name for the version of the Document Classifier.
	// Each version must have a unique name within the Document Classifier.
	// If omitted, the provider will assign a random, unique version name.
	// If explicitly set to `""`, no version name will be set.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionNamePrefix`.
	VersionName pulumi.StringOutput `pulumi:"versionName"`
	// Creates a unique version name beginning with the specified prefix.
	// Has a maximum length of 37 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionName`.
	VersionNamePrefix pulumi.StringOutput `pulumi:"versionNamePrefix"`
	// KMS Key used to encrypt storage volumes during job processing.
	// Can be a KMS Key ID or a KMS Key ARN.
	VolumeKmsKeyId pulumi.StringPtrOutput `pulumi:"volumeKmsKeyId"`
	// Configuration parameters for VPC to contain Document Classifier resources.
	// See the `vpcConfig` Configuration Block section below.
	VpcConfig DocumentClassifierVpcConfigPtrOutput `pulumi:"vpcConfig"`
}

Resource for managing an AWS Comprehend Document Classifier.

## Example Usage ### Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/comprehend"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		documents, err := s3.NewBucketObjectv2(ctx, "documents", nil)
		if err != nil {
			return err
		}
		_, err = comprehend.NewDocumentClassifier(ctx, "example", &comprehend.DocumentClassifierArgs{
			Name:              pulumi.String("example"),
			DataAccessRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
			LanguageCode:      pulumi.String("en"),
			InputDataConfig: &comprehend.DocumentClassifierInputDataConfigArgs{
				S3Uri: documents.ID().ApplyT(func(id string) (string, error) {
					return fmt.Sprintf("s3://%v/%v", test.Bucket, id), nil
				}).(pulumi.StringOutput),
			},
		})
		if err != nil {
			return err
		}
		_, err = s3.NewBucketObjectv2(ctx, "entities", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Comprehend Document Classifier using the ARN. For example:

```sh

$ pulumi import aws:comprehend/documentClassifier:DocumentClassifier example arn:aws:comprehend:us-west-2:123456789012:document_classifier/example

```

func GetDocumentClassifier

func GetDocumentClassifier(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DocumentClassifierState, opts ...pulumi.ResourceOption) (*DocumentClassifier, error)

GetDocumentClassifier gets an existing DocumentClassifier resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDocumentClassifier

func NewDocumentClassifier(ctx *pulumi.Context,
	name string, args *DocumentClassifierArgs, opts ...pulumi.ResourceOption) (*DocumentClassifier, error)

NewDocumentClassifier registers a new resource with the given unique name, arguments, and options.

func (*DocumentClassifier) ElementType

func (*DocumentClassifier) ElementType() reflect.Type

func (*DocumentClassifier) ToDocumentClassifierOutput

func (i *DocumentClassifier) ToDocumentClassifierOutput() DocumentClassifierOutput

func (*DocumentClassifier) ToDocumentClassifierOutputWithContext

func (i *DocumentClassifier) ToDocumentClassifierOutputWithContext(ctx context.Context) DocumentClassifierOutput

type DocumentClassifierArgs

type DocumentClassifierArgs struct {
	// The ARN for an IAM Role which allows Comprehend to read the training and testing data.
	DataAccessRoleArn pulumi.StringInput
	// Configuration for the training and testing data.
	// See the `inputDataConfig` Configuration Block section below.
	InputDataConfig DocumentClassifierInputDataConfigInput
	// Two-letter language code for the language.
	// One of `en`, `es`, `fr`, `it`, `de`, or `pt`.
	LanguageCode pulumi.StringInput
	// The document classification mode.
	// One of `MULTI_CLASS` or `MULTI_LABEL`.
	// `MULTI_CLASS` is also known as "Single Label" in the AWS Console.
	Mode pulumi.StringPtrInput
	// KMS Key used to encrypt trained Document Classifiers.
	// Can be a KMS Key ID or a KMS Key ARN.
	ModelKmsKeyId pulumi.StringPtrInput
	// Name for the Document Classifier.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Configuration for the output results of training.
	// See the `outputDataConfig` Configuration Block section below.
	OutputDataConfig DocumentClassifierOutputDataConfigPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Name for the version of the Document Classifier.
	// Each version must have a unique name within the Document Classifier.
	// If omitted, the provider will assign a random, unique version name.
	// If explicitly set to `""`, no version name will be set.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionNamePrefix`.
	VersionName pulumi.StringPtrInput
	// Creates a unique version name beginning with the specified prefix.
	// Has a maximum length of 37 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionName`.
	VersionNamePrefix pulumi.StringPtrInput
	// KMS Key used to encrypt storage volumes during job processing.
	// Can be a KMS Key ID or a KMS Key ARN.
	VolumeKmsKeyId pulumi.StringPtrInput
	// Configuration parameters for VPC to contain Document Classifier resources.
	// See the `vpcConfig` Configuration Block section below.
	VpcConfig DocumentClassifierVpcConfigPtrInput
}

The set of arguments for constructing a DocumentClassifier resource.

func (DocumentClassifierArgs) ElementType

func (DocumentClassifierArgs) ElementType() reflect.Type

type DocumentClassifierArray

type DocumentClassifierArray []DocumentClassifierInput

func (DocumentClassifierArray) ElementType

func (DocumentClassifierArray) ElementType() reflect.Type

func (DocumentClassifierArray) ToDocumentClassifierArrayOutput

func (i DocumentClassifierArray) ToDocumentClassifierArrayOutput() DocumentClassifierArrayOutput

func (DocumentClassifierArray) ToDocumentClassifierArrayOutputWithContext

func (i DocumentClassifierArray) ToDocumentClassifierArrayOutputWithContext(ctx context.Context) DocumentClassifierArrayOutput

type DocumentClassifierArrayInput

type DocumentClassifierArrayInput interface {
	pulumi.Input

	ToDocumentClassifierArrayOutput() DocumentClassifierArrayOutput
	ToDocumentClassifierArrayOutputWithContext(context.Context) DocumentClassifierArrayOutput
}

DocumentClassifierArrayInput is an input type that accepts DocumentClassifierArray and DocumentClassifierArrayOutput values. You can construct a concrete instance of `DocumentClassifierArrayInput` via:

DocumentClassifierArray{ DocumentClassifierArgs{...} }

type DocumentClassifierArrayOutput

type DocumentClassifierArrayOutput struct{ *pulumi.OutputState }

func (DocumentClassifierArrayOutput) ElementType

func (DocumentClassifierArrayOutput) Index

func (DocumentClassifierArrayOutput) ToDocumentClassifierArrayOutput

func (o DocumentClassifierArrayOutput) ToDocumentClassifierArrayOutput() DocumentClassifierArrayOutput

func (DocumentClassifierArrayOutput) ToDocumentClassifierArrayOutputWithContext

func (o DocumentClassifierArrayOutput) ToDocumentClassifierArrayOutputWithContext(ctx context.Context) DocumentClassifierArrayOutput

type DocumentClassifierInput

type DocumentClassifierInput interface {
	pulumi.Input

	ToDocumentClassifierOutput() DocumentClassifierOutput
	ToDocumentClassifierOutputWithContext(ctx context.Context) DocumentClassifierOutput
}

type DocumentClassifierInputDataConfig

type DocumentClassifierInputDataConfig struct {
	// List of training datasets produced by Amazon SageMaker Ground Truth.
	// Used if `dataFormat` is `AUGMENTED_MANIFEST`.
	// See the `augmentedManifests` Configuration Block section below.
	AugmentedManifests []DocumentClassifierInputDataConfigAugmentedManifest `pulumi:"augmentedManifests"`
	// The format for the training data.
	// One of `COMPREHEND_CSV` or `AUGMENTED_MANIFEST`.
	DataFormat *string `pulumi:"dataFormat"`
	// Delimiter between labels when training a multi-label classifier.
	// Valid values are `|`, `~`, `!`, `@`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`.
	// Default is `|`.
	LabelDelimiter *string `pulumi:"labelDelimiter"`
	// Location of training documents.
	// Used if `dataFormat` is `COMPREHEND_CSV`.
	S3Uri     *string `pulumi:"s3Uri"`
	TestS3Uri *string `pulumi:"testS3Uri"`
}

type DocumentClassifierInputDataConfigArgs

type DocumentClassifierInputDataConfigArgs struct {
	// List of training datasets produced by Amazon SageMaker Ground Truth.
	// Used if `dataFormat` is `AUGMENTED_MANIFEST`.
	// See the `augmentedManifests` Configuration Block section below.
	AugmentedManifests DocumentClassifierInputDataConfigAugmentedManifestArrayInput `pulumi:"augmentedManifests"`
	// The format for the training data.
	// One of `COMPREHEND_CSV` or `AUGMENTED_MANIFEST`.
	DataFormat pulumi.StringPtrInput `pulumi:"dataFormat"`
	// Delimiter between labels when training a multi-label classifier.
	// Valid values are `|`, `~`, `!`, `@`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`.
	// Default is `|`.
	LabelDelimiter pulumi.StringPtrInput `pulumi:"labelDelimiter"`
	// Location of training documents.
	// Used if `dataFormat` is `COMPREHEND_CSV`.
	S3Uri     pulumi.StringPtrInput `pulumi:"s3Uri"`
	TestS3Uri pulumi.StringPtrInput `pulumi:"testS3Uri"`
}

func (DocumentClassifierInputDataConfigArgs) ElementType

func (DocumentClassifierInputDataConfigArgs) ToDocumentClassifierInputDataConfigOutput

func (i DocumentClassifierInputDataConfigArgs) ToDocumentClassifierInputDataConfigOutput() DocumentClassifierInputDataConfigOutput

func (DocumentClassifierInputDataConfigArgs) ToDocumentClassifierInputDataConfigOutputWithContext

func (i DocumentClassifierInputDataConfigArgs) ToDocumentClassifierInputDataConfigOutputWithContext(ctx context.Context) DocumentClassifierInputDataConfigOutput

func (DocumentClassifierInputDataConfigArgs) ToDocumentClassifierInputDataConfigPtrOutput

func (i DocumentClassifierInputDataConfigArgs) ToDocumentClassifierInputDataConfigPtrOutput() DocumentClassifierInputDataConfigPtrOutput

func (DocumentClassifierInputDataConfigArgs) ToDocumentClassifierInputDataConfigPtrOutputWithContext

func (i DocumentClassifierInputDataConfigArgs) ToDocumentClassifierInputDataConfigPtrOutputWithContext(ctx context.Context) DocumentClassifierInputDataConfigPtrOutput

type DocumentClassifierInputDataConfigAugmentedManifest

type DocumentClassifierInputDataConfigAugmentedManifest struct {
	// Location of annotation files.
	AnnotationDataS3Uri *string `pulumi:"annotationDataS3Uri"`
	// The JSON attribute that contains the annotations for the training documents.
	AttributeNames []string `pulumi:"attributeNames"`
	// Type of augmented manifest.
	// One of `PLAIN_TEXT_DOCUMENT` or `SEMI_STRUCTURED_DOCUMENT`.
	DocumentType *string `pulumi:"documentType"`
	// Location of augmented manifest file.
	S3Uri string `pulumi:"s3Uri"`
	// Location of source PDF files.
	SourceDocumentsS3Uri *string `pulumi:"sourceDocumentsS3Uri"`
	// Purpose of data in augmented manifest.
	// One of `TRAIN` or `TEST`.
	Split *string `pulumi:"split"`
}

type DocumentClassifierInputDataConfigAugmentedManifestArgs

type DocumentClassifierInputDataConfigAugmentedManifestArgs struct {
	// Location of annotation files.
	AnnotationDataS3Uri pulumi.StringPtrInput `pulumi:"annotationDataS3Uri"`
	// The JSON attribute that contains the annotations for the training documents.
	AttributeNames pulumi.StringArrayInput `pulumi:"attributeNames"`
	// Type of augmented manifest.
	// One of `PLAIN_TEXT_DOCUMENT` or `SEMI_STRUCTURED_DOCUMENT`.
	DocumentType pulumi.StringPtrInput `pulumi:"documentType"`
	// Location of augmented manifest file.
	S3Uri pulumi.StringInput `pulumi:"s3Uri"`
	// Location of source PDF files.
	SourceDocumentsS3Uri pulumi.StringPtrInput `pulumi:"sourceDocumentsS3Uri"`
	// Purpose of data in augmented manifest.
	// One of `TRAIN` or `TEST`.
	Split pulumi.StringPtrInput `pulumi:"split"`
}

func (DocumentClassifierInputDataConfigAugmentedManifestArgs) ElementType

func (DocumentClassifierInputDataConfigAugmentedManifestArgs) ToDocumentClassifierInputDataConfigAugmentedManifestOutput

func (DocumentClassifierInputDataConfigAugmentedManifestArgs) ToDocumentClassifierInputDataConfigAugmentedManifestOutputWithContext

func (i DocumentClassifierInputDataConfigAugmentedManifestArgs) ToDocumentClassifierInputDataConfigAugmentedManifestOutputWithContext(ctx context.Context) DocumentClassifierInputDataConfigAugmentedManifestOutput

type DocumentClassifierInputDataConfigAugmentedManifestArray

type DocumentClassifierInputDataConfigAugmentedManifestArray []DocumentClassifierInputDataConfigAugmentedManifestInput

func (DocumentClassifierInputDataConfigAugmentedManifestArray) ElementType

func (DocumentClassifierInputDataConfigAugmentedManifestArray) ToDocumentClassifierInputDataConfigAugmentedManifestArrayOutput

func (i DocumentClassifierInputDataConfigAugmentedManifestArray) ToDocumentClassifierInputDataConfigAugmentedManifestArrayOutput() DocumentClassifierInputDataConfigAugmentedManifestArrayOutput

func (DocumentClassifierInputDataConfigAugmentedManifestArray) ToDocumentClassifierInputDataConfigAugmentedManifestArrayOutputWithContext

func (i DocumentClassifierInputDataConfigAugmentedManifestArray) ToDocumentClassifierInputDataConfigAugmentedManifestArrayOutputWithContext(ctx context.Context) DocumentClassifierInputDataConfigAugmentedManifestArrayOutput

type DocumentClassifierInputDataConfigAugmentedManifestArrayInput

type DocumentClassifierInputDataConfigAugmentedManifestArrayInput interface {
	pulumi.Input

	ToDocumentClassifierInputDataConfigAugmentedManifestArrayOutput() DocumentClassifierInputDataConfigAugmentedManifestArrayOutput
	ToDocumentClassifierInputDataConfigAugmentedManifestArrayOutputWithContext(context.Context) DocumentClassifierInputDataConfigAugmentedManifestArrayOutput
}

DocumentClassifierInputDataConfigAugmentedManifestArrayInput is an input type that accepts DocumentClassifierInputDataConfigAugmentedManifestArray and DocumentClassifierInputDataConfigAugmentedManifestArrayOutput values. You can construct a concrete instance of `DocumentClassifierInputDataConfigAugmentedManifestArrayInput` via:

DocumentClassifierInputDataConfigAugmentedManifestArray{ DocumentClassifierInputDataConfigAugmentedManifestArgs{...} }

type DocumentClassifierInputDataConfigAugmentedManifestArrayOutput

type DocumentClassifierInputDataConfigAugmentedManifestArrayOutput struct{ *pulumi.OutputState }

func (DocumentClassifierInputDataConfigAugmentedManifestArrayOutput) ElementType

func (DocumentClassifierInputDataConfigAugmentedManifestArrayOutput) Index

func (DocumentClassifierInputDataConfigAugmentedManifestArrayOutput) ToDocumentClassifierInputDataConfigAugmentedManifestArrayOutput

func (DocumentClassifierInputDataConfigAugmentedManifestArrayOutput) ToDocumentClassifierInputDataConfigAugmentedManifestArrayOutputWithContext

func (o DocumentClassifierInputDataConfigAugmentedManifestArrayOutput) ToDocumentClassifierInputDataConfigAugmentedManifestArrayOutputWithContext(ctx context.Context) DocumentClassifierInputDataConfigAugmentedManifestArrayOutput

type DocumentClassifierInputDataConfigAugmentedManifestInput

type DocumentClassifierInputDataConfigAugmentedManifestInput interface {
	pulumi.Input

	ToDocumentClassifierInputDataConfigAugmentedManifestOutput() DocumentClassifierInputDataConfigAugmentedManifestOutput
	ToDocumentClassifierInputDataConfigAugmentedManifestOutputWithContext(context.Context) DocumentClassifierInputDataConfigAugmentedManifestOutput
}

DocumentClassifierInputDataConfigAugmentedManifestInput is an input type that accepts DocumentClassifierInputDataConfigAugmentedManifestArgs and DocumentClassifierInputDataConfigAugmentedManifestOutput values. You can construct a concrete instance of `DocumentClassifierInputDataConfigAugmentedManifestInput` via:

DocumentClassifierInputDataConfigAugmentedManifestArgs{...}

type DocumentClassifierInputDataConfigAugmentedManifestOutput

type DocumentClassifierInputDataConfigAugmentedManifestOutput struct{ *pulumi.OutputState }

func (DocumentClassifierInputDataConfigAugmentedManifestOutput) AnnotationDataS3Uri

Location of annotation files.

func (DocumentClassifierInputDataConfigAugmentedManifestOutput) AttributeNames

The JSON attribute that contains the annotations for the training documents.

func (DocumentClassifierInputDataConfigAugmentedManifestOutput) DocumentType

Type of augmented manifest. One of `PLAIN_TEXT_DOCUMENT` or `SEMI_STRUCTURED_DOCUMENT`.

func (DocumentClassifierInputDataConfigAugmentedManifestOutput) ElementType

func (DocumentClassifierInputDataConfigAugmentedManifestOutput) S3Uri

Location of augmented manifest file.

func (DocumentClassifierInputDataConfigAugmentedManifestOutput) SourceDocumentsS3Uri

Location of source PDF files.

func (DocumentClassifierInputDataConfigAugmentedManifestOutput) Split

Purpose of data in augmented manifest. One of `TRAIN` or `TEST`.

func (DocumentClassifierInputDataConfigAugmentedManifestOutput) ToDocumentClassifierInputDataConfigAugmentedManifestOutput

func (DocumentClassifierInputDataConfigAugmentedManifestOutput) ToDocumentClassifierInputDataConfigAugmentedManifestOutputWithContext

func (o DocumentClassifierInputDataConfigAugmentedManifestOutput) ToDocumentClassifierInputDataConfigAugmentedManifestOutputWithContext(ctx context.Context) DocumentClassifierInputDataConfigAugmentedManifestOutput

type DocumentClassifierInputDataConfigInput

type DocumentClassifierInputDataConfigInput interface {
	pulumi.Input

	ToDocumentClassifierInputDataConfigOutput() DocumentClassifierInputDataConfigOutput
	ToDocumentClassifierInputDataConfigOutputWithContext(context.Context) DocumentClassifierInputDataConfigOutput
}

DocumentClassifierInputDataConfigInput is an input type that accepts DocumentClassifierInputDataConfigArgs and DocumentClassifierInputDataConfigOutput values. You can construct a concrete instance of `DocumentClassifierInputDataConfigInput` via:

DocumentClassifierInputDataConfigArgs{...}

type DocumentClassifierInputDataConfigOutput

type DocumentClassifierInputDataConfigOutput struct{ *pulumi.OutputState }

func (DocumentClassifierInputDataConfigOutput) AugmentedManifests

List of training datasets produced by Amazon SageMaker Ground Truth. Used if `dataFormat` is `AUGMENTED_MANIFEST`. See the `augmentedManifests` Configuration Block section below.

func (DocumentClassifierInputDataConfigOutput) DataFormat

The format for the training data. One of `COMPREHEND_CSV` or `AUGMENTED_MANIFEST`.

func (DocumentClassifierInputDataConfigOutput) ElementType

func (DocumentClassifierInputDataConfigOutput) LabelDelimiter

Delimiter between labels when training a multi-label classifier. Valid values are `|`, `~`, `!`, `@`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. Default is `|`.

func (DocumentClassifierInputDataConfigOutput) S3Uri

Location of training documents. Used if `dataFormat` is `COMPREHEND_CSV`.

func (DocumentClassifierInputDataConfigOutput) TestS3Uri

func (DocumentClassifierInputDataConfigOutput) ToDocumentClassifierInputDataConfigOutput

func (o DocumentClassifierInputDataConfigOutput) ToDocumentClassifierInputDataConfigOutput() DocumentClassifierInputDataConfigOutput

func (DocumentClassifierInputDataConfigOutput) ToDocumentClassifierInputDataConfigOutputWithContext

func (o DocumentClassifierInputDataConfigOutput) ToDocumentClassifierInputDataConfigOutputWithContext(ctx context.Context) DocumentClassifierInputDataConfigOutput

func (DocumentClassifierInputDataConfigOutput) ToDocumentClassifierInputDataConfigPtrOutput

func (o DocumentClassifierInputDataConfigOutput) ToDocumentClassifierInputDataConfigPtrOutput() DocumentClassifierInputDataConfigPtrOutput

func (DocumentClassifierInputDataConfigOutput) ToDocumentClassifierInputDataConfigPtrOutputWithContext

func (o DocumentClassifierInputDataConfigOutput) ToDocumentClassifierInputDataConfigPtrOutputWithContext(ctx context.Context) DocumentClassifierInputDataConfigPtrOutput

type DocumentClassifierInputDataConfigPtrInput

type DocumentClassifierInputDataConfigPtrInput interface {
	pulumi.Input

	ToDocumentClassifierInputDataConfigPtrOutput() DocumentClassifierInputDataConfigPtrOutput
	ToDocumentClassifierInputDataConfigPtrOutputWithContext(context.Context) DocumentClassifierInputDataConfigPtrOutput
}

DocumentClassifierInputDataConfigPtrInput is an input type that accepts DocumentClassifierInputDataConfigArgs, DocumentClassifierInputDataConfigPtr and DocumentClassifierInputDataConfigPtrOutput values. You can construct a concrete instance of `DocumentClassifierInputDataConfigPtrInput` via:

        DocumentClassifierInputDataConfigArgs{...}

or:

        nil

type DocumentClassifierInputDataConfigPtrOutput

type DocumentClassifierInputDataConfigPtrOutput struct{ *pulumi.OutputState }

func (DocumentClassifierInputDataConfigPtrOutput) AugmentedManifests

List of training datasets produced by Amazon SageMaker Ground Truth. Used if `dataFormat` is `AUGMENTED_MANIFEST`. See the `augmentedManifests` Configuration Block section below.

func (DocumentClassifierInputDataConfigPtrOutput) DataFormat

The format for the training data. One of `COMPREHEND_CSV` or `AUGMENTED_MANIFEST`.

func (DocumentClassifierInputDataConfigPtrOutput) Elem

func (DocumentClassifierInputDataConfigPtrOutput) ElementType

func (DocumentClassifierInputDataConfigPtrOutput) LabelDelimiter

Delimiter between labels when training a multi-label classifier. Valid values are `|`, `~`, `!`, `@`, `#`, `$`, `%`, `^`, `*`, `-`, `_`, `+`, `=`, `\`, `:`, `;`, `>`, `?`, `/`, `<space>`, and `<tab>`. Default is `|`.

func (DocumentClassifierInputDataConfigPtrOutput) S3Uri

Location of training documents. Used if `dataFormat` is `COMPREHEND_CSV`.

func (DocumentClassifierInputDataConfigPtrOutput) TestS3Uri

func (DocumentClassifierInputDataConfigPtrOutput) ToDocumentClassifierInputDataConfigPtrOutput

func (o DocumentClassifierInputDataConfigPtrOutput) ToDocumentClassifierInputDataConfigPtrOutput() DocumentClassifierInputDataConfigPtrOutput

func (DocumentClassifierInputDataConfigPtrOutput) ToDocumentClassifierInputDataConfigPtrOutputWithContext

func (o DocumentClassifierInputDataConfigPtrOutput) ToDocumentClassifierInputDataConfigPtrOutputWithContext(ctx context.Context) DocumentClassifierInputDataConfigPtrOutput

type DocumentClassifierMap

type DocumentClassifierMap map[string]DocumentClassifierInput

func (DocumentClassifierMap) ElementType

func (DocumentClassifierMap) ElementType() reflect.Type

func (DocumentClassifierMap) ToDocumentClassifierMapOutput

func (i DocumentClassifierMap) ToDocumentClassifierMapOutput() DocumentClassifierMapOutput

func (DocumentClassifierMap) ToDocumentClassifierMapOutputWithContext

func (i DocumentClassifierMap) ToDocumentClassifierMapOutputWithContext(ctx context.Context) DocumentClassifierMapOutput

type DocumentClassifierMapInput

type DocumentClassifierMapInput interface {
	pulumi.Input

	ToDocumentClassifierMapOutput() DocumentClassifierMapOutput
	ToDocumentClassifierMapOutputWithContext(context.Context) DocumentClassifierMapOutput
}

DocumentClassifierMapInput is an input type that accepts DocumentClassifierMap and DocumentClassifierMapOutput values. You can construct a concrete instance of `DocumentClassifierMapInput` via:

DocumentClassifierMap{ "key": DocumentClassifierArgs{...} }

type DocumentClassifierMapOutput

type DocumentClassifierMapOutput struct{ *pulumi.OutputState }

func (DocumentClassifierMapOutput) ElementType

func (DocumentClassifierMapOutput) MapIndex

func (DocumentClassifierMapOutput) ToDocumentClassifierMapOutput

func (o DocumentClassifierMapOutput) ToDocumentClassifierMapOutput() DocumentClassifierMapOutput

func (DocumentClassifierMapOutput) ToDocumentClassifierMapOutputWithContext

func (o DocumentClassifierMapOutput) ToDocumentClassifierMapOutputWithContext(ctx context.Context) DocumentClassifierMapOutput

type DocumentClassifierOutput

type DocumentClassifierOutput struct{ *pulumi.OutputState }

func (DocumentClassifierOutput) Arn

ARN of the Document Classifier version.

func (DocumentClassifierOutput) DataAccessRoleArn

func (o DocumentClassifierOutput) DataAccessRoleArn() pulumi.StringOutput

The ARN for an IAM Role which allows Comprehend to read the training and testing data.

func (DocumentClassifierOutput) ElementType

func (DocumentClassifierOutput) ElementType() reflect.Type

func (DocumentClassifierOutput) InputDataConfig

Configuration for the training and testing data. See the `inputDataConfig` Configuration Block section below.

func (DocumentClassifierOutput) LanguageCode

func (o DocumentClassifierOutput) LanguageCode() pulumi.StringOutput

Two-letter language code for the language. One of `en`, `es`, `fr`, `it`, `de`, or `pt`.

func (DocumentClassifierOutput) Mode

The document classification mode. One of `MULTI_CLASS` or `MULTI_LABEL`. `MULTI_CLASS` is also known as "Single Label" in the AWS Console.

func (DocumentClassifierOutput) ModelKmsKeyId

KMS Key used to encrypt trained Document Classifiers. Can be a KMS Key ID or a KMS Key ARN.

func (DocumentClassifierOutput) Name

Name for the Document Classifier. Has a maximum length of 63 characters. Can contain upper- and lower-case letters, numbers, and hypen (`-`).

The following arguments are optional:

func (DocumentClassifierOutput) OutputDataConfig

Configuration for the output results of training. See the `outputDataConfig` Configuration Block section below.

func (DocumentClassifierOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.

func (DocumentClassifierOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (DocumentClassifierOutput) ToDocumentClassifierOutput

func (o DocumentClassifierOutput) ToDocumentClassifierOutput() DocumentClassifierOutput

func (DocumentClassifierOutput) ToDocumentClassifierOutputWithContext

func (o DocumentClassifierOutput) ToDocumentClassifierOutputWithContext(ctx context.Context) DocumentClassifierOutput

func (DocumentClassifierOutput) VersionName

Name for the version of the Document Classifier. Each version must have a unique name within the Document Classifier. If omitted, the provider will assign a random, unique version name. If explicitly set to `""`, no version name will be set. Has a maximum length of 63 characters. Can contain upper- and lower-case letters, numbers, and hypen (`-`). Conflicts with `versionNamePrefix`.

func (DocumentClassifierOutput) VersionNamePrefix

func (o DocumentClassifierOutput) VersionNamePrefix() pulumi.StringOutput

Creates a unique version name beginning with the specified prefix. Has a maximum length of 37 characters. Can contain upper- and lower-case letters, numbers, and hypen (`-`). Conflicts with `versionName`.

func (DocumentClassifierOutput) VolumeKmsKeyId

func (o DocumentClassifierOutput) VolumeKmsKeyId() pulumi.StringPtrOutput

KMS Key used to encrypt storage volumes during job processing. Can be a KMS Key ID or a KMS Key ARN.

func (DocumentClassifierOutput) VpcConfig

Configuration parameters for VPC to contain Document Classifier resources. See the `vpcConfig` Configuration Block section below.

type DocumentClassifierOutputDataConfig

type DocumentClassifierOutputDataConfig struct {
	// KMS Key used to encrypt the output documents.
	// Can be a KMS Key ID, a KMS Key ARN, a KMS Alias name, or a KMS Alias ARN.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// Full path for the output documents.
	OutputS3Uri *string `pulumi:"outputS3Uri"`
	// Destination path for the output documents.
	// The full path to the output file will be returned in `outputS3Uri`.
	S3Uri string `pulumi:"s3Uri"`
}

type DocumentClassifierOutputDataConfigArgs

type DocumentClassifierOutputDataConfigArgs struct {
	// KMS Key used to encrypt the output documents.
	// Can be a KMS Key ID, a KMS Key ARN, a KMS Alias name, or a KMS Alias ARN.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// Full path for the output documents.
	OutputS3Uri pulumi.StringPtrInput `pulumi:"outputS3Uri"`
	// Destination path for the output documents.
	// The full path to the output file will be returned in `outputS3Uri`.
	S3Uri pulumi.StringInput `pulumi:"s3Uri"`
}

func (DocumentClassifierOutputDataConfigArgs) ElementType

func (DocumentClassifierOutputDataConfigArgs) ToDocumentClassifierOutputDataConfigOutput

func (i DocumentClassifierOutputDataConfigArgs) ToDocumentClassifierOutputDataConfigOutput() DocumentClassifierOutputDataConfigOutput

func (DocumentClassifierOutputDataConfigArgs) ToDocumentClassifierOutputDataConfigOutputWithContext

func (i DocumentClassifierOutputDataConfigArgs) ToDocumentClassifierOutputDataConfigOutputWithContext(ctx context.Context) DocumentClassifierOutputDataConfigOutput

func (DocumentClassifierOutputDataConfigArgs) ToDocumentClassifierOutputDataConfigPtrOutput

func (i DocumentClassifierOutputDataConfigArgs) ToDocumentClassifierOutputDataConfigPtrOutput() DocumentClassifierOutputDataConfigPtrOutput

func (DocumentClassifierOutputDataConfigArgs) ToDocumentClassifierOutputDataConfigPtrOutputWithContext

func (i DocumentClassifierOutputDataConfigArgs) ToDocumentClassifierOutputDataConfigPtrOutputWithContext(ctx context.Context) DocumentClassifierOutputDataConfigPtrOutput

type DocumentClassifierOutputDataConfigInput

type DocumentClassifierOutputDataConfigInput interface {
	pulumi.Input

	ToDocumentClassifierOutputDataConfigOutput() DocumentClassifierOutputDataConfigOutput
	ToDocumentClassifierOutputDataConfigOutputWithContext(context.Context) DocumentClassifierOutputDataConfigOutput
}

DocumentClassifierOutputDataConfigInput is an input type that accepts DocumentClassifierOutputDataConfigArgs and DocumentClassifierOutputDataConfigOutput values. You can construct a concrete instance of `DocumentClassifierOutputDataConfigInput` via:

DocumentClassifierOutputDataConfigArgs{...}

type DocumentClassifierOutputDataConfigOutput

type DocumentClassifierOutputDataConfigOutput struct{ *pulumi.OutputState }

func (DocumentClassifierOutputDataConfigOutput) ElementType

func (DocumentClassifierOutputDataConfigOutput) KmsKeyId

KMS Key used to encrypt the output documents. Can be a KMS Key ID, a KMS Key ARN, a KMS Alias name, or a KMS Alias ARN.

func (DocumentClassifierOutputDataConfigOutput) OutputS3Uri

Full path for the output documents.

func (DocumentClassifierOutputDataConfigOutput) S3Uri

Destination path for the output documents. The full path to the output file will be returned in `outputS3Uri`.

func (DocumentClassifierOutputDataConfigOutput) ToDocumentClassifierOutputDataConfigOutput

func (o DocumentClassifierOutputDataConfigOutput) ToDocumentClassifierOutputDataConfigOutput() DocumentClassifierOutputDataConfigOutput

func (DocumentClassifierOutputDataConfigOutput) ToDocumentClassifierOutputDataConfigOutputWithContext

func (o DocumentClassifierOutputDataConfigOutput) ToDocumentClassifierOutputDataConfigOutputWithContext(ctx context.Context) DocumentClassifierOutputDataConfigOutput

func (DocumentClassifierOutputDataConfigOutput) ToDocumentClassifierOutputDataConfigPtrOutput

func (o DocumentClassifierOutputDataConfigOutput) ToDocumentClassifierOutputDataConfigPtrOutput() DocumentClassifierOutputDataConfigPtrOutput

func (DocumentClassifierOutputDataConfigOutput) ToDocumentClassifierOutputDataConfigPtrOutputWithContext

func (o DocumentClassifierOutputDataConfigOutput) ToDocumentClassifierOutputDataConfigPtrOutputWithContext(ctx context.Context) DocumentClassifierOutputDataConfigPtrOutput

type DocumentClassifierOutputDataConfigPtrInput

type DocumentClassifierOutputDataConfigPtrInput interface {
	pulumi.Input

	ToDocumentClassifierOutputDataConfigPtrOutput() DocumentClassifierOutputDataConfigPtrOutput
	ToDocumentClassifierOutputDataConfigPtrOutputWithContext(context.Context) DocumentClassifierOutputDataConfigPtrOutput
}

DocumentClassifierOutputDataConfigPtrInput is an input type that accepts DocumentClassifierOutputDataConfigArgs, DocumentClassifierOutputDataConfigPtr and DocumentClassifierOutputDataConfigPtrOutput values. You can construct a concrete instance of `DocumentClassifierOutputDataConfigPtrInput` via:

        DocumentClassifierOutputDataConfigArgs{...}

or:

        nil

type DocumentClassifierOutputDataConfigPtrOutput

type DocumentClassifierOutputDataConfigPtrOutput struct{ *pulumi.OutputState }

func (DocumentClassifierOutputDataConfigPtrOutput) Elem

func (DocumentClassifierOutputDataConfigPtrOutput) ElementType

func (DocumentClassifierOutputDataConfigPtrOutput) KmsKeyId

KMS Key used to encrypt the output documents. Can be a KMS Key ID, a KMS Key ARN, a KMS Alias name, or a KMS Alias ARN.

func (DocumentClassifierOutputDataConfigPtrOutput) OutputS3Uri

Full path for the output documents.

func (DocumentClassifierOutputDataConfigPtrOutput) S3Uri

Destination path for the output documents. The full path to the output file will be returned in `outputS3Uri`.

func (DocumentClassifierOutputDataConfigPtrOutput) ToDocumentClassifierOutputDataConfigPtrOutput

func (o DocumentClassifierOutputDataConfigPtrOutput) ToDocumentClassifierOutputDataConfigPtrOutput() DocumentClassifierOutputDataConfigPtrOutput

func (DocumentClassifierOutputDataConfigPtrOutput) ToDocumentClassifierOutputDataConfigPtrOutputWithContext

func (o DocumentClassifierOutputDataConfigPtrOutput) ToDocumentClassifierOutputDataConfigPtrOutputWithContext(ctx context.Context) DocumentClassifierOutputDataConfigPtrOutput

type DocumentClassifierState

type DocumentClassifierState struct {
	// ARN of the Document Classifier version.
	Arn pulumi.StringPtrInput
	// The ARN for an IAM Role which allows Comprehend to read the training and testing data.
	DataAccessRoleArn pulumi.StringPtrInput
	// Configuration for the training and testing data.
	// See the `inputDataConfig` Configuration Block section below.
	InputDataConfig DocumentClassifierInputDataConfigPtrInput
	// Two-letter language code for the language.
	// One of `en`, `es`, `fr`, `it`, `de`, or `pt`.
	LanguageCode pulumi.StringPtrInput
	// The document classification mode.
	// One of `MULTI_CLASS` or `MULTI_LABEL`.
	// `MULTI_CLASS` is also known as "Single Label" in the AWS Console.
	Mode pulumi.StringPtrInput
	// KMS Key used to encrypt trained Document Classifiers.
	// Can be a KMS Key ID or a KMS Key ARN.
	ModelKmsKeyId pulumi.StringPtrInput
	// Name for the Document Classifier.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Configuration for the output results of training.
	// See the `outputDataConfig` Configuration Block section below.
	OutputDataConfig DocumentClassifierOutputDataConfigPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// Name for the version of the Document Classifier.
	// Each version must have a unique name within the Document Classifier.
	// If omitted, the provider will assign a random, unique version name.
	// If explicitly set to `""`, no version name will be set.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionNamePrefix`.
	VersionName pulumi.StringPtrInput
	// Creates a unique version name beginning with the specified prefix.
	// Has a maximum length of 37 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionName`.
	VersionNamePrefix pulumi.StringPtrInput
	// KMS Key used to encrypt storage volumes during job processing.
	// Can be a KMS Key ID or a KMS Key ARN.
	VolumeKmsKeyId pulumi.StringPtrInput
	// Configuration parameters for VPC to contain Document Classifier resources.
	// See the `vpcConfig` Configuration Block section below.
	VpcConfig DocumentClassifierVpcConfigPtrInput
}

func (DocumentClassifierState) ElementType

func (DocumentClassifierState) ElementType() reflect.Type

type DocumentClassifierVpcConfig

type DocumentClassifierVpcConfig struct {
	// List of security group IDs.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// List of VPC subnets.
	Subnets []string `pulumi:"subnets"`
}

type DocumentClassifierVpcConfigArgs

type DocumentClassifierVpcConfigArgs struct {
	// List of security group IDs.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// List of VPC subnets.
	Subnets pulumi.StringArrayInput `pulumi:"subnets"`
}

func (DocumentClassifierVpcConfigArgs) ElementType

func (DocumentClassifierVpcConfigArgs) ToDocumentClassifierVpcConfigOutput

func (i DocumentClassifierVpcConfigArgs) ToDocumentClassifierVpcConfigOutput() DocumentClassifierVpcConfigOutput

func (DocumentClassifierVpcConfigArgs) ToDocumentClassifierVpcConfigOutputWithContext

func (i DocumentClassifierVpcConfigArgs) ToDocumentClassifierVpcConfigOutputWithContext(ctx context.Context) DocumentClassifierVpcConfigOutput

func (DocumentClassifierVpcConfigArgs) ToDocumentClassifierVpcConfigPtrOutput

func (i DocumentClassifierVpcConfigArgs) ToDocumentClassifierVpcConfigPtrOutput() DocumentClassifierVpcConfigPtrOutput

func (DocumentClassifierVpcConfigArgs) ToDocumentClassifierVpcConfigPtrOutputWithContext

func (i DocumentClassifierVpcConfigArgs) ToDocumentClassifierVpcConfigPtrOutputWithContext(ctx context.Context) DocumentClassifierVpcConfigPtrOutput

type DocumentClassifierVpcConfigInput

type DocumentClassifierVpcConfigInput interface {
	pulumi.Input

	ToDocumentClassifierVpcConfigOutput() DocumentClassifierVpcConfigOutput
	ToDocumentClassifierVpcConfigOutputWithContext(context.Context) DocumentClassifierVpcConfigOutput
}

DocumentClassifierVpcConfigInput is an input type that accepts DocumentClassifierVpcConfigArgs and DocumentClassifierVpcConfigOutput values. You can construct a concrete instance of `DocumentClassifierVpcConfigInput` via:

DocumentClassifierVpcConfigArgs{...}

type DocumentClassifierVpcConfigOutput

type DocumentClassifierVpcConfigOutput struct{ *pulumi.OutputState }

func (DocumentClassifierVpcConfigOutput) ElementType

func (DocumentClassifierVpcConfigOutput) SecurityGroupIds

List of security group IDs.

func (DocumentClassifierVpcConfigOutput) Subnets

List of VPC subnets.

func (DocumentClassifierVpcConfigOutput) ToDocumentClassifierVpcConfigOutput

func (o DocumentClassifierVpcConfigOutput) ToDocumentClassifierVpcConfigOutput() DocumentClassifierVpcConfigOutput

func (DocumentClassifierVpcConfigOutput) ToDocumentClassifierVpcConfigOutputWithContext

func (o DocumentClassifierVpcConfigOutput) ToDocumentClassifierVpcConfigOutputWithContext(ctx context.Context) DocumentClassifierVpcConfigOutput

func (DocumentClassifierVpcConfigOutput) ToDocumentClassifierVpcConfigPtrOutput

func (o DocumentClassifierVpcConfigOutput) ToDocumentClassifierVpcConfigPtrOutput() DocumentClassifierVpcConfigPtrOutput

func (DocumentClassifierVpcConfigOutput) ToDocumentClassifierVpcConfigPtrOutputWithContext

func (o DocumentClassifierVpcConfigOutput) ToDocumentClassifierVpcConfigPtrOutputWithContext(ctx context.Context) DocumentClassifierVpcConfigPtrOutput

type DocumentClassifierVpcConfigPtrInput

type DocumentClassifierVpcConfigPtrInput interface {
	pulumi.Input

	ToDocumentClassifierVpcConfigPtrOutput() DocumentClassifierVpcConfigPtrOutput
	ToDocumentClassifierVpcConfigPtrOutputWithContext(context.Context) DocumentClassifierVpcConfigPtrOutput
}

DocumentClassifierVpcConfigPtrInput is an input type that accepts DocumentClassifierVpcConfigArgs, DocumentClassifierVpcConfigPtr and DocumentClassifierVpcConfigPtrOutput values. You can construct a concrete instance of `DocumentClassifierVpcConfigPtrInput` via:

        DocumentClassifierVpcConfigArgs{...}

or:

        nil

type DocumentClassifierVpcConfigPtrOutput

type DocumentClassifierVpcConfigPtrOutput struct{ *pulumi.OutputState }

func (DocumentClassifierVpcConfigPtrOutput) Elem

func (DocumentClassifierVpcConfigPtrOutput) ElementType

func (DocumentClassifierVpcConfigPtrOutput) SecurityGroupIds

List of security group IDs.

func (DocumentClassifierVpcConfigPtrOutput) Subnets

List of VPC subnets.

func (DocumentClassifierVpcConfigPtrOutput) ToDocumentClassifierVpcConfigPtrOutput

func (o DocumentClassifierVpcConfigPtrOutput) ToDocumentClassifierVpcConfigPtrOutput() DocumentClassifierVpcConfigPtrOutput

func (DocumentClassifierVpcConfigPtrOutput) ToDocumentClassifierVpcConfigPtrOutputWithContext

func (o DocumentClassifierVpcConfigPtrOutput) ToDocumentClassifierVpcConfigPtrOutputWithContext(ctx context.Context) DocumentClassifierVpcConfigPtrOutput

type EntityRecognizer

type EntityRecognizer struct {
	pulumi.CustomResourceState

	// ARN of the Entity Recognizer version.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ARN for an IAM Role which allows Comprehend to read the training and testing data.
	DataAccessRoleArn pulumi.StringOutput `pulumi:"dataAccessRoleArn"`
	// Configuration for the training and testing data.
	// See the `inputDataConfig` Configuration Block section below.
	InputDataConfig EntityRecognizerInputDataConfigOutput `pulumi:"inputDataConfig"`
	// Two-letter language code for the language.
	// One of `en`, `es`, `fr`, `it`, `de`, or `pt`.
	LanguageCode pulumi.StringOutput `pulumi:"languageCode"`
	// The ID or ARN of a KMS Key used to encrypt trained Entity Recognizers.
	ModelKmsKeyId pulumi.StringPtrOutput `pulumi:"modelKmsKeyId"`
	// Name for the Entity Recognizer.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	//
	// The following arguments are optional:
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Name for the version of the Entity Recognizer.
	// Each version must have a unique name within the Entity Recognizer.
	// If omitted, the provider will assign a random, unique version name.
	// If explicitly set to `""`, no version name will be set.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionNamePrefix`.
	VersionName pulumi.StringOutput `pulumi:"versionName"`
	// Creates a unique version name beginning with the specified prefix.
	// Has a maximum length of 37 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionName`.
	VersionNamePrefix pulumi.StringOutput `pulumi:"versionNamePrefix"`
	// ID or ARN of a KMS Key used to encrypt storage volumes during job processing.
	VolumeKmsKeyId pulumi.StringPtrOutput `pulumi:"volumeKmsKeyId"`
	// Configuration parameters for VPC to contain Entity Recognizer resources.
	// See the `vpcConfig` Configuration Block section below.
	VpcConfig EntityRecognizerVpcConfigPtrOutput `pulumi:"vpcConfig"`
}

Resource for managing an AWS Comprehend Entity Recognizer.

## Example Usage ### Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/comprehend"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		documents, err := s3.NewBucketObjectv2(ctx, "documents", nil)
		if err != nil {
			return err
		}
		entities, err := s3.NewBucketObjectv2(ctx, "entities", nil)
		if err != nil {
			return err
		}
		_, err = comprehend.NewEntityRecognizer(ctx, "example", &comprehend.EntityRecognizerArgs{
			Name:              pulumi.String("example"),
			DataAccessRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
			LanguageCode:      pulumi.String("en"),
			InputDataConfig: &comprehend.EntityRecognizerInputDataConfigArgs{
				EntityTypes: comprehend.EntityRecognizerInputDataConfigEntityTypeArray{
					&comprehend.EntityRecognizerInputDataConfigEntityTypeArgs{
						Type: pulumi.String("ENTITY_1"),
					},
					&comprehend.EntityRecognizerInputDataConfigEntityTypeArgs{
						Type: pulumi.String("ENTITY_2"),
					},
				},
				Documents: &comprehend.EntityRecognizerInputDataConfigDocumentsArgs{
					S3Uri: documents.ID().ApplyT(func(id string) (string, error) {
						return fmt.Sprintf("s3://%v/%v", documentsAwsS3Bucket.Bucket, id), nil
					}).(pulumi.StringOutput),
				},
				EntityList: &comprehend.EntityRecognizerInputDataConfigEntityListArgs{
					S3Uri: entities.ID().ApplyT(func(id string) (string, error) {
						return fmt.Sprintf("s3://%v/%v", entitiesAwsS3Bucket.Bucket, id), nil
					}).(pulumi.StringOutput),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import Comprehend Entity Recognizer using the ARN. For example:

```sh

$ pulumi import aws:comprehend/entityRecognizer:EntityRecognizer example arn:aws:comprehend:us-west-2:123456789012:entity-recognizer/example

```

func GetEntityRecognizer

func GetEntityRecognizer(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EntityRecognizerState, opts ...pulumi.ResourceOption) (*EntityRecognizer, error)

GetEntityRecognizer gets an existing EntityRecognizer resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEntityRecognizer

func NewEntityRecognizer(ctx *pulumi.Context,
	name string, args *EntityRecognizerArgs, opts ...pulumi.ResourceOption) (*EntityRecognizer, error)

NewEntityRecognizer registers a new resource with the given unique name, arguments, and options.

func (*EntityRecognizer) ElementType

func (*EntityRecognizer) ElementType() reflect.Type

func (*EntityRecognizer) ToEntityRecognizerOutput

func (i *EntityRecognizer) ToEntityRecognizerOutput() EntityRecognizerOutput

func (*EntityRecognizer) ToEntityRecognizerOutputWithContext

func (i *EntityRecognizer) ToEntityRecognizerOutputWithContext(ctx context.Context) EntityRecognizerOutput

type EntityRecognizerArgs

type EntityRecognizerArgs struct {
	// The ARN for an IAM Role which allows Comprehend to read the training and testing data.
	DataAccessRoleArn pulumi.StringInput
	// Configuration for the training and testing data.
	// See the `inputDataConfig` Configuration Block section below.
	InputDataConfig EntityRecognizerInputDataConfigInput
	// Two-letter language code for the language.
	// One of `en`, `es`, `fr`, `it`, `de`, or `pt`.
	LanguageCode pulumi.StringInput
	// The ID or ARN of a KMS Key used to encrypt trained Entity Recognizers.
	ModelKmsKeyId pulumi.StringPtrInput
	// Name for the Entity Recognizer.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Name for the version of the Entity Recognizer.
	// Each version must have a unique name within the Entity Recognizer.
	// If omitted, the provider will assign a random, unique version name.
	// If explicitly set to `""`, no version name will be set.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionNamePrefix`.
	VersionName pulumi.StringPtrInput
	// Creates a unique version name beginning with the specified prefix.
	// Has a maximum length of 37 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionName`.
	VersionNamePrefix pulumi.StringPtrInput
	// ID or ARN of a KMS Key used to encrypt storage volumes during job processing.
	VolumeKmsKeyId pulumi.StringPtrInput
	// Configuration parameters for VPC to contain Entity Recognizer resources.
	// See the `vpcConfig` Configuration Block section below.
	VpcConfig EntityRecognizerVpcConfigPtrInput
}

The set of arguments for constructing a EntityRecognizer resource.

func (EntityRecognizerArgs) ElementType

func (EntityRecognizerArgs) ElementType() reflect.Type

type EntityRecognizerArray

type EntityRecognizerArray []EntityRecognizerInput

func (EntityRecognizerArray) ElementType

func (EntityRecognizerArray) ElementType() reflect.Type

func (EntityRecognizerArray) ToEntityRecognizerArrayOutput

func (i EntityRecognizerArray) ToEntityRecognizerArrayOutput() EntityRecognizerArrayOutput

func (EntityRecognizerArray) ToEntityRecognizerArrayOutputWithContext

func (i EntityRecognizerArray) ToEntityRecognizerArrayOutputWithContext(ctx context.Context) EntityRecognizerArrayOutput

type EntityRecognizerArrayInput

type EntityRecognizerArrayInput interface {
	pulumi.Input

	ToEntityRecognizerArrayOutput() EntityRecognizerArrayOutput
	ToEntityRecognizerArrayOutputWithContext(context.Context) EntityRecognizerArrayOutput
}

EntityRecognizerArrayInput is an input type that accepts EntityRecognizerArray and EntityRecognizerArrayOutput values. You can construct a concrete instance of `EntityRecognizerArrayInput` via:

EntityRecognizerArray{ EntityRecognizerArgs{...} }

type EntityRecognizerArrayOutput

type EntityRecognizerArrayOutput struct{ *pulumi.OutputState }

func (EntityRecognizerArrayOutput) ElementType

func (EntityRecognizerArrayOutput) Index

func (EntityRecognizerArrayOutput) ToEntityRecognizerArrayOutput

func (o EntityRecognizerArrayOutput) ToEntityRecognizerArrayOutput() EntityRecognizerArrayOutput

func (EntityRecognizerArrayOutput) ToEntityRecognizerArrayOutputWithContext

func (o EntityRecognizerArrayOutput) ToEntityRecognizerArrayOutputWithContext(ctx context.Context) EntityRecognizerArrayOutput

type EntityRecognizerInput

type EntityRecognizerInput interface {
	pulumi.Input

	ToEntityRecognizerOutput() EntityRecognizerOutput
	ToEntityRecognizerOutputWithContext(ctx context.Context) EntityRecognizerOutput
}

type EntityRecognizerInputDataConfig

type EntityRecognizerInputDataConfig struct {
	// Specifies location of the document annotation data.
	// See the `annotations` Configuration Block section below.
	// One of `annotations` or `entityList` is required.
	Annotations *EntityRecognizerInputDataConfigAnnotations `pulumi:"annotations"`
	// List of training datasets produced by Amazon SageMaker Ground Truth.
	// Used if `dataFormat` is `AUGMENTED_MANIFEST`.
	// See the `augmentedManifests` Configuration Block section below.
	AugmentedManifests []EntityRecognizerInputDataConfigAugmentedManifest `pulumi:"augmentedManifests"`
	// The format for the training data.
	// One of `COMPREHEND_CSV` or `AUGMENTED_MANIFEST`.
	DataFormat *string `pulumi:"dataFormat"`
	// Specifies a collection of training documents.
	// Used if `dataFormat` is `COMPREHEND_CSV`.
	// See the `documents` Configuration Block section below.
	Documents *EntityRecognizerInputDataConfigDocuments `pulumi:"documents"`
	// Specifies location of the entity list data.
	// See the `entityList` Configuration Block section below.
	// One of `entityList` or `annotations` is required.
	EntityList *EntityRecognizerInputDataConfigEntityList `pulumi:"entityList"`
	// Set of entity types to be recognized.
	// Has a maximum of 25 items.
	// See the `entityTypes` Configuration Block section below.
	EntityTypes []EntityRecognizerInputDataConfigEntityType `pulumi:"entityTypes"`
}

type EntityRecognizerInputDataConfigAnnotations

type EntityRecognizerInputDataConfigAnnotations struct {
	// Location of training annotations.
	S3Uri     string  `pulumi:"s3Uri"`
	TestS3Uri *string `pulumi:"testS3Uri"`
}

type EntityRecognizerInputDataConfigAnnotationsArgs

type EntityRecognizerInputDataConfigAnnotationsArgs struct {
	// Location of training annotations.
	S3Uri     pulumi.StringInput    `pulumi:"s3Uri"`
	TestS3Uri pulumi.StringPtrInput `pulumi:"testS3Uri"`
}

func (EntityRecognizerInputDataConfigAnnotationsArgs) ElementType

func (EntityRecognizerInputDataConfigAnnotationsArgs) ToEntityRecognizerInputDataConfigAnnotationsOutput

func (i EntityRecognizerInputDataConfigAnnotationsArgs) ToEntityRecognizerInputDataConfigAnnotationsOutput() EntityRecognizerInputDataConfigAnnotationsOutput

func (EntityRecognizerInputDataConfigAnnotationsArgs) ToEntityRecognizerInputDataConfigAnnotationsOutputWithContext

func (i EntityRecognizerInputDataConfigAnnotationsArgs) ToEntityRecognizerInputDataConfigAnnotationsOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigAnnotationsOutput

func (EntityRecognizerInputDataConfigAnnotationsArgs) ToEntityRecognizerInputDataConfigAnnotationsPtrOutput

func (i EntityRecognizerInputDataConfigAnnotationsArgs) ToEntityRecognizerInputDataConfigAnnotationsPtrOutput() EntityRecognizerInputDataConfigAnnotationsPtrOutput

func (EntityRecognizerInputDataConfigAnnotationsArgs) ToEntityRecognizerInputDataConfigAnnotationsPtrOutputWithContext

func (i EntityRecognizerInputDataConfigAnnotationsArgs) ToEntityRecognizerInputDataConfigAnnotationsPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigAnnotationsPtrOutput

type EntityRecognizerInputDataConfigAnnotationsInput

type EntityRecognizerInputDataConfigAnnotationsInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigAnnotationsOutput() EntityRecognizerInputDataConfigAnnotationsOutput
	ToEntityRecognizerInputDataConfigAnnotationsOutputWithContext(context.Context) EntityRecognizerInputDataConfigAnnotationsOutput
}

EntityRecognizerInputDataConfigAnnotationsInput is an input type that accepts EntityRecognizerInputDataConfigAnnotationsArgs and EntityRecognizerInputDataConfigAnnotationsOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigAnnotationsInput` via:

EntityRecognizerInputDataConfigAnnotationsArgs{...}

type EntityRecognizerInputDataConfigAnnotationsOutput

type EntityRecognizerInputDataConfigAnnotationsOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigAnnotationsOutput) ElementType

func (EntityRecognizerInputDataConfigAnnotationsOutput) S3Uri

Location of training annotations.

func (EntityRecognizerInputDataConfigAnnotationsOutput) TestS3Uri

func (EntityRecognizerInputDataConfigAnnotationsOutput) ToEntityRecognizerInputDataConfigAnnotationsOutput

func (o EntityRecognizerInputDataConfigAnnotationsOutput) ToEntityRecognizerInputDataConfigAnnotationsOutput() EntityRecognizerInputDataConfigAnnotationsOutput

func (EntityRecognizerInputDataConfigAnnotationsOutput) ToEntityRecognizerInputDataConfigAnnotationsOutputWithContext

func (o EntityRecognizerInputDataConfigAnnotationsOutput) ToEntityRecognizerInputDataConfigAnnotationsOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigAnnotationsOutput

func (EntityRecognizerInputDataConfigAnnotationsOutput) ToEntityRecognizerInputDataConfigAnnotationsPtrOutput

func (o EntityRecognizerInputDataConfigAnnotationsOutput) ToEntityRecognizerInputDataConfigAnnotationsPtrOutput() EntityRecognizerInputDataConfigAnnotationsPtrOutput

func (EntityRecognizerInputDataConfigAnnotationsOutput) ToEntityRecognizerInputDataConfigAnnotationsPtrOutputWithContext

func (o EntityRecognizerInputDataConfigAnnotationsOutput) ToEntityRecognizerInputDataConfigAnnotationsPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigAnnotationsPtrOutput

type EntityRecognizerInputDataConfigAnnotationsPtrInput

type EntityRecognizerInputDataConfigAnnotationsPtrInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigAnnotationsPtrOutput() EntityRecognizerInputDataConfigAnnotationsPtrOutput
	ToEntityRecognizerInputDataConfigAnnotationsPtrOutputWithContext(context.Context) EntityRecognizerInputDataConfigAnnotationsPtrOutput
}

EntityRecognizerInputDataConfigAnnotationsPtrInput is an input type that accepts EntityRecognizerInputDataConfigAnnotationsArgs, EntityRecognizerInputDataConfigAnnotationsPtr and EntityRecognizerInputDataConfigAnnotationsPtrOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigAnnotationsPtrInput` via:

        EntityRecognizerInputDataConfigAnnotationsArgs{...}

or:

        nil

type EntityRecognizerInputDataConfigAnnotationsPtrOutput

type EntityRecognizerInputDataConfigAnnotationsPtrOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigAnnotationsPtrOutput) Elem

func (EntityRecognizerInputDataConfigAnnotationsPtrOutput) ElementType

func (EntityRecognizerInputDataConfigAnnotationsPtrOutput) S3Uri

Location of training annotations.

func (EntityRecognizerInputDataConfigAnnotationsPtrOutput) TestS3Uri

func (EntityRecognizerInputDataConfigAnnotationsPtrOutput) ToEntityRecognizerInputDataConfigAnnotationsPtrOutput

func (o EntityRecognizerInputDataConfigAnnotationsPtrOutput) ToEntityRecognizerInputDataConfigAnnotationsPtrOutput() EntityRecognizerInputDataConfigAnnotationsPtrOutput

func (EntityRecognizerInputDataConfigAnnotationsPtrOutput) ToEntityRecognizerInputDataConfigAnnotationsPtrOutputWithContext

func (o EntityRecognizerInputDataConfigAnnotationsPtrOutput) ToEntityRecognizerInputDataConfigAnnotationsPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigAnnotationsPtrOutput

type EntityRecognizerInputDataConfigArgs

type EntityRecognizerInputDataConfigArgs struct {
	// Specifies location of the document annotation data.
	// See the `annotations` Configuration Block section below.
	// One of `annotations` or `entityList` is required.
	Annotations EntityRecognizerInputDataConfigAnnotationsPtrInput `pulumi:"annotations"`
	// List of training datasets produced by Amazon SageMaker Ground Truth.
	// Used if `dataFormat` is `AUGMENTED_MANIFEST`.
	// See the `augmentedManifests` Configuration Block section below.
	AugmentedManifests EntityRecognizerInputDataConfigAugmentedManifestArrayInput `pulumi:"augmentedManifests"`
	// The format for the training data.
	// One of `COMPREHEND_CSV` or `AUGMENTED_MANIFEST`.
	DataFormat pulumi.StringPtrInput `pulumi:"dataFormat"`
	// Specifies a collection of training documents.
	// Used if `dataFormat` is `COMPREHEND_CSV`.
	// See the `documents` Configuration Block section below.
	Documents EntityRecognizerInputDataConfigDocumentsPtrInput `pulumi:"documents"`
	// Specifies location of the entity list data.
	// See the `entityList` Configuration Block section below.
	// One of `entityList` or `annotations` is required.
	EntityList EntityRecognizerInputDataConfigEntityListPtrInput `pulumi:"entityList"`
	// Set of entity types to be recognized.
	// Has a maximum of 25 items.
	// See the `entityTypes` Configuration Block section below.
	EntityTypes EntityRecognizerInputDataConfigEntityTypeArrayInput `pulumi:"entityTypes"`
}

func (EntityRecognizerInputDataConfigArgs) ElementType

func (EntityRecognizerInputDataConfigArgs) ToEntityRecognizerInputDataConfigOutput

func (i EntityRecognizerInputDataConfigArgs) ToEntityRecognizerInputDataConfigOutput() EntityRecognizerInputDataConfigOutput

func (EntityRecognizerInputDataConfigArgs) ToEntityRecognizerInputDataConfigOutputWithContext

func (i EntityRecognizerInputDataConfigArgs) ToEntityRecognizerInputDataConfigOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigOutput

func (EntityRecognizerInputDataConfigArgs) ToEntityRecognizerInputDataConfigPtrOutput

func (i EntityRecognizerInputDataConfigArgs) ToEntityRecognizerInputDataConfigPtrOutput() EntityRecognizerInputDataConfigPtrOutput

func (EntityRecognizerInputDataConfigArgs) ToEntityRecognizerInputDataConfigPtrOutputWithContext

func (i EntityRecognizerInputDataConfigArgs) ToEntityRecognizerInputDataConfigPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigPtrOutput

type EntityRecognizerInputDataConfigAugmentedManifest

type EntityRecognizerInputDataConfigAugmentedManifest struct {
	// Location of annotation files.
	AnnotationDataS3Uri *string `pulumi:"annotationDataS3Uri"`
	// The JSON attribute that contains the annotations for the training documents.
	AttributeNames []string `pulumi:"attributeNames"`
	// Type of augmented manifest.
	// One of `PLAIN_TEXT_DOCUMENT` or `SEMI_STRUCTURED_DOCUMENT`.
	DocumentType *string `pulumi:"documentType"`
	// Location of augmented manifest file.
	S3Uri string `pulumi:"s3Uri"`
	// Location of source PDF files.
	SourceDocumentsS3Uri *string `pulumi:"sourceDocumentsS3Uri"`
	// Purpose of data in augmented manifest.
	// One of `TRAIN` or `TEST`.
	Split *string `pulumi:"split"`
}

type EntityRecognizerInputDataConfigAugmentedManifestArgs

type EntityRecognizerInputDataConfigAugmentedManifestArgs struct {
	// Location of annotation files.
	AnnotationDataS3Uri pulumi.StringPtrInput `pulumi:"annotationDataS3Uri"`
	// The JSON attribute that contains the annotations for the training documents.
	AttributeNames pulumi.StringArrayInput `pulumi:"attributeNames"`
	// Type of augmented manifest.
	// One of `PLAIN_TEXT_DOCUMENT` or `SEMI_STRUCTURED_DOCUMENT`.
	DocumentType pulumi.StringPtrInput `pulumi:"documentType"`
	// Location of augmented manifest file.
	S3Uri pulumi.StringInput `pulumi:"s3Uri"`
	// Location of source PDF files.
	SourceDocumentsS3Uri pulumi.StringPtrInput `pulumi:"sourceDocumentsS3Uri"`
	// Purpose of data in augmented manifest.
	// One of `TRAIN` or `TEST`.
	Split pulumi.StringPtrInput `pulumi:"split"`
}

func (EntityRecognizerInputDataConfigAugmentedManifestArgs) ElementType

func (EntityRecognizerInputDataConfigAugmentedManifestArgs) ToEntityRecognizerInputDataConfigAugmentedManifestOutput

func (i EntityRecognizerInputDataConfigAugmentedManifestArgs) ToEntityRecognizerInputDataConfigAugmentedManifestOutput() EntityRecognizerInputDataConfigAugmentedManifestOutput

func (EntityRecognizerInputDataConfigAugmentedManifestArgs) ToEntityRecognizerInputDataConfigAugmentedManifestOutputWithContext

func (i EntityRecognizerInputDataConfigAugmentedManifestArgs) ToEntityRecognizerInputDataConfigAugmentedManifestOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigAugmentedManifestOutput

type EntityRecognizerInputDataConfigAugmentedManifestArray

type EntityRecognizerInputDataConfigAugmentedManifestArray []EntityRecognizerInputDataConfigAugmentedManifestInput

func (EntityRecognizerInputDataConfigAugmentedManifestArray) ElementType

func (EntityRecognizerInputDataConfigAugmentedManifestArray) ToEntityRecognizerInputDataConfigAugmentedManifestArrayOutput

func (i EntityRecognizerInputDataConfigAugmentedManifestArray) ToEntityRecognizerInputDataConfigAugmentedManifestArrayOutput() EntityRecognizerInputDataConfigAugmentedManifestArrayOutput

func (EntityRecognizerInputDataConfigAugmentedManifestArray) ToEntityRecognizerInputDataConfigAugmentedManifestArrayOutputWithContext

func (i EntityRecognizerInputDataConfigAugmentedManifestArray) ToEntityRecognizerInputDataConfigAugmentedManifestArrayOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigAugmentedManifestArrayOutput

type EntityRecognizerInputDataConfigAugmentedManifestArrayInput

type EntityRecognizerInputDataConfigAugmentedManifestArrayInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigAugmentedManifestArrayOutput() EntityRecognizerInputDataConfigAugmentedManifestArrayOutput
	ToEntityRecognizerInputDataConfigAugmentedManifestArrayOutputWithContext(context.Context) EntityRecognizerInputDataConfigAugmentedManifestArrayOutput
}

EntityRecognizerInputDataConfigAugmentedManifestArrayInput is an input type that accepts EntityRecognizerInputDataConfigAugmentedManifestArray and EntityRecognizerInputDataConfigAugmentedManifestArrayOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigAugmentedManifestArrayInput` via:

EntityRecognizerInputDataConfigAugmentedManifestArray{ EntityRecognizerInputDataConfigAugmentedManifestArgs{...} }

type EntityRecognizerInputDataConfigAugmentedManifestArrayOutput

type EntityRecognizerInputDataConfigAugmentedManifestArrayOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigAugmentedManifestArrayOutput) ElementType

func (EntityRecognizerInputDataConfigAugmentedManifestArrayOutput) Index

func (EntityRecognizerInputDataConfigAugmentedManifestArrayOutput) ToEntityRecognizerInputDataConfigAugmentedManifestArrayOutput

func (EntityRecognizerInputDataConfigAugmentedManifestArrayOutput) ToEntityRecognizerInputDataConfigAugmentedManifestArrayOutputWithContext

func (o EntityRecognizerInputDataConfigAugmentedManifestArrayOutput) ToEntityRecognizerInputDataConfigAugmentedManifestArrayOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigAugmentedManifestArrayOutput

type EntityRecognizerInputDataConfigAugmentedManifestInput

type EntityRecognizerInputDataConfigAugmentedManifestInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigAugmentedManifestOutput() EntityRecognizerInputDataConfigAugmentedManifestOutput
	ToEntityRecognizerInputDataConfigAugmentedManifestOutputWithContext(context.Context) EntityRecognizerInputDataConfigAugmentedManifestOutput
}

EntityRecognizerInputDataConfigAugmentedManifestInput is an input type that accepts EntityRecognizerInputDataConfigAugmentedManifestArgs and EntityRecognizerInputDataConfigAugmentedManifestOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigAugmentedManifestInput` via:

EntityRecognizerInputDataConfigAugmentedManifestArgs{...}

type EntityRecognizerInputDataConfigAugmentedManifestOutput

type EntityRecognizerInputDataConfigAugmentedManifestOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigAugmentedManifestOutput) AnnotationDataS3Uri

Location of annotation files.

func (EntityRecognizerInputDataConfigAugmentedManifestOutput) AttributeNames

The JSON attribute that contains the annotations for the training documents.

func (EntityRecognizerInputDataConfigAugmentedManifestOutput) DocumentType

Type of augmented manifest. One of `PLAIN_TEXT_DOCUMENT` or `SEMI_STRUCTURED_DOCUMENT`.

func (EntityRecognizerInputDataConfigAugmentedManifestOutput) ElementType

func (EntityRecognizerInputDataConfigAugmentedManifestOutput) S3Uri

Location of augmented manifest file.

func (EntityRecognizerInputDataConfigAugmentedManifestOutput) SourceDocumentsS3Uri

Location of source PDF files.

func (EntityRecognizerInputDataConfigAugmentedManifestOutput) Split

Purpose of data in augmented manifest. One of `TRAIN` or `TEST`.

func (EntityRecognizerInputDataConfigAugmentedManifestOutput) ToEntityRecognizerInputDataConfigAugmentedManifestOutput

func (EntityRecognizerInputDataConfigAugmentedManifestOutput) ToEntityRecognizerInputDataConfigAugmentedManifestOutputWithContext

func (o EntityRecognizerInputDataConfigAugmentedManifestOutput) ToEntityRecognizerInputDataConfigAugmentedManifestOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigAugmentedManifestOutput

type EntityRecognizerInputDataConfigDocuments

type EntityRecognizerInputDataConfigDocuments struct {
	// Specifies how the input files should be processed.
	// One of `ONE_DOC_PER_LINE` or `ONE_DOC_PER_FILE`.
	InputFormat *string `pulumi:"inputFormat"`
	// Location of training documents.
	S3Uri     string  `pulumi:"s3Uri"`
	TestS3Uri *string `pulumi:"testS3Uri"`
}

type EntityRecognizerInputDataConfigDocumentsArgs

type EntityRecognizerInputDataConfigDocumentsArgs struct {
	// Specifies how the input files should be processed.
	// One of `ONE_DOC_PER_LINE` or `ONE_DOC_PER_FILE`.
	InputFormat pulumi.StringPtrInput `pulumi:"inputFormat"`
	// Location of training documents.
	S3Uri     pulumi.StringInput    `pulumi:"s3Uri"`
	TestS3Uri pulumi.StringPtrInput `pulumi:"testS3Uri"`
}

func (EntityRecognizerInputDataConfigDocumentsArgs) ElementType

func (EntityRecognizerInputDataConfigDocumentsArgs) ToEntityRecognizerInputDataConfigDocumentsOutput

func (i EntityRecognizerInputDataConfigDocumentsArgs) ToEntityRecognizerInputDataConfigDocumentsOutput() EntityRecognizerInputDataConfigDocumentsOutput

func (EntityRecognizerInputDataConfigDocumentsArgs) ToEntityRecognizerInputDataConfigDocumentsOutputWithContext

func (i EntityRecognizerInputDataConfigDocumentsArgs) ToEntityRecognizerInputDataConfigDocumentsOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigDocumentsOutput

func (EntityRecognizerInputDataConfigDocumentsArgs) ToEntityRecognizerInputDataConfigDocumentsPtrOutput

func (i EntityRecognizerInputDataConfigDocumentsArgs) ToEntityRecognizerInputDataConfigDocumentsPtrOutput() EntityRecognizerInputDataConfigDocumentsPtrOutput

func (EntityRecognizerInputDataConfigDocumentsArgs) ToEntityRecognizerInputDataConfigDocumentsPtrOutputWithContext

func (i EntityRecognizerInputDataConfigDocumentsArgs) ToEntityRecognizerInputDataConfigDocumentsPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigDocumentsPtrOutput

type EntityRecognizerInputDataConfigDocumentsInput

type EntityRecognizerInputDataConfigDocumentsInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigDocumentsOutput() EntityRecognizerInputDataConfigDocumentsOutput
	ToEntityRecognizerInputDataConfigDocumentsOutputWithContext(context.Context) EntityRecognizerInputDataConfigDocumentsOutput
}

EntityRecognizerInputDataConfigDocumentsInput is an input type that accepts EntityRecognizerInputDataConfigDocumentsArgs and EntityRecognizerInputDataConfigDocumentsOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigDocumentsInput` via:

EntityRecognizerInputDataConfigDocumentsArgs{...}

type EntityRecognizerInputDataConfigDocumentsOutput

type EntityRecognizerInputDataConfigDocumentsOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigDocumentsOutput) ElementType

func (EntityRecognizerInputDataConfigDocumentsOutput) InputFormat

Specifies how the input files should be processed. One of `ONE_DOC_PER_LINE` or `ONE_DOC_PER_FILE`.

func (EntityRecognizerInputDataConfigDocumentsOutput) S3Uri

Location of training documents.

func (EntityRecognizerInputDataConfigDocumentsOutput) TestS3Uri

func (EntityRecognizerInputDataConfigDocumentsOutput) ToEntityRecognizerInputDataConfigDocumentsOutput

func (o EntityRecognizerInputDataConfigDocumentsOutput) ToEntityRecognizerInputDataConfigDocumentsOutput() EntityRecognizerInputDataConfigDocumentsOutput

func (EntityRecognizerInputDataConfigDocumentsOutput) ToEntityRecognizerInputDataConfigDocumentsOutputWithContext

func (o EntityRecognizerInputDataConfigDocumentsOutput) ToEntityRecognizerInputDataConfigDocumentsOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigDocumentsOutput

func (EntityRecognizerInputDataConfigDocumentsOutput) ToEntityRecognizerInputDataConfigDocumentsPtrOutput

func (o EntityRecognizerInputDataConfigDocumentsOutput) ToEntityRecognizerInputDataConfigDocumentsPtrOutput() EntityRecognizerInputDataConfigDocumentsPtrOutput

func (EntityRecognizerInputDataConfigDocumentsOutput) ToEntityRecognizerInputDataConfigDocumentsPtrOutputWithContext

func (o EntityRecognizerInputDataConfigDocumentsOutput) ToEntityRecognizerInputDataConfigDocumentsPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigDocumentsPtrOutput

type EntityRecognizerInputDataConfigDocumentsPtrInput

type EntityRecognizerInputDataConfigDocumentsPtrInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigDocumentsPtrOutput() EntityRecognizerInputDataConfigDocumentsPtrOutput
	ToEntityRecognizerInputDataConfigDocumentsPtrOutputWithContext(context.Context) EntityRecognizerInputDataConfigDocumentsPtrOutput
}

EntityRecognizerInputDataConfigDocumentsPtrInput is an input type that accepts EntityRecognizerInputDataConfigDocumentsArgs, EntityRecognizerInputDataConfigDocumentsPtr and EntityRecognizerInputDataConfigDocumentsPtrOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigDocumentsPtrInput` via:

        EntityRecognizerInputDataConfigDocumentsArgs{...}

or:

        nil

type EntityRecognizerInputDataConfigDocumentsPtrOutput

type EntityRecognizerInputDataConfigDocumentsPtrOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigDocumentsPtrOutput) Elem

func (EntityRecognizerInputDataConfigDocumentsPtrOutput) ElementType

func (EntityRecognizerInputDataConfigDocumentsPtrOutput) InputFormat

Specifies how the input files should be processed. One of `ONE_DOC_PER_LINE` or `ONE_DOC_PER_FILE`.

func (EntityRecognizerInputDataConfigDocumentsPtrOutput) S3Uri

Location of training documents.

func (EntityRecognizerInputDataConfigDocumentsPtrOutput) TestS3Uri

func (EntityRecognizerInputDataConfigDocumentsPtrOutput) ToEntityRecognizerInputDataConfigDocumentsPtrOutput

func (o EntityRecognizerInputDataConfigDocumentsPtrOutput) ToEntityRecognizerInputDataConfigDocumentsPtrOutput() EntityRecognizerInputDataConfigDocumentsPtrOutput

func (EntityRecognizerInputDataConfigDocumentsPtrOutput) ToEntityRecognizerInputDataConfigDocumentsPtrOutputWithContext

func (o EntityRecognizerInputDataConfigDocumentsPtrOutput) ToEntityRecognizerInputDataConfigDocumentsPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigDocumentsPtrOutput

type EntityRecognizerInputDataConfigEntityList

type EntityRecognizerInputDataConfigEntityList struct {
	// Location of entity list.
	S3Uri string `pulumi:"s3Uri"`
}

type EntityRecognizerInputDataConfigEntityListArgs

type EntityRecognizerInputDataConfigEntityListArgs struct {
	// Location of entity list.
	S3Uri pulumi.StringInput `pulumi:"s3Uri"`
}

func (EntityRecognizerInputDataConfigEntityListArgs) ElementType

func (EntityRecognizerInputDataConfigEntityListArgs) ToEntityRecognizerInputDataConfigEntityListOutput

func (i EntityRecognizerInputDataConfigEntityListArgs) ToEntityRecognizerInputDataConfigEntityListOutput() EntityRecognizerInputDataConfigEntityListOutput

func (EntityRecognizerInputDataConfigEntityListArgs) ToEntityRecognizerInputDataConfigEntityListOutputWithContext

func (i EntityRecognizerInputDataConfigEntityListArgs) ToEntityRecognizerInputDataConfigEntityListOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigEntityListOutput

func (EntityRecognizerInputDataConfigEntityListArgs) ToEntityRecognizerInputDataConfigEntityListPtrOutput

func (i EntityRecognizerInputDataConfigEntityListArgs) ToEntityRecognizerInputDataConfigEntityListPtrOutput() EntityRecognizerInputDataConfigEntityListPtrOutput

func (EntityRecognizerInputDataConfigEntityListArgs) ToEntityRecognizerInputDataConfigEntityListPtrOutputWithContext

func (i EntityRecognizerInputDataConfigEntityListArgs) ToEntityRecognizerInputDataConfigEntityListPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigEntityListPtrOutput

type EntityRecognizerInputDataConfigEntityListInput

type EntityRecognizerInputDataConfigEntityListInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigEntityListOutput() EntityRecognizerInputDataConfigEntityListOutput
	ToEntityRecognizerInputDataConfigEntityListOutputWithContext(context.Context) EntityRecognizerInputDataConfigEntityListOutput
}

EntityRecognizerInputDataConfigEntityListInput is an input type that accepts EntityRecognizerInputDataConfigEntityListArgs and EntityRecognizerInputDataConfigEntityListOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigEntityListInput` via:

EntityRecognizerInputDataConfigEntityListArgs{...}

type EntityRecognizerInputDataConfigEntityListOutput

type EntityRecognizerInputDataConfigEntityListOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigEntityListOutput) ElementType

func (EntityRecognizerInputDataConfigEntityListOutput) S3Uri

Location of entity list.

func (EntityRecognizerInputDataConfigEntityListOutput) ToEntityRecognizerInputDataConfigEntityListOutput

func (o EntityRecognizerInputDataConfigEntityListOutput) ToEntityRecognizerInputDataConfigEntityListOutput() EntityRecognizerInputDataConfigEntityListOutput

func (EntityRecognizerInputDataConfigEntityListOutput) ToEntityRecognizerInputDataConfigEntityListOutputWithContext

func (o EntityRecognizerInputDataConfigEntityListOutput) ToEntityRecognizerInputDataConfigEntityListOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigEntityListOutput

func (EntityRecognizerInputDataConfigEntityListOutput) ToEntityRecognizerInputDataConfigEntityListPtrOutput

func (o EntityRecognizerInputDataConfigEntityListOutput) ToEntityRecognizerInputDataConfigEntityListPtrOutput() EntityRecognizerInputDataConfigEntityListPtrOutput

func (EntityRecognizerInputDataConfigEntityListOutput) ToEntityRecognizerInputDataConfigEntityListPtrOutputWithContext

func (o EntityRecognizerInputDataConfigEntityListOutput) ToEntityRecognizerInputDataConfigEntityListPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigEntityListPtrOutput

type EntityRecognizerInputDataConfigEntityListPtrInput

type EntityRecognizerInputDataConfigEntityListPtrInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigEntityListPtrOutput() EntityRecognizerInputDataConfigEntityListPtrOutput
	ToEntityRecognizerInputDataConfigEntityListPtrOutputWithContext(context.Context) EntityRecognizerInputDataConfigEntityListPtrOutput
}

EntityRecognizerInputDataConfigEntityListPtrInput is an input type that accepts EntityRecognizerInputDataConfigEntityListArgs, EntityRecognizerInputDataConfigEntityListPtr and EntityRecognizerInputDataConfigEntityListPtrOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigEntityListPtrInput` via:

        EntityRecognizerInputDataConfigEntityListArgs{...}

or:

        nil

type EntityRecognizerInputDataConfigEntityListPtrOutput

type EntityRecognizerInputDataConfigEntityListPtrOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigEntityListPtrOutput) Elem

func (EntityRecognizerInputDataConfigEntityListPtrOutput) ElementType

func (EntityRecognizerInputDataConfigEntityListPtrOutput) S3Uri

Location of entity list.

func (EntityRecognizerInputDataConfigEntityListPtrOutput) ToEntityRecognizerInputDataConfigEntityListPtrOutput

func (o EntityRecognizerInputDataConfigEntityListPtrOutput) ToEntityRecognizerInputDataConfigEntityListPtrOutput() EntityRecognizerInputDataConfigEntityListPtrOutput

func (EntityRecognizerInputDataConfigEntityListPtrOutput) ToEntityRecognizerInputDataConfigEntityListPtrOutputWithContext

func (o EntityRecognizerInputDataConfigEntityListPtrOutput) ToEntityRecognizerInputDataConfigEntityListPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigEntityListPtrOutput

type EntityRecognizerInputDataConfigEntityType

type EntityRecognizerInputDataConfigEntityType struct {
	// An entity type to be matched by the Entity Recognizer.
	// Cannot contain a newline (`\n`), carriage return (`\r`), or tab (`\t`).
	Type string `pulumi:"type"`
}

type EntityRecognizerInputDataConfigEntityTypeArgs

type EntityRecognizerInputDataConfigEntityTypeArgs struct {
	// An entity type to be matched by the Entity Recognizer.
	// Cannot contain a newline (`\n`), carriage return (`\r`), or tab (`\t`).
	Type pulumi.StringInput `pulumi:"type"`
}

func (EntityRecognizerInputDataConfigEntityTypeArgs) ElementType

func (EntityRecognizerInputDataConfigEntityTypeArgs) ToEntityRecognizerInputDataConfigEntityTypeOutput

func (i EntityRecognizerInputDataConfigEntityTypeArgs) ToEntityRecognizerInputDataConfigEntityTypeOutput() EntityRecognizerInputDataConfigEntityTypeOutput

func (EntityRecognizerInputDataConfigEntityTypeArgs) ToEntityRecognizerInputDataConfigEntityTypeOutputWithContext

func (i EntityRecognizerInputDataConfigEntityTypeArgs) ToEntityRecognizerInputDataConfigEntityTypeOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigEntityTypeOutput

type EntityRecognizerInputDataConfigEntityTypeArray

type EntityRecognizerInputDataConfigEntityTypeArray []EntityRecognizerInputDataConfigEntityTypeInput

func (EntityRecognizerInputDataConfigEntityTypeArray) ElementType

func (EntityRecognizerInputDataConfigEntityTypeArray) ToEntityRecognizerInputDataConfigEntityTypeArrayOutput

func (i EntityRecognizerInputDataConfigEntityTypeArray) ToEntityRecognizerInputDataConfigEntityTypeArrayOutput() EntityRecognizerInputDataConfigEntityTypeArrayOutput

func (EntityRecognizerInputDataConfigEntityTypeArray) ToEntityRecognizerInputDataConfigEntityTypeArrayOutputWithContext

func (i EntityRecognizerInputDataConfigEntityTypeArray) ToEntityRecognizerInputDataConfigEntityTypeArrayOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigEntityTypeArrayOutput

type EntityRecognizerInputDataConfigEntityTypeArrayInput

type EntityRecognizerInputDataConfigEntityTypeArrayInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigEntityTypeArrayOutput() EntityRecognizerInputDataConfigEntityTypeArrayOutput
	ToEntityRecognizerInputDataConfigEntityTypeArrayOutputWithContext(context.Context) EntityRecognizerInputDataConfigEntityTypeArrayOutput
}

EntityRecognizerInputDataConfigEntityTypeArrayInput is an input type that accepts EntityRecognizerInputDataConfigEntityTypeArray and EntityRecognizerInputDataConfigEntityTypeArrayOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigEntityTypeArrayInput` via:

EntityRecognizerInputDataConfigEntityTypeArray{ EntityRecognizerInputDataConfigEntityTypeArgs{...} }

type EntityRecognizerInputDataConfigEntityTypeArrayOutput

type EntityRecognizerInputDataConfigEntityTypeArrayOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigEntityTypeArrayOutput) ElementType

func (EntityRecognizerInputDataConfigEntityTypeArrayOutput) Index

func (EntityRecognizerInputDataConfigEntityTypeArrayOutput) ToEntityRecognizerInputDataConfigEntityTypeArrayOutput

func (EntityRecognizerInputDataConfigEntityTypeArrayOutput) ToEntityRecognizerInputDataConfigEntityTypeArrayOutputWithContext

func (o EntityRecognizerInputDataConfigEntityTypeArrayOutput) ToEntityRecognizerInputDataConfigEntityTypeArrayOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigEntityTypeArrayOutput

type EntityRecognizerInputDataConfigEntityTypeInput

type EntityRecognizerInputDataConfigEntityTypeInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigEntityTypeOutput() EntityRecognizerInputDataConfigEntityTypeOutput
	ToEntityRecognizerInputDataConfigEntityTypeOutputWithContext(context.Context) EntityRecognizerInputDataConfigEntityTypeOutput
}

EntityRecognizerInputDataConfigEntityTypeInput is an input type that accepts EntityRecognizerInputDataConfigEntityTypeArgs and EntityRecognizerInputDataConfigEntityTypeOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigEntityTypeInput` via:

EntityRecognizerInputDataConfigEntityTypeArgs{...}

type EntityRecognizerInputDataConfigEntityTypeOutput

type EntityRecognizerInputDataConfigEntityTypeOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigEntityTypeOutput) ElementType

func (EntityRecognizerInputDataConfigEntityTypeOutput) ToEntityRecognizerInputDataConfigEntityTypeOutput

func (o EntityRecognizerInputDataConfigEntityTypeOutput) ToEntityRecognizerInputDataConfigEntityTypeOutput() EntityRecognizerInputDataConfigEntityTypeOutput

func (EntityRecognizerInputDataConfigEntityTypeOutput) ToEntityRecognizerInputDataConfigEntityTypeOutputWithContext

func (o EntityRecognizerInputDataConfigEntityTypeOutput) ToEntityRecognizerInputDataConfigEntityTypeOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigEntityTypeOutput

func (EntityRecognizerInputDataConfigEntityTypeOutput) Type

An entity type to be matched by the Entity Recognizer. Cannot contain a newline (`\n`), carriage return (`\r`), or tab (`\t`).

type EntityRecognizerInputDataConfigInput

type EntityRecognizerInputDataConfigInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigOutput() EntityRecognizerInputDataConfigOutput
	ToEntityRecognizerInputDataConfigOutputWithContext(context.Context) EntityRecognizerInputDataConfigOutput
}

EntityRecognizerInputDataConfigInput is an input type that accepts EntityRecognizerInputDataConfigArgs and EntityRecognizerInputDataConfigOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigInput` via:

EntityRecognizerInputDataConfigArgs{...}

type EntityRecognizerInputDataConfigOutput

type EntityRecognizerInputDataConfigOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigOutput) Annotations

Specifies location of the document annotation data. See the `annotations` Configuration Block section below. One of `annotations` or `entityList` is required.

func (EntityRecognizerInputDataConfigOutput) AugmentedManifests

List of training datasets produced by Amazon SageMaker Ground Truth. Used if `dataFormat` is `AUGMENTED_MANIFEST`. See the `augmentedManifests` Configuration Block section below.

func (EntityRecognizerInputDataConfigOutput) DataFormat

The format for the training data. One of `COMPREHEND_CSV` or `AUGMENTED_MANIFEST`.

func (EntityRecognizerInputDataConfigOutput) Documents

Specifies a collection of training documents. Used if `dataFormat` is `COMPREHEND_CSV`. See the `documents` Configuration Block section below.

func (EntityRecognizerInputDataConfigOutput) ElementType

func (EntityRecognizerInputDataConfigOutput) EntityList

Specifies location of the entity list data. See the `entityList` Configuration Block section below. One of `entityList` or `annotations` is required.

func (EntityRecognizerInputDataConfigOutput) EntityTypes

Set of entity types to be recognized. Has a maximum of 25 items. See the `entityTypes` Configuration Block section below.

func (EntityRecognizerInputDataConfigOutput) ToEntityRecognizerInputDataConfigOutput

func (o EntityRecognizerInputDataConfigOutput) ToEntityRecognizerInputDataConfigOutput() EntityRecognizerInputDataConfigOutput

func (EntityRecognizerInputDataConfigOutput) ToEntityRecognizerInputDataConfigOutputWithContext

func (o EntityRecognizerInputDataConfigOutput) ToEntityRecognizerInputDataConfigOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigOutput

func (EntityRecognizerInputDataConfigOutput) ToEntityRecognizerInputDataConfigPtrOutput

func (o EntityRecognizerInputDataConfigOutput) ToEntityRecognizerInputDataConfigPtrOutput() EntityRecognizerInputDataConfigPtrOutput

func (EntityRecognizerInputDataConfigOutput) ToEntityRecognizerInputDataConfigPtrOutputWithContext

func (o EntityRecognizerInputDataConfigOutput) ToEntityRecognizerInputDataConfigPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigPtrOutput

type EntityRecognizerInputDataConfigPtrInput

type EntityRecognizerInputDataConfigPtrInput interface {
	pulumi.Input

	ToEntityRecognizerInputDataConfigPtrOutput() EntityRecognizerInputDataConfigPtrOutput
	ToEntityRecognizerInputDataConfigPtrOutputWithContext(context.Context) EntityRecognizerInputDataConfigPtrOutput
}

EntityRecognizerInputDataConfigPtrInput is an input type that accepts EntityRecognizerInputDataConfigArgs, EntityRecognizerInputDataConfigPtr and EntityRecognizerInputDataConfigPtrOutput values. You can construct a concrete instance of `EntityRecognizerInputDataConfigPtrInput` via:

        EntityRecognizerInputDataConfigArgs{...}

or:

        nil

type EntityRecognizerInputDataConfigPtrOutput

type EntityRecognizerInputDataConfigPtrOutput struct{ *pulumi.OutputState }

func (EntityRecognizerInputDataConfigPtrOutput) Annotations

Specifies location of the document annotation data. See the `annotations` Configuration Block section below. One of `annotations` or `entityList` is required.

func (EntityRecognizerInputDataConfigPtrOutput) AugmentedManifests

List of training datasets produced by Amazon SageMaker Ground Truth. Used if `dataFormat` is `AUGMENTED_MANIFEST`. See the `augmentedManifests` Configuration Block section below.

func (EntityRecognizerInputDataConfigPtrOutput) DataFormat

The format for the training data. One of `COMPREHEND_CSV` or `AUGMENTED_MANIFEST`.

func (EntityRecognizerInputDataConfigPtrOutput) Documents

Specifies a collection of training documents. Used if `dataFormat` is `COMPREHEND_CSV`. See the `documents` Configuration Block section below.

func (EntityRecognizerInputDataConfigPtrOutput) Elem

func (EntityRecognizerInputDataConfigPtrOutput) ElementType

func (EntityRecognizerInputDataConfigPtrOutput) EntityList

Specifies location of the entity list data. See the `entityList` Configuration Block section below. One of `entityList` or `annotations` is required.

func (EntityRecognizerInputDataConfigPtrOutput) EntityTypes

Set of entity types to be recognized. Has a maximum of 25 items. See the `entityTypes` Configuration Block section below.

func (EntityRecognizerInputDataConfigPtrOutput) ToEntityRecognizerInputDataConfigPtrOutput

func (o EntityRecognizerInputDataConfigPtrOutput) ToEntityRecognizerInputDataConfigPtrOutput() EntityRecognizerInputDataConfigPtrOutput

func (EntityRecognizerInputDataConfigPtrOutput) ToEntityRecognizerInputDataConfigPtrOutputWithContext

func (o EntityRecognizerInputDataConfigPtrOutput) ToEntityRecognizerInputDataConfigPtrOutputWithContext(ctx context.Context) EntityRecognizerInputDataConfigPtrOutput

type EntityRecognizerMap

type EntityRecognizerMap map[string]EntityRecognizerInput

func (EntityRecognizerMap) ElementType

func (EntityRecognizerMap) ElementType() reflect.Type

func (EntityRecognizerMap) ToEntityRecognizerMapOutput

func (i EntityRecognizerMap) ToEntityRecognizerMapOutput() EntityRecognizerMapOutput

func (EntityRecognizerMap) ToEntityRecognizerMapOutputWithContext

func (i EntityRecognizerMap) ToEntityRecognizerMapOutputWithContext(ctx context.Context) EntityRecognizerMapOutput

type EntityRecognizerMapInput

type EntityRecognizerMapInput interface {
	pulumi.Input

	ToEntityRecognizerMapOutput() EntityRecognizerMapOutput
	ToEntityRecognizerMapOutputWithContext(context.Context) EntityRecognizerMapOutput
}

EntityRecognizerMapInput is an input type that accepts EntityRecognizerMap and EntityRecognizerMapOutput values. You can construct a concrete instance of `EntityRecognizerMapInput` via:

EntityRecognizerMap{ "key": EntityRecognizerArgs{...} }

type EntityRecognizerMapOutput

type EntityRecognizerMapOutput struct{ *pulumi.OutputState }

func (EntityRecognizerMapOutput) ElementType

func (EntityRecognizerMapOutput) ElementType() reflect.Type

func (EntityRecognizerMapOutput) MapIndex

func (EntityRecognizerMapOutput) ToEntityRecognizerMapOutput

func (o EntityRecognizerMapOutput) ToEntityRecognizerMapOutput() EntityRecognizerMapOutput

func (EntityRecognizerMapOutput) ToEntityRecognizerMapOutputWithContext

func (o EntityRecognizerMapOutput) ToEntityRecognizerMapOutputWithContext(ctx context.Context) EntityRecognizerMapOutput

type EntityRecognizerOutput

type EntityRecognizerOutput struct{ *pulumi.OutputState }

func (EntityRecognizerOutput) Arn

ARN of the Entity Recognizer version.

func (EntityRecognizerOutput) DataAccessRoleArn

func (o EntityRecognizerOutput) DataAccessRoleArn() pulumi.StringOutput

The ARN for an IAM Role which allows Comprehend to read the training and testing data.

func (EntityRecognizerOutput) ElementType

func (EntityRecognizerOutput) ElementType() reflect.Type

func (EntityRecognizerOutput) InputDataConfig

Configuration for the training and testing data. See the `inputDataConfig` Configuration Block section below.

func (EntityRecognizerOutput) LanguageCode

func (o EntityRecognizerOutput) LanguageCode() pulumi.StringOutput

Two-letter language code for the language. One of `en`, `es`, `fr`, `it`, `de`, or `pt`.

func (EntityRecognizerOutput) ModelKmsKeyId

func (o EntityRecognizerOutput) ModelKmsKeyId() pulumi.StringPtrOutput

The ID or ARN of a KMS Key used to encrypt trained Entity Recognizers.

func (EntityRecognizerOutput) Name

Name for the Entity Recognizer. Has a maximum length of 63 characters. Can contain upper- and lower-case letters, numbers, and hypen (`-`).

The following arguments are optional:

func (EntityRecognizerOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.

func (EntityRecognizerOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (EntityRecognizerOutput) ToEntityRecognizerOutput

func (o EntityRecognizerOutput) ToEntityRecognizerOutput() EntityRecognizerOutput

func (EntityRecognizerOutput) ToEntityRecognizerOutputWithContext

func (o EntityRecognizerOutput) ToEntityRecognizerOutputWithContext(ctx context.Context) EntityRecognizerOutput

func (EntityRecognizerOutput) VersionName

func (o EntityRecognizerOutput) VersionName() pulumi.StringOutput

Name for the version of the Entity Recognizer. Each version must have a unique name within the Entity Recognizer. If omitted, the provider will assign a random, unique version name. If explicitly set to `""`, no version name will be set. Has a maximum length of 63 characters. Can contain upper- and lower-case letters, numbers, and hypen (`-`). Conflicts with `versionNamePrefix`.

func (EntityRecognizerOutput) VersionNamePrefix

func (o EntityRecognizerOutput) VersionNamePrefix() pulumi.StringOutput

Creates a unique version name beginning with the specified prefix. Has a maximum length of 37 characters. Can contain upper- and lower-case letters, numbers, and hypen (`-`). Conflicts with `versionName`.

func (EntityRecognizerOutput) VolumeKmsKeyId

func (o EntityRecognizerOutput) VolumeKmsKeyId() pulumi.StringPtrOutput

ID or ARN of a KMS Key used to encrypt storage volumes during job processing.

func (EntityRecognizerOutput) VpcConfig

Configuration parameters for VPC to contain Entity Recognizer resources. See the `vpcConfig` Configuration Block section below.

type EntityRecognizerState

type EntityRecognizerState struct {
	// ARN of the Entity Recognizer version.
	Arn pulumi.StringPtrInput
	// The ARN for an IAM Role which allows Comprehend to read the training and testing data.
	DataAccessRoleArn pulumi.StringPtrInput
	// Configuration for the training and testing data.
	// See the `inputDataConfig` Configuration Block section below.
	InputDataConfig EntityRecognizerInputDataConfigPtrInput
	// Two-letter language code for the language.
	// One of `en`, `es`, `fr`, `it`, `de`, or `pt`.
	LanguageCode pulumi.StringPtrInput
	// The ID or ARN of a KMS Key used to encrypt trained Entity Recognizers.
	ModelKmsKeyId pulumi.StringPtrInput
	// Name for the Entity Recognizer.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` Configuration Block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// Name for the version of the Entity Recognizer.
	// Each version must have a unique name within the Entity Recognizer.
	// If omitted, the provider will assign a random, unique version name.
	// If explicitly set to `""`, no version name will be set.
	// Has a maximum length of 63 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionNamePrefix`.
	VersionName pulumi.StringPtrInput
	// Creates a unique version name beginning with the specified prefix.
	// Has a maximum length of 37 characters.
	// Can contain upper- and lower-case letters, numbers, and hypen (`-`).
	// Conflicts with `versionName`.
	VersionNamePrefix pulumi.StringPtrInput
	// ID or ARN of a KMS Key used to encrypt storage volumes during job processing.
	VolumeKmsKeyId pulumi.StringPtrInput
	// Configuration parameters for VPC to contain Entity Recognizer resources.
	// See the `vpcConfig` Configuration Block section below.
	VpcConfig EntityRecognizerVpcConfigPtrInput
}

func (EntityRecognizerState) ElementType

func (EntityRecognizerState) ElementType() reflect.Type

type EntityRecognizerVpcConfig

type EntityRecognizerVpcConfig struct {
	// List of security group IDs.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// List of VPC subnets.
	Subnets []string `pulumi:"subnets"`
}

type EntityRecognizerVpcConfigArgs

type EntityRecognizerVpcConfigArgs struct {
	// List of security group IDs.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// List of VPC subnets.
	Subnets pulumi.StringArrayInput `pulumi:"subnets"`
}

func (EntityRecognizerVpcConfigArgs) ElementType

func (EntityRecognizerVpcConfigArgs) ToEntityRecognizerVpcConfigOutput

func (i EntityRecognizerVpcConfigArgs) ToEntityRecognizerVpcConfigOutput() EntityRecognizerVpcConfigOutput

func (EntityRecognizerVpcConfigArgs) ToEntityRecognizerVpcConfigOutputWithContext

func (i EntityRecognizerVpcConfigArgs) ToEntityRecognizerVpcConfigOutputWithContext(ctx context.Context) EntityRecognizerVpcConfigOutput

func (EntityRecognizerVpcConfigArgs) ToEntityRecognizerVpcConfigPtrOutput

func (i EntityRecognizerVpcConfigArgs) ToEntityRecognizerVpcConfigPtrOutput() EntityRecognizerVpcConfigPtrOutput

func (EntityRecognizerVpcConfigArgs) ToEntityRecognizerVpcConfigPtrOutputWithContext

func (i EntityRecognizerVpcConfigArgs) ToEntityRecognizerVpcConfigPtrOutputWithContext(ctx context.Context) EntityRecognizerVpcConfigPtrOutput

type EntityRecognizerVpcConfigInput

type EntityRecognizerVpcConfigInput interface {
	pulumi.Input

	ToEntityRecognizerVpcConfigOutput() EntityRecognizerVpcConfigOutput
	ToEntityRecognizerVpcConfigOutputWithContext(context.Context) EntityRecognizerVpcConfigOutput
}

EntityRecognizerVpcConfigInput is an input type that accepts EntityRecognizerVpcConfigArgs and EntityRecognizerVpcConfigOutput values. You can construct a concrete instance of `EntityRecognizerVpcConfigInput` via:

EntityRecognizerVpcConfigArgs{...}

type EntityRecognizerVpcConfigOutput

type EntityRecognizerVpcConfigOutput struct{ *pulumi.OutputState }

func (EntityRecognizerVpcConfigOutput) ElementType

func (EntityRecognizerVpcConfigOutput) SecurityGroupIds

List of security group IDs.

func (EntityRecognizerVpcConfigOutput) Subnets

List of VPC subnets.

func (EntityRecognizerVpcConfigOutput) ToEntityRecognizerVpcConfigOutput

func (o EntityRecognizerVpcConfigOutput) ToEntityRecognizerVpcConfigOutput() EntityRecognizerVpcConfigOutput

func (EntityRecognizerVpcConfigOutput) ToEntityRecognizerVpcConfigOutputWithContext

func (o EntityRecognizerVpcConfigOutput) ToEntityRecognizerVpcConfigOutputWithContext(ctx context.Context) EntityRecognizerVpcConfigOutput

func (EntityRecognizerVpcConfigOutput) ToEntityRecognizerVpcConfigPtrOutput

func (o EntityRecognizerVpcConfigOutput) ToEntityRecognizerVpcConfigPtrOutput() EntityRecognizerVpcConfigPtrOutput

func (EntityRecognizerVpcConfigOutput) ToEntityRecognizerVpcConfigPtrOutputWithContext

func (o EntityRecognizerVpcConfigOutput) ToEntityRecognizerVpcConfigPtrOutputWithContext(ctx context.Context) EntityRecognizerVpcConfigPtrOutput

type EntityRecognizerVpcConfigPtrInput

type EntityRecognizerVpcConfigPtrInput interface {
	pulumi.Input

	ToEntityRecognizerVpcConfigPtrOutput() EntityRecognizerVpcConfigPtrOutput
	ToEntityRecognizerVpcConfigPtrOutputWithContext(context.Context) EntityRecognizerVpcConfigPtrOutput
}

EntityRecognizerVpcConfigPtrInput is an input type that accepts EntityRecognizerVpcConfigArgs, EntityRecognizerVpcConfigPtr and EntityRecognizerVpcConfigPtrOutput values. You can construct a concrete instance of `EntityRecognizerVpcConfigPtrInput` via:

        EntityRecognizerVpcConfigArgs{...}

or:

        nil

type EntityRecognizerVpcConfigPtrOutput

type EntityRecognizerVpcConfigPtrOutput struct{ *pulumi.OutputState }

func (EntityRecognizerVpcConfigPtrOutput) Elem

func (EntityRecognizerVpcConfigPtrOutput) ElementType

func (EntityRecognizerVpcConfigPtrOutput) SecurityGroupIds

List of security group IDs.

func (EntityRecognizerVpcConfigPtrOutput) Subnets

List of VPC subnets.

func (EntityRecognizerVpcConfigPtrOutput) ToEntityRecognizerVpcConfigPtrOutput

func (o EntityRecognizerVpcConfigPtrOutput) ToEntityRecognizerVpcConfigPtrOutput() EntityRecognizerVpcConfigPtrOutput

func (EntityRecognizerVpcConfigPtrOutput) ToEntityRecognizerVpcConfigPtrOutputWithContext

func (o EntityRecognizerVpcConfigPtrOutput) ToEntityRecognizerVpcConfigPtrOutputWithContext(ctx context.Context) EntityRecognizerVpcConfigPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL