-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDocumentClassifier_AugmentedManifestsListItemProperty.go
51 lines (48 loc) · 2.84 KB
/
CfnDocumentClassifier_AugmentedManifestsListItemProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package awscomprehend
// An augmented manifest file that provides training data for your custom model.
//
// An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// augmentedManifestsListItemProperty := &AugmentedManifestsListItemProperty{
// AttributeNames: []*string{
// jsii.String("attributeNames"),
// },
// S3Uri: jsii.String("s3Uri"),
//
// // the properties below are optional
// Split: jsii.String("split"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-comprehend-documentclassifier-augmentedmanifestslistitem.html
//
type CfnDocumentClassifier_AugmentedManifestsListItemProperty struct {
// The JSON attribute that contains the annotations for your training documents.
//
// The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.
//
// If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.
//
// If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-comprehend-documentclassifier-augmentedmanifestslistitem.html#cfn-comprehend-documentclassifier-augmentedmanifestslistitem-attributenames
//
AttributeNames *[]*string `field:"required" json:"attributeNames" yaml:"attributeNames"`
// The Amazon S3 location of the augmented manifest file.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-comprehend-documentclassifier-augmentedmanifestslistitem.html#cfn-comprehend-documentclassifier-augmentedmanifestslistitem-s3uri
//
S3Uri *string `field:"required" json:"s3Uri" yaml:"s3Uri"`
// The purpose of the data you've provided in the augmented manifest.
//
// You can either train or test this data. If you don't specify, the default is train.
//
// TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing.
//
// TEST - all of the documents in the manifest will be used for testing.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-comprehend-documentclassifier-augmentedmanifestslistitem.html#cfn-comprehend-documentclassifier-augmentedmanifestslistitem-split
//
Split *string `field:"optional" json:"split" yaml:"split"`
}