| 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 |
Amazonka.LexV2Models.DescribeSlot
Description
Gets metadata information about a slot.
Synopsis
- data DescribeSlot = DescribeSlot' {}
- newDescribeSlot :: Text -> Text -> Text -> Text -> Text -> DescribeSlot
- describeSlot_slotId :: Lens' DescribeSlot Text
- describeSlot_botId :: Lens' DescribeSlot Text
- describeSlot_botVersion :: Lens' DescribeSlot Text
- describeSlot_localeId :: Lens' DescribeSlot Text
- describeSlot_intentId :: Lens' DescribeSlot Text
- data DescribeSlotResponse = DescribeSlotResponse' {
- botId :: Maybe Text
- botVersion :: Maybe Text
- creationDateTime :: Maybe POSIX
- description :: Maybe Text
- intentId :: Maybe Text
- lastUpdatedDateTime :: Maybe POSIX
- localeId :: Maybe Text
- multipleValuesSetting :: Maybe MultipleValuesSetting
- obfuscationSetting :: Maybe ObfuscationSetting
- slotId :: Maybe Text
- slotName :: Maybe Text
- slotTypeId :: Maybe Text
- subSlotSetting :: Maybe SubSlotSetting
- valueElicitationSetting :: Maybe SlotValueElicitationSetting
- httpStatus :: Int
- newDescribeSlotResponse :: Int -> DescribeSlotResponse
- describeSlotResponse_botId :: Lens' DescribeSlotResponse (Maybe Text)
- describeSlotResponse_botVersion :: Lens' DescribeSlotResponse (Maybe Text)
- describeSlotResponse_creationDateTime :: Lens' DescribeSlotResponse (Maybe UTCTime)
- describeSlotResponse_description :: Lens' DescribeSlotResponse (Maybe Text)
- describeSlotResponse_intentId :: Lens' DescribeSlotResponse (Maybe Text)
- describeSlotResponse_lastUpdatedDateTime :: Lens' DescribeSlotResponse (Maybe UTCTime)
- describeSlotResponse_localeId :: Lens' DescribeSlotResponse (Maybe Text)
- describeSlotResponse_multipleValuesSetting :: Lens' DescribeSlotResponse (Maybe MultipleValuesSetting)
- describeSlotResponse_obfuscationSetting :: Lens' DescribeSlotResponse (Maybe ObfuscationSetting)
- describeSlotResponse_slotId :: Lens' DescribeSlotResponse (Maybe Text)
- describeSlotResponse_slotName :: Lens' DescribeSlotResponse (Maybe Text)
- describeSlotResponse_slotTypeId :: Lens' DescribeSlotResponse (Maybe Text)
- describeSlotResponse_subSlotSetting :: Lens' DescribeSlotResponse (Maybe SubSlotSetting)
- describeSlotResponse_valueElicitationSetting :: Lens' DescribeSlotResponse (Maybe SlotValueElicitationSetting)
- describeSlotResponse_httpStatus :: Lens' DescribeSlotResponse Int
Creating a Request
data DescribeSlot Source #
See: newDescribeSlot smart constructor.
Constructors
| DescribeSlot' | |
Fields
| |
Instances
Create a value of DescribeSlot 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:
DescribeSlot, describeSlot_slotId - The unique identifier for the slot.
DescribeSlot, describeSlot_botId - The identifier of the bot associated with the slot.
DescribeSlot, describeSlot_botVersion - The version of the bot associated with the slot.
DescribeSlot, describeSlot_localeId - The identifier of the language and locale of the slot to describe. The
string must match one of the supported locales. For more information,
see
Supported languages.
DescribeSlot, describeSlot_intentId - The identifier of the intent that contains the slot.
Request Lenses
describeSlot_slotId :: Lens' DescribeSlot Text Source #
The unique identifier for the slot.
describeSlot_botId :: Lens' DescribeSlot Text Source #
The identifier of the bot associated with the slot.
describeSlot_botVersion :: Lens' DescribeSlot Text Source #
The version of the bot associated with the slot.
describeSlot_localeId :: Lens' DescribeSlot Text Source #
The identifier of the language and locale of the slot to describe. The string must match one of the supported locales. For more information, see Supported languages.
describeSlot_intentId :: Lens' DescribeSlot Text Source #
The identifier of the intent that contains the slot.
Destructuring the Response
data DescribeSlotResponse Source #
See: newDescribeSlotResponse smart constructor.
Constructors
| DescribeSlotResponse' | |
Fields
| |
Instances
newDescribeSlotResponse Source #
Arguments
| :: Int | |
| -> DescribeSlotResponse |
Create a value of DescribeSlotResponse 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:
DescribeSlot, describeSlotResponse_botId - The identifier of the bot associated with the slot.
DescribeSlot, describeSlotResponse_botVersion - The version of the bot associated with the slot.
DescribeSlotResponse, describeSlotResponse_creationDateTime - A timestamp of the date and time that the slot was created.
DescribeSlotResponse, describeSlotResponse_description - The description specified for the slot.
DescribeSlot, describeSlotResponse_intentId - The identifier of the intent associated with the slot.
DescribeSlotResponse, describeSlotResponse_lastUpdatedDateTime - A timestamp of the date and time that the slot was last updated.
DescribeSlot, describeSlotResponse_localeId - The language and locale specified for the slot.
$sel:multipleValuesSetting:DescribeSlotResponse', describeSlotResponse_multipleValuesSetting - Indicates whether the slot accepts multiple values in a single
utterance.
If the multipleValuesSetting is not set, the default value is false.
$sel:obfuscationSetting:DescribeSlotResponse', describeSlotResponse_obfuscationSetting - Whether slot values are shown in Amazon CloudWatch logs. If the value is
None, the actual value of the slot is shown in logs.
DescribeSlot, describeSlotResponse_slotId - The unique identifier generated for the slot.
DescribeSlotResponse, describeSlotResponse_slotName - The name specified for the slot.
DescribeSlotResponse, describeSlotResponse_slotTypeId - The identifier of the slot type that determines the values entered into
the slot.
$sel:subSlotSetting:DescribeSlotResponse', describeSlotResponse_subSlotSetting - Specifications for the constituent sub slots and the expression for the
composite slot.
DescribeSlotResponse, describeSlotResponse_valueElicitationSetting - Prompts that Amazon Lex uses to elicit a value for the slot.
$sel:httpStatus:DescribeSlotResponse', describeSlotResponse_httpStatus - The response's http status code.
Response Lenses
describeSlotResponse_botId :: Lens' DescribeSlotResponse (Maybe Text) Source #
The identifier of the bot associated with the slot.
describeSlotResponse_botVersion :: Lens' DescribeSlotResponse (Maybe Text) Source #
The version of the bot associated with the slot.
describeSlotResponse_creationDateTime :: Lens' DescribeSlotResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the slot was created.
describeSlotResponse_description :: Lens' DescribeSlotResponse (Maybe Text) Source #
The description specified for the slot.
describeSlotResponse_intentId :: Lens' DescribeSlotResponse (Maybe Text) Source #
The identifier of the intent associated with the slot.
describeSlotResponse_lastUpdatedDateTime :: Lens' DescribeSlotResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the slot was last updated.
describeSlotResponse_localeId :: Lens' DescribeSlotResponse (Maybe Text) Source #
The language and locale specified for the slot.
describeSlotResponse_multipleValuesSetting :: Lens' DescribeSlotResponse (Maybe MultipleValuesSetting) Source #
Indicates whether the slot accepts multiple values in a single utterance.
If the multipleValuesSetting is not set, the default value is false.
describeSlotResponse_obfuscationSetting :: Lens' DescribeSlotResponse (Maybe ObfuscationSetting) Source #
Whether slot values are shown in Amazon CloudWatch logs. If the value is
None, the actual value of the slot is shown in logs.
describeSlotResponse_slotId :: Lens' DescribeSlotResponse (Maybe Text) Source #
The unique identifier generated for the slot.
describeSlotResponse_slotName :: Lens' DescribeSlotResponse (Maybe Text) Source #
The name specified for the slot.
describeSlotResponse_slotTypeId :: Lens' DescribeSlotResponse (Maybe Text) Source #
The identifier of the slot type that determines the values entered into the slot.
describeSlotResponse_subSlotSetting :: Lens' DescribeSlotResponse (Maybe SubSlotSetting) Source #
Specifications for the constituent sub slots and the expression for the composite slot.
describeSlotResponse_valueElicitationSetting :: Lens' DescribeSlotResponse (Maybe SlotValueElicitationSetting) Source #
Prompts that Amazon Lex uses to elicit a value for the slot.
describeSlotResponse_httpStatus :: Lens' DescribeSlotResponse Int Source #
The response's http status code.