Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Predicate = Predicate' {}
- newPredicate :: Predicate
- predicate_logical :: Lens' Predicate (Maybe Logical)
- predicate_conditions :: Lens' Predicate (Maybe [Condition])
Documentation
Defines the predicate of the trigger, which determines when it fires.
See: newPredicate
smart constructor.
Instances
Eq Predicate Source # | |
Read Predicate Source # | |
Show Predicate Source # | |
Generic Predicate Source # | |
NFData Predicate Source # | |
Defined in Amazonka.Glue.Types.Predicate | |
Hashable Predicate Source # | |
Defined in Amazonka.Glue.Types.Predicate | |
ToJSON Predicate Source # | |
Defined in Amazonka.Glue.Types.Predicate | |
FromJSON Predicate Source # | |
type Rep Predicate Source # | |
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.