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

Description

 
Synopsis

Documentation

data ReviewPolicy Source #

HIT Review Policy data structures represent HIT review policies, which you specify when you create a HIT.

See: newReviewPolicy smart constructor.

Constructors

ReviewPolicy' 

Fields

Instances

Instances details
Eq ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

Read ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

Show ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

Generic ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

Associated Types

type Rep ReviewPolicy :: Type -> Type #

NFData ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

Methods

rnf :: ReviewPolicy -> () #

Hashable ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

ToJSON ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

FromJSON ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

type Rep ReviewPolicy Source # 
Instance details

Defined in Amazonka.MechanicalTurk.Types.ReviewPolicy

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

newReviewPolicy Source #

Create a value of ReviewPolicy 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:parameters:ReviewPolicy', reviewPolicy_parameters - Name of the parameter from the Review policy.

$sel:policyName:ReviewPolicy', reviewPolicy_policyName - Name of a Review Policy: SimplePlurality/2011-09-01 or ScoreMyKnownAnswers/2011-09-01

reviewPolicy_parameters :: Lens' ReviewPolicy (Maybe [PolicyParameter]) Source #

Name of the parameter from the Review policy.

reviewPolicy_policyName :: Lens' ReviewPolicy Text Source #

Name of a Review Policy: SimplePlurality/2011-09-01 or ScoreMyKnownAnswers/2011-09-01