| 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.LexV2Models.Types.IntentFilter
Description
Synopsis
- data IntentFilter = IntentFilter' {}
- newIntentFilter :: IntentFilterName -> NonEmpty Text -> IntentFilterOperator -> IntentFilter
- intentFilter_name :: Lens' IntentFilter IntentFilterName
- intentFilter_values :: Lens' IntentFilter (NonEmpty Text)
- intentFilter_operator :: Lens' IntentFilter IntentFilterOperator
Documentation
data IntentFilter Source #
Filters the response from the ListIntents operation.
See: newIntentFilter smart constructor.
Constructors
| IntentFilter' | |
Fields
| |
Instances
Arguments
| :: IntentFilterName | |
| -> NonEmpty Text | |
| -> IntentFilterOperator | |
| -> IntentFilter |
Create a value of IntentFilter 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:IntentFilter', intentFilter_name - The name of the field to use for the filter.
$sel:values:IntentFilter', intentFilter_values - The value to use for the filter.
$sel:operator:IntentFilter', intentFilter_operator - The operator to use for the filter. Specify EQ when the ListIntents
operation should return only aliases that equal the specified value.
Specify CO when the ListIntents operation should return aliases that
contain the specified value.
intentFilter_name :: Lens' IntentFilter IntentFilterName Source #
The name of the field to use for the filter.
intentFilter_values :: Lens' IntentFilter (NonEmpty Text) Source #
The value to use for the filter.
intentFilter_operator :: Lens' IntentFilter IntentFilterOperator Source #
The operator to use for the filter. Specify EQ when the ListIntents
operation should return only aliases that equal the specified value.
Specify CO when the ListIntents operation should return aliases that
contain the specified value.