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 |
Gets metadata information about a slot type.
Synopsis
- data DescribeSlotType = DescribeSlotType' {
- slotTypeId :: Text
- botId :: Text
- botVersion :: Text
- localeId :: Text
- newDescribeSlotType :: Text -> Text -> Text -> Text -> DescribeSlotType
- describeSlotType_slotTypeId :: Lens' DescribeSlotType Text
- describeSlotType_botId :: Lens' DescribeSlotType Text
- describeSlotType_botVersion :: Lens' DescribeSlotType Text
- describeSlotType_localeId :: Lens' DescribeSlotType Text
- data DescribeSlotTypeResponse = DescribeSlotTypeResponse' {
- botId :: Maybe Text
- botVersion :: Maybe Text
- compositeSlotTypeSetting :: Maybe CompositeSlotTypeSetting
- creationDateTime :: Maybe POSIX
- description :: Maybe Text
- externalSourceSetting :: Maybe ExternalSourceSetting
- lastUpdatedDateTime :: Maybe POSIX
- localeId :: Maybe Text
- parentSlotTypeSignature :: Maybe Text
- slotTypeId :: Maybe Text
- slotTypeName :: Maybe Text
- slotTypeValues :: Maybe (NonEmpty SlotTypeValue)
- valueSelectionSetting :: Maybe SlotValueSelectionSetting
- httpStatus :: Int
- newDescribeSlotTypeResponse :: Int -> DescribeSlotTypeResponse
- describeSlotTypeResponse_botId :: Lens' DescribeSlotTypeResponse (Maybe Text)
- describeSlotTypeResponse_botVersion :: Lens' DescribeSlotTypeResponse (Maybe Text)
- describeSlotTypeResponse_compositeSlotTypeSetting :: Lens' DescribeSlotTypeResponse (Maybe CompositeSlotTypeSetting)
- describeSlotTypeResponse_creationDateTime :: Lens' DescribeSlotTypeResponse (Maybe UTCTime)
- describeSlotTypeResponse_description :: Lens' DescribeSlotTypeResponse (Maybe Text)
- describeSlotTypeResponse_externalSourceSetting :: Lens' DescribeSlotTypeResponse (Maybe ExternalSourceSetting)
- describeSlotTypeResponse_lastUpdatedDateTime :: Lens' DescribeSlotTypeResponse (Maybe UTCTime)
- describeSlotTypeResponse_localeId :: Lens' DescribeSlotTypeResponse (Maybe Text)
- describeSlotTypeResponse_parentSlotTypeSignature :: Lens' DescribeSlotTypeResponse (Maybe Text)
- describeSlotTypeResponse_slotTypeId :: Lens' DescribeSlotTypeResponse (Maybe Text)
- describeSlotTypeResponse_slotTypeName :: Lens' DescribeSlotTypeResponse (Maybe Text)
- describeSlotTypeResponse_slotTypeValues :: Lens' DescribeSlotTypeResponse (Maybe (NonEmpty SlotTypeValue))
- describeSlotTypeResponse_valueSelectionSetting :: Lens' DescribeSlotTypeResponse (Maybe SlotValueSelectionSetting)
- describeSlotTypeResponse_httpStatus :: Lens' DescribeSlotTypeResponse Int
Creating a Request
data DescribeSlotType Source #
See: newDescribeSlotType
smart constructor.
DescribeSlotType' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> DescribeSlotType |
Create a value of DescribeSlotType
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:
DescribeSlotType
, describeSlotType_slotTypeId
- The identifier of the slot type.
DescribeSlotType
, describeSlotType_botId
- The identifier of the bot associated with the slot type.
DescribeSlotType
, describeSlotType_botVersion
- The version of the bot associated with the slot type.
DescribeSlotType
, describeSlotType_localeId
- The identifier of the language and locale of the slot type to describe.
The string must match one of the supported locales. For more
information, see
Supported languages.
Request Lenses
describeSlotType_slotTypeId :: Lens' DescribeSlotType Text Source #
The identifier of the slot type.
describeSlotType_botId :: Lens' DescribeSlotType Text Source #
The identifier of the bot associated with the slot type.
describeSlotType_botVersion :: Lens' DescribeSlotType Text Source #
The version of the bot associated with the slot type.
describeSlotType_localeId :: Lens' DescribeSlotType Text Source #
The identifier of the language and locale of the slot type to describe. The string must match one of the supported locales. For more information, see Supported languages.
Destructuring the Response
data DescribeSlotTypeResponse Source #
See: newDescribeSlotTypeResponse
smart constructor.
DescribeSlotTypeResponse' | |
|
Instances
newDescribeSlotTypeResponse Source #
Create a value of DescribeSlotTypeResponse
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:
DescribeSlotType
, describeSlotTypeResponse_botId
- The identifier of the bot associated with the slot type.
DescribeSlotType
, describeSlotTypeResponse_botVersion
- The version of the bot associated with the slot type.
$sel:compositeSlotTypeSetting:DescribeSlotTypeResponse'
, describeSlotTypeResponse_compositeSlotTypeSetting
- Specifications for a composite slot type.
DescribeSlotTypeResponse
, describeSlotTypeResponse_creationDateTime
- A timestamp of the date and time that the slot type was created.
DescribeSlotTypeResponse
, describeSlotTypeResponse_description
- The description specified for the slot type.
$sel:externalSourceSetting:DescribeSlotTypeResponse'
, describeSlotTypeResponse_externalSourceSetting
- Undocumented member.
DescribeSlotTypeResponse
, describeSlotTypeResponse_lastUpdatedDateTime
- A timestamp of the date and time that the slot type was last updated.
DescribeSlotType
, describeSlotTypeResponse_localeId
- The language and locale specified for the slot type.
DescribeSlotTypeResponse
, describeSlotTypeResponse_parentSlotTypeSignature
- The built in slot type used as a parent to this slot type.
DescribeSlotType
, describeSlotTypeResponse_slotTypeId
- The unique identifier for the slot type.
DescribeSlotTypeResponse
, describeSlotTypeResponse_slotTypeName
- The name specified for the slot type.
$sel:slotTypeValues:DescribeSlotTypeResponse'
, describeSlotTypeResponse_slotTypeValues
- The values that the slot type can take. Includes any synonyms for the
slot type values.
$sel:valueSelectionSetting:DescribeSlotTypeResponse'
, describeSlotTypeResponse_valueSelectionSetting
- The strategy that Amazon Lex uses to choose a value from a list of
possible values.
$sel:httpStatus:DescribeSlotTypeResponse'
, describeSlotTypeResponse_httpStatus
- The response's http status code.
Response Lenses
describeSlotTypeResponse_botId :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #
The identifier of the bot associated with the slot type.
describeSlotTypeResponse_botVersion :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #
The version of the bot associated with the slot type.
describeSlotTypeResponse_compositeSlotTypeSetting :: Lens' DescribeSlotTypeResponse (Maybe CompositeSlotTypeSetting) Source #
Specifications for a composite slot type.
describeSlotTypeResponse_creationDateTime :: Lens' DescribeSlotTypeResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the slot type was created.
describeSlotTypeResponse_description :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #
The description specified for the slot type.
describeSlotTypeResponse_externalSourceSetting :: Lens' DescribeSlotTypeResponse (Maybe ExternalSourceSetting) Source #
Undocumented member.
describeSlotTypeResponse_lastUpdatedDateTime :: Lens' DescribeSlotTypeResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the slot type was last updated.
describeSlotTypeResponse_localeId :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #
The language and locale specified for the slot type.
describeSlotTypeResponse_parentSlotTypeSignature :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #
The built in slot type used as a parent to this slot type.
describeSlotTypeResponse_slotTypeId :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #
The unique identifier for the slot type.
describeSlotTypeResponse_slotTypeName :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #
The name specified for the slot type.
describeSlotTypeResponse_slotTypeValues :: Lens' DescribeSlotTypeResponse (Maybe (NonEmpty SlotTypeValue)) Source #
The values that the slot type can take. Includes any synonyms for the slot type values.
describeSlotTypeResponse_valueSelectionSetting :: Lens' DescribeSlotTypeResponse (Maybe SlotValueSelectionSetting) Source #
The strategy that Amazon Lex uses to choose a value from a list of possible values.
describeSlotTypeResponse_httpStatus :: Lens' DescribeSlotTypeResponse Int Source #
The response's http status code.