amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexV2Models.Types.IntentFilter

Description

 
Synopsis

Documentation

data IntentFilter Source #

Filters the response from the ListIntents operation.

See: newIntentFilter smart constructor.

Constructors

IntentFilter' 

Fields

  • name :: IntentFilterName

    The name of the field to use for the filter.

  • values :: NonEmpty Text

    The value to use for the filter.

  • operator :: IntentFilterOperator

    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.

Instances

Instances details
ToJSON IntentFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentFilter

Generic IntentFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentFilter

Associated Types

type Rep IntentFilter :: Type -> Type #

Read IntentFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentFilter

Show IntentFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentFilter

NFData IntentFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentFilter

Methods

rnf :: IntentFilter -> () #

Eq IntentFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentFilter

Hashable IntentFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentFilter

type Rep IntentFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.IntentFilter

type Rep IntentFilter = D1 ('MetaData "IntentFilter" "Amazonka.LexV2Models.Types.IntentFilter" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "IntentFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IntentFilterName) :*: (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: S1 ('MetaSel ('Just "operator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IntentFilterOperator))))

newIntentFilter Source #

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.