Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data DatasetSource Source #
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.
See: newDatasetSource
smart constructor.
DatasetSource' | |
|
Instances
newDatasetSource :: DatasetSource Source #
Create a value of DatasetSource
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:datasetArn:DatasetSource'
, datasetSource_datasetArn
- The ARN of an Amazon Rekognition Custom Labels dataset that you want to
copy.
$sel:groundTruthManifest:DatasetSource'
, datasetSource_groundTruthManifest
- Undocumented member.
datasetSource_datasetArn :: Lens' DatasetSource (Maybe Text) Source #
The ARN of an Amazon Rekognition Custom Labels dataset that you want to copy.
datasetSource_groundTruthManifest :: Lens' DatasetSource (Maybe GroundTruthManifest) Source #
Undocumented member.