amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.Types.DatasetSource

Description

 
Synopsis

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.

Constructors

DatasetSource' 

Fields

Instances

Instances details
ToJSON DatasetSource Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetSource

Generic DatasetSource Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetSource

Associated Types

type Rep DatasetSource :: Type -> Type #

Read DatasetSource Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetSource

Show DatasetSource Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetSource

NFData DatasetSource Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetSource

Methods

rnf :: DatasetSource -> () #

Eq DatasetSource Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetSource

Hashable DatasetSource Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetSource

type Rep DatasetSource Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetSource

type Rep DatasetSource = D1 ('MetaData "DatasetSource" "Amazonka.Rekognition.Types.DatasetSource" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "DatasetSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "datasetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groundTruthManifest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroundTruthManifest))))

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.