comprehend

package
v5.16.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 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 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 (`-`).
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource. If configured with a provider [`defaultTags` Configuration Block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll     pulumi.StringMapOutput `pulumi:"tagsAll"`
	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"`
}

## Example Usage ### Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/comprehend"
"github.com/pulumi/pulumi-aws/sdk/v5/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{
			DataAccessRoleArn: pulumi.Any(aws_iam_role.Example.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", aws_s3_bucket.Documents.Bucket, id), nil
					}).(pulumi.StringOutput),
				},
				EntityList: &comprehend.EntityRecognizerInputDataConfigEntityListArgs{
					S3Uri: entities.ID().ApplyT(func(id string) (string, error) {
						return fmt.Sprintf("s3://%v/%v", aws_s3_bucket.Entities.Bucket, id), nil
					}).(pulumi.StringOutput),
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			aws_iam_role_policy.Example,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Comprehend Entity Recognizer can be imported using the ARN, e.g.,

```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 (`-`).
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider [`defaultTags` Configuration Block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
	Tags        pulumi.StringMapInput
	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 entity list.
	S3Uri     string  `pulumi:"s3Uri"`
	TestS3Uri *string `pulumi:"testS3Uri"`
}

type EntityRecognizerInputDataConfigAnnotationsArgs

type EntityRecognizerInputDataConfigAnnotationsArgs struct {
	// Location of entity list.
	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 entity list.

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 entity list.

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 entity list.
	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 entity list.
	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 entity list.

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 entity list.
	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 entity list.
	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 entity list.

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 entity list.

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 (`-`).

func (EntityRecognizerOutput) Tags

A map of tags to assign to the resource. If configured with a provider [`defaultTags` Configuration Block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.

func (EntityRecognizerOutput) TagsAll

A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).

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

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 (`-`).
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider [`defaultTags` Configuration Block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-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](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
	TagsAll     pulumi.StringMapInput
	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