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 |
Synopsis
Documentation
data NestedFilters Source #
A list of nested Filter objects. A resource must satisfy the conditions of all filters to be included in the results returned from the Search API.
For example, to filter on a training job's InputDataConfig
property
with a specific channel name and S3Uri
prefix, define the following
filters:
'{Name:"InputDataConfig.ChannelName", "Operator":"Equals", "Value":"train"}',
'{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"Contains", "Value":"mybucket/catdata"}'
See: newNestedFilters
smart constructor.
NestedFilters' | |
|
Instances
:: Text | |
-> NonEmpty Filter | |
-> NestedFilters |
Create a value of NestedFilters
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:nestedPropertyName:NestedFilters'
, nestedFilters_nestedPropertyName
- The name of the property to use in the nested filters. The value must
match a listed property name, such as InputDataConfig
.
$sel:filters:NestedFilters'
, nestedFilters_filters
- A list of filters. Each filter acts on a property. Filters must contain
at least one Filters
value. For example, a NestedFilters
call might
include a filter on the PropertyName
parameter of the
InputDataConfig
property:
InputDataConfig.DataSource.S3DataSource.S3Uri
.
nestedFilters_nestedPropertyName :: Lens' NestedFilters Text Source #
The name of the property to use in the nested filters. The value must
match a listed property name, such as InputDataConfig
.
nestedFilters_filters :: Lens' NestedFilters (NonEmpty Filter) Source #
A list of filters. Each filter acts on a property. Filters must contain
at least one Filters
value. For example, a NestedFilters
call might
include a filter on the PropertyName
parameter of the
InputDataConfig
property:
InputDataConfig.DataSource.S3DataSource.S3Uri
.