Class: Aws::Rekognition::Types::DatasetSource
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::DatasetSource
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rekognition/types.rb
Overview
The source that Amazon Rekognition Custom Labels uses to create a dataset. To use an Amazon Sagemaker format manifest file, specify the S3 bucket location in the ‘GroundTruthManifest` field. The S3 bucket must be in your AWS account. To create a copy of an existing dataset, specify the Amazon Resource Name (ARN) of an existing dataset in `DatasetArn`.
You need to specify a value for ‘DatasetArn` or `GroundTruthManifest`, but not both. if you supply both values, or if you don’t specify any values, an InvalidParameterException exception occurs.
For more information, see CreateDataset.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#dataset_arn ⇒ String
The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
-
#ground_truth_manifest ⇒ Types::GroundTruthManifest
The S3 bucket that contains an Amazon Sagemaker Ground Truth format manifest file.
Instance Attribute Details
#dataset_arn ⇒ String
The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
1503 1504 1505 1506 1507 1508 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1503 class DatasetSource < Struct.new( :ground_truth_manifest, :dataset_arn) SENSITIVE = [] include Aws::Structure end |
#ground_truth_manifest ⇒ Types::GroundTruthManifest
The S3 bucket that contains an Amazon Sagemaker Ground Truth format manifest file.
1503 1504 1505 1506 1507 1508 |
# File 'lib/aws-sdk-rekognition/types.rb', line 1503 class DatasetSource < Struct.new( :ground_truth_manifest, :dataset_arn) SENSITIVE = [] include Aws::Structure end |