Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data SlotSummary = SlotSummary' {}
- newSlotSummary :: SlotSummary
- slotSummary_description :: Lens' SlotSummary (Maybe Text)
- slotSummary_lastUpdatedDateTime :: Lens' SlotSummary (Maybe UTCTime)
- slotSummary_slotConstraint :: Lens' SlotSummary (Maybe SlotConstraint)
- slotSummary_slotId :: Lens' SlotSummary (Maybe Text)
- slotSummary_slotName :: Lens' SlotSummary (Maybe Text)
- slotSummary_slotTypeId :: Lens' SlotSummary (Maybe Text)
- slotSummary_valueElicitationPromptSpecification :: Lens' SlotSummary (Maybe PromptSpecification)
Documentation
data SlotSummary Source #
Summary information about a slot, a value that the bot elicits from the user.
See: newSlotSummary
smart constructor.
SlotSummary' | |
|
Instances
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.