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

Description

 
Synopsis

Documentation

data PolicyParameter Source #

Name of the parameter from the Review policy.

See: newPolicyParameter smart constructor.

Constructors

PolicyParameter' 

Fields

Instances

Instances details
Eq PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Read PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Show PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Generic PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Associated Types

type Rep PolicyParameter :: Type -> Type #

NFData PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Methods

rnf :: PolicyParameter -> () #

Hashable PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

ToJSON PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

FromJSON PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

type Rep PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

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

newPolicyParameter :: PolicyParameter Source #

Create a value of PolicyParameter 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:PolicyParameter', policyParameter_values - The list of values of the Parameter

$sel:mapEntries:PolicyParameter', policyParameter_mapEntries - List of ParameterMapEntry objects.

$sel:key:PolicyParameter', policyParameter_key - Name of the parameter from the list of Review Polices.

policyParameter_values :: Lens' PolicyParameter (Maybe [Text]) Source #

The list of values of the Parameter

policyParameter_key :: Lens' PolicyParameter (Maybe Text) Source #

Name of the parameter from the list of Review Polices.