Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns information about a specific version of a slot type. In addition to specifying the slot type name, you must specify the slot type version.
This operation requires permissions for the lex:GetSlotType
action.
Synopsis
- data GetSlotType = GetSlotType' {}
- newGetSlotType :: Text -> Text -> GetSlotType
- getSlotType_name :: Lens' GetSlotType Text
- getSlotType_version :: Lens' GetSlotType Text
- data GetSlotTypeResponse = GetSlotTypeResponse' {
- parentSlotTypeSignature :: Maybe Text
- slotTypeConfigurations :: Maybe [SlotTypeConfiguration]
- checksum :: Maybe Text
- valueSelectionStrategy :: Maybe SlotValueSelectionStrategy
- createdDate :: Maybe POSIX
- name :: Maybe Text
- version :: Maybe Text
- lastUpdatedDate :: Maybe POSIX
- description :: Maybe Text
- enumerationValues :: Maybe [EnumerationValue]
- httpStatus :: Int
- newGetSlotTypeResponse :: Int -> GetSlotTypeResponse
- getSlotTypeResponse_parentSlotTypeSignature :: Lens' GetSlotTypeResponse (Maybe Text)
- getSlotTypeResponse_slotTypeConfigurations :: Lens' GetSlotTypeResponse (Maybe [SlotTypeConfiguration])
- getSlotTypeResponse_checksum :: Lens' GetSlotTypeResponse (Maybe Text)
- getSlotTypeResponse_valueSelectionStrategy :: Lens' GetSlotTypeResponse (Maybe SlotValueSelectionStrategy)
- getSlotTypeResponse_createdDate :: Lens' GetSlotTypeResponse (Maybe UTCTime)
- getSlotTypeResponse_name :: Lens' GetSlotTypeResponse (Maybe Text)
- getSlotTypeResponse_version :: Lens' GetSlotTypeResponse (Maybe Text)
- getSlotTypeResponse_lastUpdatedDate :: Lens' GetSlotTypeResponse (Maybe UTCTime)
- getSlotTypeResponse_description :: Lens' GetSlotTypeResponse (Maybe Text)
- getSlotTypeResponse_enumerationValues :: Lens' GetSlotTypeResponse (Maybe [EnumerationValue])
- getSlotTypeResponse_httpStatus :: Lens' GetSlotTypeResponse Int
Creating a Request
data GetSlotType Source #
See: newGetSlotType
smart constructor.
Instances
Create a value of GetSlotType
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:name:GetSlotType'
, getSlotType_name
- The name of the slot type. The name is case sensitive.
$sel:version:GetSlotType'
, getSlotType_version
- The version of the slot type.
Request Lenses
getSlotType_name :: Lens' GetSlotType Text Source #
The name of the slot type. The name is case sensitive.
getSlotType_version :: Lens' GetSlotType Text Source #
The version of the slot type.
Destructuring the Response
data GetSlotTypeResponse Source #
See: newGetSlotTypeResponse
smart constructor.
GetSlotTypeResponse' | |
|
Instances
newGetSlotTypeResponse Source #
Create a value of GetSlotTypeResponse
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:parentSlotTypeSignature:GetSlotTypeResponse'
, getSlotTypeResponse_parentSlotTypeSignature
- The built-in slot type used as a parent for the slot type.
$sel:slotTypeConfigurations:GetSlotTypeResponse'
, getSlotTypeResponse_slotTypeConfigurations
- Configuration information that extends the parent built-in slot type.
$sel:checksum:GetSlotTypeResponse'
, getSlotTypeResponse_checksum
- Checksum of the $LATEST
version of the slot type.
$sel:valueSelectionStrategy:GetSlotTypeResponse'
, getSlotTypeResponse_valueSelectionStrategy
- The strategy that Amazon Lex uses to determine the value of the slot.
For more information, see PutSlotType.
$sel:createdDate:GetSlotTypeResponse'
, getSlotTypeResponse_createdDate
- The date that the slot type was created.
$sel:name:GetSlotType'
, getSlotTypeResponse_name
- The name of the slot type.
$sel:version:GetSlotType'
, getSlotTypeResponse_version
- The version of the slot type.
$sel:lastUpdatedDate:GetSlotTypeResponse'
, getSlotTypeResponse_lastUpdatedDate
- The date that the slot type was updated. When you create a resource, the
creation date and last update date are the same.
$sel:description:GetSlotTypeResponse'
, getSlotTypeResponse_description
- A description of the slot type.
$sel:enumerationValues:GetSlotTypeResponse'
, getSlotTypeResponse_enumerationValues
- A list of EnumerationValue
objects that defines the values that the
slot type can take.
$sel:httpStatus:GetSlotTypeResponse'
, getSlotTypeResponse_httpStatus
- The response's http status code.
Response Lenses
getSlotTypeResponse_parentSlotTypeSignature :: Lens' GetSlotTypeResponse (Maybe Text) Source #
The built-in slot type used as a parent for the slot type.
getSlotTypeResponse_slotTypeConfigurations :: Lens' GetSlotTypeResponse (Maybe [SlotTypeConfiguration]) Source #
Configuration information that extends the parent built-in slot type.
getSlotTypeResponse_checksum :: Lens' GetSlotTypeResponse (Maybe Text) Source #
Checksum of the $LATEST
version of the slot type.
getSlotTypeResponse_valueSelectionStrategy :: Lens' GetSlotTypeResponse (Maybe SlotValueSelectionStrategy) Source #
The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
getSlotTypeResponse_createdDate :: Lens' GetSlotTypeResponse (Maybe UTCTime) Source #
The date that the slot type was created.
getSlotTypeResponse_name :: Lens' GetSlotTypeResponse (Maybe Text) Source #
The name of the slot type.
getSlotTypeResponse_version :: Lens' GetSlotTypeResponse (Maybe Text) Source #
The version of the slot type.
getSlotTypeResponse_lastUpdatedDate :: Lens' GetSlotTypeResponse (Maybe UTCTime) Source #
The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.
getSlotTypeResponse_description :: Lens' GetSlotTypeResponse (Maybe Text) Source #
A description of the slot type.
getSlotTypeResponse_enumerationValues :: Lens' GetSlotTypeResponse (Maybe [EnumerationValue]) Source #
A list of EnumerationValue
objects that defines the values that the
slot type can take.
getSlotTypeResponse_httpStatus :: Lens' GetSlotTypeResponse Int Source #
The response's http status code.