builtin_slot_types
Creates, updates, deletes, gets or lists a builtin_slot_types resource.
Overview
| Name | builtin_slot_types |
| Type | Resource |
| Id | aws.lex_models.builtin_slot_types |
Fields
The following fields are returned by SELECT queries:
- get_builtin_slot_types
| Name | Datatype | Description |
|---|---|---|
signature | string | A 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_locales | array | A list of target locales for the slot. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_builtin_slot_types | select | region | locale, signatureContains, nextToken, maxResults | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
locale | string | A list of locales that the slot type supports. |
maxResults | integer | The maximum number of slot types to return in the response. The default is 10. |
nextToken | string | A 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. |
signatureContains | string | Substring 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
- get_builtin_slot_types
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 }}'
;