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.DatasetChanges

Description

 
Synopsis

Documentation

data DatasetChanges Source #

Describes updates or additions to a dataset. A Single update or addition is an entry (JSON Line) that provides information about a single image. To update an existing entry, you match the source-ref field of the update entry with the source-ref filed of the entry that you want to update. If the source-ref field doesn't match an existing entry, the entry is added to dataset as a new entry.

See: newDatasetChanges smart constructor.

Constructors

DatasetChanges' 

Fields

  • groundTruth :: Base64

    A Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset. You change a dataset by calling UpdateDatasetEntries. If you are using an AWS SDK to call UpdateDatasetEntries, you don't need to encode Changes as the SDK encodes the data for you.

    For example JSON lines, see Image-Level labels in manifest files and and Object localization in manifest files in the /Amazon Rekognition Custom Labels Developer Guide/.

Instances

Instances details
ToJSON DatasetChanges Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetChanges

Generic DatasetChanges Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetChanges

Associated Types

type Rep DatasetChanges :: Type -> Type #

Read DatasetChanges Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetChanges

Show DatasetChanges Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetChanges

NFData DatasetChanges Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetChanges

Methods

rnf :: DatasetChanges -> () #

Eq DatasetChanges Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetChanges

Hashable DatasetChanges Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetChanges

type Rep DatasetChanges Source # 
Instance details

Defined in Amazonka.Rekognition.Types.DatasetChanges

type Rep DatasetChanges = D1 ('MetaData "DatasetChanges" "Amazonka.Rekognition.Types.DatasetChanges" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "DatasetChanges'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groundTruth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64)))

newDatasetChanges Source #

Create a value of DatasetChanges 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:groundTruth:DatasetChanges', datasetChanges_groundTruth - A Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset. You change a dataset by calling UpdateDatasetEntries. If you are using an AWS SDK to call UpdateDatasetEntries, you don't need to encode Changes as the SDK encodes the data for you.

For example JSON lines, see Image-Level labels in manifest files and and Object localization in manifest files in the /Amazon Rekognition Custom Labels Developer Guide/.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

datasetChanges_groundTruth :: Lens' DatasetChanges ByteString Source #

A Base64-encoded binary data object containing one or JSON lines that either update the dataset or are additions to the dataset. You change a dataset by calling UpdateDatasetEntries. If you are using an AWS SDK to call UpdateDatasetEntries, you don't need to encode Changes as the SDK encodes the data for you.

For example JSON lines, see Image-Level labels in manifest files and and Object localization in manifest files in the /Amazon Rekognition Custom Labels Developer Guide/.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.