amazonka-glue-2.0: Amazon Glue 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.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

  • conditions :: Maybe [Condition]

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

  • logical :: Maybe Logical

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

Instances

Instances details
FromJSON Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

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

Read Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

Show Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

NFData Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

Methods

rnf :: Predicate -> () #

Eq Predicate Source # 
Instance details

Defined in Amazonka.Glue.Types.Predicate

Hashable 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" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "Predicate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "conditions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Condition])) :*: S1 ('MetaSel ('Just "logical") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Logical))))

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:conditions:Predicate', predicate_conditions - A list of the conditions that determine when the trigger will fire.

$sel:logical:Predicate', predicate_logical - 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.

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.