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
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 AND
ed
statement. If multiple values are specified for a conditional, the
values are OR
d.
See: newCondition
smart constructor.
Instances
Eq Condition Source # | |
Read Condition Source # | |
Show Condition Source # | |
Generic Condition Source # | |
NFData Condition Source # | |
Defined in Amazonka.SSMIncidents.Types.Condition | |
Hashable Condition Source # | |
Defined in Amazonka.SSMIncidents.Types.Condition | |
ToJSON 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" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "Condition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "after") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "equals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttributeValueList)) :*: S1 ('MetaSel ('Just "before") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) |
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:equals:Condition'
, condition_equals
- The value is equal to the provided string or integer.
$sel:before:Condition'
, condition_before
- Before the specified timestamp
condition_equals :: Lens' Condition (Maybe AttributeValueList) Source #
The value is equal to the provided string or integer.