comprehenddocumentclassifier

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AugmentedManifests

type AugmentedManifests struct {
	// AnnotationDataS3Uri: string, optional
	AnnotationDataS3Uri terra.StringValue `hcl:"annotation_data_s3_uri,attr"`
	// AttributeNames: list of string, required
	AttributeNames terra.ListValue[terra.StringValue] `hcl:"attribute_names,attr" validate:"required"`
	// DocumentType: string, optional
	DocumentType terra.StringValue `hcl:"document_type,attr"`
	// S3Uri: string, required
	S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"`
	// SourceDocumentsS3Uri: string, optional
	SourceDocumentsS3Uri terra.StringValue `hcl:"source_documents_s3_uri,attr"`
	// Split: string, optional
	Split terra.StringValue `hcl:"split,attr"`
}

type AugmentedManifestsAttributes

type AugmentedManifestsAttributes struct {
	// contains filtered or unexported fields
}

func (AugmentedManifestsAttributes) AnnotationDataS3Uri

func (am AugmentedManifestsAttributes) AnnotationDataS3Uri() terra.StringValue

func (AugmentedManifestsAttributes) AttributeNames

func (AugmentedManifestsAttributes) DocumentType

func (AugmentedManifestsAttributes) InternalRef

func (am AugmentedManifestsAttributes) InternalRef() (terra.Reference, error)

func (AugmentedManifestsAttributes) InternalTokens

func (am AugmentedManifestsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AugmentedManifestsAttributes) InternalWithRef

func (AugmentedManifestsAttributes) S3Uri

func (AugmentedManifestsAttributes) SourceDocumentsS3Uri

func (am AugmentedManifestsAttributes) SourceDocumentsS3Uri() terra.StringValue

func (AugmentedManifestsAttributes) Split

type AugmentedManifestsState

type AugmentedManifestsState struct {
	AnnotationDataS3Uri  string   `json:"annotation_data_s3_uri"`
	AttributeNames       []string `json:"attribute_names"`
	DocumentType         string   `json:"document_type"`
	S3Uri                string   `json:"s3_uri"`
	SourceDocumentsS3Uri string   `json:"source_documents_s3_uri"`
	Split                string   `json:"split"`
}

type InputDataConfig

type InputDataConfig struct {
	// DataFormat: string, optional
	DataFormat terra.StringValue `hcl:"data_format,attr"`
	// LabelDelimiter: string, optional
	LabelDelimiter terra.StringValue `hcl:"label_delimiter,attr"`
	// S3Uri: string, optional
	S3Uri terra.StringValue `hcl:"s3_uri,attr"`
	// TestS3Uri: string, optional
	TestS3Uri terra.StringValue `hcl:"test_s3_uri,attr"`
	// AugmentedManifests: min=0
	AugmentedManifests []AugmentedManifests `hcl:"augmented_manifests,block" validate:"min=0"`
}

type InputDataConfigAttributes

type InputDataConfigAttributes struct {
	// contains filtered or unexported fields
}

func (InputDataConfigAttributes) AugmentedManifests

func (InputDataConfigAttributes) DataFormat

func (idc InputDataConfigAttributes) DataFormat() terra.StringValue

func (InputDataConfigAttributes) InternalRef

func (idc InputDataConfigAttributes) InternalRef() (terra.Reference, error)

func (InputDataConfigAttributes) InternalTokens

func (idc InputDataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InputDataConfigAttributes) InternalWithRef

func (InputDataConfigAttributes) LabelDelimiter

func (idc InputDataConfigAttributes) LabelDelimiter() terra.StringValue

func (InputDataConfigAttributes) S3Uri

func (InputDataConfigAttributes) TestS3Uri

type InputDataConfigState

type InputDataConfigState struct {
	DataFormat         string                    `json:"data_format"`
	LabelDelimiter     string                    `json:"label_delimiter"`
	S3Uri              string                    `json:"s3_uri"`
	TestS3Uri          string                    `json:"test_s3_uri"`
	AugmentedManifests []AugmentedManifestsState `json:"augmented_manifests"`
}

type OutputDataConfig

type OutputDataConfig struct {
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// S3Uri: string, required
	S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"`
}

type OutputDataConfigAttributes

type OutputDataConfigAttributes struct {
	// contains filtered or unexported fields
}

func (OutputDataConfigAttributes) InternalRef

func (odc OutputDataConfigAttributes) InternalRef() (terra.Reference, error)

func (OutputDataConfigAttributes) InternalTokens

func (odc OutputDataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OutputDataConfigAttributes) InternalWithRef

func (OutputDataConfigAttributes) KmsKeyId

func (OutputDataConfigAttributes) OutputS3Uri

func (odc OutputDataConfigAttributes) OutputS3Uri() terra.StringValue

func (OutputDataConfigAttributes) S3Uri

type OutputDataConfigState

type OutputDataConfigState struct {
	KmsKeyId    string `json:"kms_key_id"`
	OutputS3Uri string `json:"output_s3_uri"`
	S3Uri       string `json:"s3_uri"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type VpcConfig

type VpcConfig struct {
	// SecurityGroupIds: set of string, required
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"`
	// Subnets: set of string, required
	Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"`
}

type VpcConfigAttributes

type VpcConfigAttributes struct {
	// contains filtered or unexported fields
}

func (VpcConfigAttributes) InternalRef

func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error)

func (VpcConfigAttributes) InternalTokens

func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcConfigAttributes) InternalWithRef

func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes

func (VpcConfigAttributes) SecurityGroupIds

func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (VpcConfigAttributes) Subnets

type VpcConfigState

type VpcConfigState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	Subnets          []string `json:"subnets"`
}

Jump to

Keyboard shortcuts

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