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

Description

 
Synopsis

Documentation

data HITLayoutParameter Source #

The HITLayoutParameter data structure defines parameter values used with a HITLayout. A HITLayout is a reusable Amazon Mechanical Turk project template used to provide Human Intelligence Task (HIT) question data for CreateHIT.

See: newHITLayoutParameter smart constructor.

Constructors

HITLayoutParameter' 

Fields

  • name :: Text

    The name of the parameter in the HITLayout.

  • value :: Text

    The value substituted for the parameter referenced in the HITLayout.

Instances

Instances details
Eq HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

Read HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

Show HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

Generic HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

Associated Types

type Rep HITLayoutParameter :: Type -> Type #

NFData HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

Methods

rnf :: HITLayoutParameter -> () #

Hashable HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

ToJSON HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

type Rep HITLayoutParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.HITLayoutParameter

type Rep HITLayoutParameter = D1 ('MetaData "HITLayoutParameter" "Amazonka.MechanicalTurk.Types.HITLayoutParameter" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "HITLayoutParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newHITLayoutParameter Source #

Create a value of HITLayoutParameter 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:name:HITLayoutParameter', hITLayoutParameter_name - The name of the parameter in the HITLayout.

$sel:value:HITLayoutParameter', hITLayoutParameter_value - The value substituted for the parameter referenced in the HITLayout.

hITLayoutParameter_name :: Lens' HITLayoutParameter Text Source #

The name of the parameter in the HITLayout.

hITLayoutParameter_value :: Lens' HITLayoutParameter Text Source #

The value substituted for the parameter referenced in the HITLayout.