libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
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.SSMIncidents.Types.Condition

Description

 
Synopsis

Documentation

data Condition Source #

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' 

Fields

Instances

Instances details
Eq Condition Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Condition

Read Condition Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Condition

Show Condition Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Condition

Generic Condition Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Condition

Associated Types

type Rep Condition :: Type -> Type #

NFData Condition Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Condition

Methods

rnf :: Condition -> () #

Hashable Condition Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Condition

ToJSON Condition Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Condition

type Rep Condition Source # 
Instance details

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_after :: Lens' Condition (Maybe UTCTime) Source #

After the specified timestamp.

condition_equals :: Lens' Condition (Maybe AttributeValueList) Source #

The value is equal to the provided string or integer.

condition_before :: Lens' Condition (Maybe UTCTime) Source #

Before the specified timestamp