Built-in slot types - Amazon Lex

Built-in slot types

Amazon Lex supports built-in slot types that define how data in the slot is recognized and handled. You can create slots of these types in your intents. This eliminates the need to create enumeration values for commonly used slot data such as date, time, and location. Built-in slot types do not have versions.

Slot Type Short Description Supported Locales
AMAZON.AlphaNumeric Recognizes words made up of letters and numbers.

All locales except Korean (ko-KR)

AMAZON.City Recognizes words that represent a city. All locales
AMAZON.Country Recognizes words that represent a country. All locales
AMAZON.Date Recognizes words that represent a date and converts them to a standard format. All locales
AMAZON.Duration Recognizes words that represent duration and converts them to a standard format. All locales
AMAZON.EmailAddress Recognizes words that represent an email address and converts them into a standard email address. All locales
AMAZON.FirstName Recognizes words that represent a first name. All locales
AMAZON.LastName Recognizes words that represent a last name. All locales
AMAZON.Number Recognizes numeric words and converts them into digits. All locales
AMAZON.Percentage Recognizes words that represent a percentage and converts them to a number and a percent sign (%). All locales
AMAZON.PhoneNumber Recognizes words that represent a phone number and converts them into a numeric string. All locales
AMAZON.State Recognizes words that represent a state. All locales
AMAZON.StreetName Recognizes words that represent a street name. All locales
AMAZON.Time Recognizes words that indicate times and converts them into a time format. All locales
AMAZON.UKPostalCode Recognizes words that represent a UK post code and converts them to a standard form. English (British) (en-GB) only