| 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.DataSync.Types.TaskFilter
Description
Synopsis
Documentation
data TaskFilter Source #
You can use API filters to narrow down the list of resources returned by
ListTasks. For example, to retrieve all tasks on a source location,
you can use ListTasks with filter name LocationId and
Operator Equals with the ARN for the location.
For more information, see filtering DataSync resources.
See: newTaskFilter smart constructor.
Constructors
| TaskFilter' | |
Fields
| |
Instances
Create a value of TaskFilter 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:TaskFilter', taskFilter_name - The name of the filter being used. Each API call supports a list of
filters that are available for it. For example, LocationId for
ListTasks.
$sel:values:TaskFilter', taskFilter_values - The values that you want to filter for. For example, you might want to
display only tasks for a specific destination location.
$sel:operator:TaskFilter', taskFilter_operator - The operator that is used to compare filter values (for example,
Equals or Contains).
taskFilter_name :: Lens' TaskFilter TaskFilterName Source #
The name of the filter being used. Each API call supports a list of
filters that are available for it. For example, LocationId for
ListTasks.
taskFilter_values :: Lens' TaskFilter [Text] Source #
The values that you want to filter for. For example, you might want to display only tasks for a specific destination location.
taskFilter_operator :: Lens' TaskFilter Operator Source #
The operator that is used to compare filter values (for example,
Equals or Contains).