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

Description

 
Synopsis

Documentation

data SlotSummary Source #

Summary information about a slot, a value that the bot elicits from the user.

See: newSlotSummary smart constructor.

Constructors

SlotSummary' 

Fields

Instances

Instances details
FromJSON SlotSummary Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotSummary

Generic SlotSummary Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotSummary

Associated Types

type Rep SlotSummary :: Type -> Type #

Read SlotSummary Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotSummary

Show SlotSummary Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotSummary

NFData SlotSummary Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotSummary

Methods

rnf :: SlotSummary -> () #

Eq SlotSummary Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotSummary

Hashable SlotSummary Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotSummary

type Rep SlotSummary Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.SlotSummary

type Rep SlotSummary = D1 ('MetaData "SlotSummary" "Amazonka.LexV2Models.Types.SlotSummary" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "SlotSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastUpdatedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "slotConstraint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SlotConstraint)))) :*: ((S1 ('MetaSel ('Just "slotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "slotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "slotTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "valueElicitationPromptSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PromptSpecification))))))

newSlotSummary :: SlotSummary Source #

Create a value of SlotSummary 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:description:SlotSummary', slotSummary_description - The description of the slot.

$sel:lastUpdatedDateTime:SlotSummary', slotSummary_lastUpdatedDateTime - The timestamp of the last date and time that the slot was updated.

$sel:slotConstraint:SlotSummary', slotSummary_slotConstraint - Whether the slot is required or optional. An intent is complete when all required slots are filled.

$sel:slotId:SlotSummary', slotSummary_slotId - The unique identifier of the slot.

$sel:slotName:SlotSummary', slotSummary_slotName - The name given to the slot.

$sel:slotTypeId:SlotSummary', slotSummary_slotTypeId - The unique identifier for the slot type that defines the values for the slot.

$sel:valueElicitationPromptSpecification:SlotSummary', slotSummary_valueElicitationPromptSpecification - Prompts that are sent to the user to elicit a value for the slot.

slotSummary_description :: Lens' SlotSummary (Maybe Text) Source #

The description of the slot.

slotSummary_lastUpdatedDateTime :: Lens' SlotSummary (Maybe UTCTime) Source #

The timestamp of the last date and time that the slot was updated.

slotSummary_slotConstraint :: Lens' SlotSummary (Maybe SlotConstraint) Source #

Whether the slot is required or optional. An intent is complete when all required slots are filled.

slotSummary_slotId :: Lens' SlotSummary (Maybe Text) Source #

The unique identifier of the slot.

slotSummary_slotName :: Lens' SlotSummary (Maybe Text) Source #

The name given to the slot.

slotSummary_slotTypeId :: Lens' SlotSummary (Maybe Text) Source #

The unique identifier for the slot type that defines the values for the slot.

slotSummary_valueElicitationPromptSpecification :: Lens' SlotSummary (Maybe PromptSpecification) Source #

Prompts that are sent to the user to elicit a value for the slot.