| 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.EC2.Types.Filter
Description
Documentation
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.
If you specify multiple filters, the filters are joined with an AND,
and the request returns only results that match all of the specified
filters.
See: newFilter smart constructor.
Constructors
| Filter' | |
Fields | |
Instances
| ToQuery Filter Source # | |
Defined in Amazonka.EC2.Types.Filter Methods toQuery :: Filter -> QueryString # | |
| Generic Filter Source # | |
| Read Filter Source # | |
| Show Filter Source # | |
| NFData Filter Source # | |
Defined in Amazonka.EC2.Types.Filter | |
| Eq Filter Source # | |
| Hashable Filter Source # | |
Defined in Amazonka.EC2.Types.Filter | |
| type Rep Filter Source # | |
Defined in Amazonka.EC2.Types.Filter type Rep Filter = D1 ('MetaData "Filter" "Amazonka.EC2.Types.Filter" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "Filter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") '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:values:Filter', filter_values - The filter values. Filter values are case-sensitive. If you specify
multiple values for a filter, the values are joined with an OR, and
the request returns all results that match any of the specified values.
$sel:name:Filter', filter_name - The name of the filter. Filter names are case-sensitive.