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

Description

 
Synopsis

Documentation

data ImportFilter Source #

Filters the response from the ListImports operation.

See: newImportFilter smart constructor.

Constructors

ImportFilter' 

Fields

  • name :: ImportFilterName

    The name of the field to use for filtering.

  • values :: NonEmpty Text

    The values to use to filter the response. The values must be Bot, BotLocale, or CustomVocabulary.

  • operator :: ImportFilterOperator

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

Instances

Instances details
ToJSON ImportFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ImportFilter

Generic ImportFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ImportFilter

Associated Types

type Rep ImportFilter :: Type -> Type #

Read ImportFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ImportFilter

Show ImportFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ImportFilter

NFData ImportFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ImportFilter

Methods

rnf :: ImportFilter -> () #

Eq ImportFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ImportFilter

Hashable ImportFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ImportFilter

type Rep ImportFilter Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.ImportFilter

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

newImportFilter Source #

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

$sel:values:ImportFilter', importFilter_values - The values to use to filter the response. The values must be Bot, BotLocale, or CustomVocabulary.

$sel:operator:ImportFilter', importFilter_operator - The operator to use for the filter. Specify EQ when the ListImports operation should return only resource types that equal the specified value. Specify CO when the ListImports operation should return resource types that contain the specified value.

importFilter_name :: Lens' ImportFilter ImportFilterName Source #

The name of the field to use for filtering.

importFilter_values :: Lens' ImportFilter (NonEmpty Text) Source #

The values to use to filter the response. The values must be Bot, BotLocale, or CustomVocabulary.

importFilter_operator :: Lens' ImportFilter ImportFilterOperator Source #

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