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 |
Documentation
data LocationFilter Source #
Narrow down the list of resources returned by ListLocations
. For
example, to see all your Amazon S3 locations, create a filter using
"Name": "LocationType"
, "Operator": "Equals"
, and
"Values": "S3"
.
For more information, see filtering resources.
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
).
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
).