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
data LocationFilter Source #
You can use API filters to narrow down the list of resources returned by
ListLocations
. For example, to retrieve all your Amazon S3 locations,
you can use ListLocations
with filter name LocationType S3
and
Operator Equals
.
See: newLocationFilter
smart constructor.
LocationFilter' | |
|
Instances
Create a value of LocationFilter
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:LocationFilter'
, locationFilter_name
- The name of the filter being used. Each API call supports a list of
filters that are available for it (for example, LocationType
for
ListLocations
).
$sel:values:LocationFilter'
, locationFilter_values
- The values that you want to filter for. For example, you might want to
display only Amazon S3 locations.
$sel:operator:LocationFilter'
, locationFilter_operator
- The operator that is used to compare filter values (for example,
Equals
or Contains
). For more about API filtering operators, see
API filters for ListTasks and ListLocations.
locationFilter_name :: Lens' LocationFilter LocationFilterName Source #
The name of the filter being used. Each API call supports a list of
filters that are available for it (for example, LocationType
for
ListLocations
).
locationFilter_values :: Lens' LocationFilter [Text] Source #
The values that you want to filter for. For example, you might want to display only Amazon S3 locations.
locationFilter_operator :: Lens' LocationFilter Operator Source #
The operator that is used to compare filter values (for example,
Equals
or Contains
). For more about API filtering operators, see
API filters for ListTasks and ListLocations.