Skip to main content

builtin_slot_types

Creates, updates, deletes, gets or lists a builtin_slot_types resource.

Overview

Namebuiltin_slot_types
TypeResource
Idaws.lex_models.builtin_slot_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
signaturestringA unique identifier for the built-in slot type. To find the signature for a slot type, see Slot Type Reference in the Alexa Skills Kit.
supported_localesarrayA list of target locales for the slot.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_builtin_slot_typesselectregionlocale, signatureContains, nextToken, maxResultsGets a list of built-in slot types that meet the specified criteria. For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit. This operation requires permission for the lex:GetBuiltInSlotTypes action.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
localestringA list of locales that the slot type supports.
maxResultsintegerThe maximum number of slot types to return in the response. The default is 10.
nextTokenstringA pagination token that fetches the next page of slot types. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of slot types, specify the pagination token in the next request.
signatureContainsstringSubstring to match in built-in slot type signatures. A slot type will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

SELECT examples

Gets a list of built-in slot types that meet the specified criteria. For a list of built-in slot types, see Slot Type Reference in the Alexa Skills Kit. This operation requires permission for the lex:GetBuiltInSlotTypes action.

SELECT
signature,
supported_locales
FROM aws.lex_models.builtin_slot_types
WHERE region = '{{ region }}' -- required
AND locale = '{{ locale }}'
AND signatureContains = '{{ signatureContains }}'
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;