libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MechanicalTurk.Types.ParameterMapEntry

Description

 
Synopsis

Documentation

data ParameterMapEntry Source #

This data structure is the data type for the AnswerKey parameter of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

See: newParameterMapEntry smart constructor.

Constructors

ParameterMapEntry' 

Fields

  • values :: Maybe [Text]

    The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.

  • key :: Maybe Text

    The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

Instances

Instances details
Eq ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

Read ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

Show ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

Generic ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

Associated Types

type Rep ParameterMapEntry :: Type -> Type #

NFData ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

Methods

rnf :: ParameterMapEntry -> () #

Hashable ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

ToJSON ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

FromJSON ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

type Rep ParameterMapEntry Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ParameterMapEntry

type Rep ParameterMapEntry = D1 ('MetaData "ParameterMapEntry" "Amazonka.MechanicalTurk.Types.ParameterMapEntry" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "ParameterMapEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newParameterMapEntry :: ParameterMapEntry Source #

Create a value of ParameterMapEntry 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:values:ParameterMapEntry', parameterMapEntry_values - The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.

$sel:key:ParameterMapEntry', parameterMapEntry_key - The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.

parameterMapEntry_values :: Lens' ParameterMapEntry (Maybe [Text]) Source #

The list of answers to the question specified in the MapEntry Key element. The Worker must match all values in order for the answer to be scored correctly.

parameterMapEntry_key :: Lens' ParameterMapEntry (Maybe Text) Source #

The QuestionID from the HIT that is used to identify which question requires Mechanical Turk to score as part of the ScoreMyKnownAnswers/2011-09-01 Review Policy.