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

Description

 
Synopsis

Documentation

data BotFilter Source #

Filters the responses returned by the ListBots operation.

See: newBotFilter smart constructor.

Constructors

BotFilter' 

Fields

  • name :: BotFilterName

    The name of the field to filter the list of bots.

  • values :: NonEmpty Text

    The value to use for filtering the list of bots.

  • operator :: BotFilterOperator

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

Instances

Instances details
ToJSON BotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotFilter

Generic BotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotFilter

Associated Types

type Rep BotFilter :: Type -> Type #

Read BotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotFilter

Show BotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotFilter

NFData BotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotFilter

Methods

rnf :: BotFilter -> () #

Eq BotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotFilter

Hashable BotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotFilter

type Rep BotFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.BotFilter

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

newBotFilter Source #

Create a value of BotFilter 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:BotFilter', botFilter_name - The name of the field to filter the list of bots.

$sel:values:BotFilter', botFilter_values - The value to use for filtering the list of bots.

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

botFilter_name :: Lens' BotFilter BotFilterName Source #

The name of the field to filter the list of bots.

botFilter_values :: Lens' BotFilter (NonEmpty Text) Source #

The value to use for filtering the list of bots.

botFilter_operator :: Lens' BotFilter BotFilterOperator Source #

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