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

Description

 
Synopsis

Documentation

data SampleValue Source #

Defines one of the values for a slot type.

See: newSampleValue smart constructor.

Constructors

SampleValue' 

Fields

  • value :: Text

    The value that can be used for a slot type.

Instances

Instances details
FromJSON SampleValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SampleValue

ToJSON SampleValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SampleValue

Generic SampleValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SampleValue

Associated Types

type Rep SampleValue :: Type -> Type #

Read SampleValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SampleValue

Show SampleValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SampleValue

NFData SampleValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SampleValue

Methods

rnf :: SampleValue -> () #

Eq SampleValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SampleValue

Hashable SampleValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SampleValue

type Rep SampleValue Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SampleValue

type Rep SampleValue = D1 ('MetaData "SampleValue" "Amazonka.LexV2Models.Types.SampleValue" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "SampleValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSampleValue Source #

Create a value of SampleValue 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:value:SampleValue', sampleValue_value - The value that can be used for a slot type.

sampleValue_value :: Lens' SampleValue Text Source #

The value that can be used for a slot type.