libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.Types.Predicate

Description

 
Synopsis

Documentation

data Predicate Source #

Defines the predicate of the trigger, which determines when it fires.

See: newPredicate smart constructor.

Constructors

Predicate' 

Fields

  • logical :: Maybe Logical

    An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.

  • conditions :: Maybe [Condition]

    A list of the conditions that determine when the trigger will fire.

Instances

Instances details
Eq Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

Read Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

Show Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

Generic Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

Associated Types

type Rep Predicate :: Type -> Type #

NFData Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

Methods

rnf :: Predicate -> () #

Hashable Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

ToJSON Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

FromJSON Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

type Rep Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

type Rep Predicate = D1 ('MetaData "Predicate" "Amazonka.Glue.Types.Predicate" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "Predicate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logical") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Logical)) :*: S1 ('MetaSel ('Just "conditions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Condition]))))

newPredicate :: Predicate Source #

Create a value of Predicate 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:logical:Predicate', predicate_logical - An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.

$sel:conditions:Predicate', predicate_conditions - A list of the conditions that determine when the trigger will fire.

predicate_logical :: Lens' Predicate (Maybe Logical) Source #

An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.

predicate_conditions :: Lens' Predicate (Maybe [Condition]) Source #

A list of the conditions that determine when the trigger will fire.