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.SlotFilter

Description

 
Synopsis

Documentation

data SlotFilter Source #

Filters the response from the ListSlots operation.

See: newSlotFilter smart constructor.

Constructors

SlotFilter' 

Fields

  • name :: SlotFilterName

    The name of the field to use for filtering.

  • values :: NonEmpty Text

    The value to use to filter the response.

  • operator :: SlotFilterOperator

    The operator to use for the filter. Specify EQ when the ListSlots operation should return only aliases that equal the specified value. Specify CO when the ListSlots operation should return aliases that contain the specified value.

Instances

Instances details
ToJSON SlotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotFilter

Generic SlotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotFilter

Associated Types

type Rep SlotFilter :: Type -> Type #

Read SlotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotFilter

Show SlotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotFilter

NFData SlotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotFilter

Methods

rnf :: SlotFilter -> () #

Eq SlotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotFilter

Hashable SlotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotFilter

type Rep SlotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotFilter

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

newSlotFilter Source #

Create a value of SlotFilter 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:SlotFilter', slotFilter_name - The name of the field to use for filtering.

$sel:values:SlotFilter', slotFilter_values - The value to use to filter the response.

$sel:operator:SlotFilter', slotFilter_operator - The operator to use for the filter. Specify EQ when the ListSlots operation should return only aliases that equal the specified value. Specify CO when the ListSlots operation should return aliases that contain the specified value.

slotFilter_name :: Lens' SlotFilter SlotFilterName Source #

The name of the field to use for filtering.

slotFilter_values :: Lens' SlotFilter (NonEmpty Text) Source #

The value to use to filter the response.

slotFilter_operator :: Lens' SlotFilter SlotFilterOperator Source #

The operator to use for the filter. Specify EQ when the ListSlots operation should return only aliases that equal the specified value. Specify CO when the ListSlots operation should return aliases that contain the specified value.