getSlotTypes

Deprecated

Amazon Lex V1 is deprecated. Use Amazon Lex V2 instead.

Returns slot type information as follows:

  • If you specify the nameContains field, returns the $LATEST version of all slot types that contain the specified string.

  • If you don't specify the nameContains field, returns information about the $LATEST version of all slot types.

The operation requires permission for the lex:GetSlotTypes action.

Samples

// This example shows how to get a list of all of the slot types in your account.
val resp = lexModelBuildingClient.getSlotTypes {
    nextToken = ""
    maxResults = 10
}