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.Filter

Description

 
Synopsis

Documentation

data Filter Source #

Filter the selection by using a condition.

See: newFilter smart constructor.

Constructors

Filter' 

Fields

  • condition :: Condition

    The condition accepts before or after a specified time, equal to a string, or equal to an integer.

  • key :: Text

    The key that you're filtering on.

Instances

Instances details
Eq Filter Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Filter

Methods

(==) :: Filter -> Filter -> Bool #

(/=) :: Filter -> Filter -> Bool #

Read Filter Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Filter

Show Filter Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Filter

Generic Filter Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Filter

Associated Types

type Rep Filter :: Type -> Type #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

NFData Filter Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Filter

Methods

rnf :: Filter -> () #

Hashable Filter Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Filter

Methods

hashWithSalt :: Int -> Filter -> Int #

hash :: Filter -> Int #

ToJSON Filter Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Filter

type Rep Filter Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Filter

type Rep Filter = D1 ('MetaData "Filter" "Amazonka.SSMIncidents.Types.Filter" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "Filter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Condition) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newFilter Source #

Create a value of Filter 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:condition:Filter', filter_condition - The condition accepts before or after a specified time, equal to a string, or equal to an integer.

$sel:key:Filter', filter_key - The key that you're filtering on.

filter_condition :: Lens' Filter Condition Source #

The condition accepts before or after a specified time, equal to a string, or equal to an integer.

filter_key :: Lens' Filter Text Source #

The key that you're filtering on.