| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSMIncidents.Types.Condition
Description
Synopsis
Documentation
A conditional statement with which to compare a value, after a
timestamp, before a timestamp, or equal to a string or integer. If
multiple conditions are specified, the conditionals become an ANDed
statement. If multiple values are specified for a conditional, the
values are ORd.
See: newCondition smart constructor.
Constructors
| Condition' | |
Instances
| ToJSON Condition Source # | |
Defined in Amazonka.SSMIncidents.Types.Condition | |
| Generic Condition Source # | |
| Read Condition Source # | |
| Show Condition Source # | |
| NFData Condition Source # | |
Defined in Amazonka.SSMIncidents.Types.Condition | |
| Eq Condition Source # | |
| Hashable Condition Source # | |
Defined in Amazonka.SSMIncidents.Types.Condition | |
| type Rep Condition Source # | |
Defined in Amazonka.SSMIncidents.Types.Condition type Rep Condition = D1 ('MetaData "Condition" "Amazonka.SSMIncidents.Types.Condition" "amazonka-ssm-incidents-2.0-JEcCJ5TIs2l5vrFa2RYlgd" 'False) (C1 ('MetaCons "Condition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "after") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "before") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "equals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttributeValueList))))) | |
newCondition :: Condition Source #
Create a value of Condition 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:after:Condition', condition_after - After the specified timestamp.
$sel:before:Condition', condition_before - Before the specified timestamp
$sel:equals:Condition', condition_equals - The value is equal to the provided string or integer.
condition_equals :: Lens' Condition (Maybe AttributeValueList) Source #
The value is equal to the provided string or integer.