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 |
Documentation
A filter that can use conditional operators.
For more information about filters, see Querying Discovered Configuration Items in the AWS Application Discovery Service User Guide.
See: newFilter
smart constructor.
Filter' | |
|
Instances
Eq Filter Source # | |
Read Filter Source # | |
Show Filter Source # | |
Generic Filter Source # | |
NFData Filter Source # | |
Defined in Amazonka.Discovery.Types.Filter | |
Hashable Filter Source # | |
Defined in Amazonka.Discovery.Types.Filter | |
ToJSON Filter Source # | |
Defined in Amazonka.Discovery.Types.Filter | |
type Rep Filter Source # | |
Defined in Amazonka.Discovery.Types.Filter type Rep Filter = D1 ('MetaData "Filter" "Amazonka.Discovery.Types.Filter" "libZSservicesZSamazonka-discoveryZSamazonka-discovery" 'False) (C1 ('MetaCons "Filter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
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:name:Filter'
, filter_name
- The name of the filter.
$sel:values:Filter'
, filter_values
- A string value on which to filter. For example, if you choose the
destinationServer.osVersion
filter name, you could specify Ubuntu
for the value.
$sel:condition:Filter'
, filter_condition
- A conditional operator. The following operators are valid: EQUALS,
NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the
system utilizes all filters as though concatenated by AND. If you
specify multiple values for a particular filter, the system
differentiates the values using OR. Calling either
DescribeConfigurations or ListConfigurations returns attributes of
matching configuration items.
filter_values :: Lens' Filter [Text] Source #
A string value on which to filter. For example, if you choose the
destinationServer.osVersion
filter name, you could specify Ubuntu
for the value.
filter_condition :: Lens' Filter Text Source #
A conditional operator. The following operators are valid: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS. If you specify multiple filters, the system utilizes all filters as though concatenated by AND. If you specify multiple values for a particular filter, the system differentiates the values using OR. Calling either DescribeConfigurations or ListConfigurations returns attributes of matching configuration items.