amazonka-mechanicalturk-2.0: Amazon Mechanical Turk 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.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
FromJSON PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

ToJSON 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 #

Read PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Show PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

NFData PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Methods

rnf :: PolicyParameter -> () #

Eq PolicyParameter Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.PolicyParameter

Hashable 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" "amazonka-mechanicalturk-2.0-7Thix2UjvlJINPIH68shk3" 'False) (C1 ('MetaCons "PolicyParameter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mapEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ParameterMapEntry])) :*: S1 ('MetaSel ('Just "values") '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:

PolicyParameter, policyParameter_key - Name of the parameter from the list of Review Polices.

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

PolicyParameter, policyParameter_values - The list of values of the Parameter

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

Name of the parameter from the list of Review Polices.

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

The list of values of the Parameter