getSlotType

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.

Samples


fun main() { 
   //sampleStart 
   // This example shows how to get information about a slot type.
val resp = lexModelBuildingClient.getSlotType {
    name = "DocPizzaCrustType"
    version = "$LATEST"
} 
   //sampleEnd
}