get_builtin_intents

LexModelBuildingService.Client.get_builtin_intents(**kwargs)

Gets a list of built-in intents that meet the specified criteria.

This operation requires permission for the lex:GetBuiltinIntents action.

See also: AWS API Documentation

Request Syntax

response = client.get_builtin_intents(
    locale='de-DE'|'en-AU'|'en-GB'|'en-IN'|'en-US'|'es-419'|'es-ES'|'es-US'|'fr-FR'|'fr-CA'|'it-IT'|'ja-JP'|'ko-KR',
    signatureContains='string',
    nextToken='string',
    maxResults=123
)
Parameters
  • locale (string) -- A list of locales that the intent supports.
  • signatureContains (string) -- Substring to match in built-in intent signatures. An intent will be returned if any part of its signature matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz." To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit .
  • nextToken (string) -- A pagination token that fetches the next page of intents. If this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, use the pagination token in the next request.
  • maxResults (integer) -- The maximum number of intents to return in the response. The default is 10.
Return type

dict

Returns

Response Syntax

{
    'intents': [
        {
            'signature': 'string',
            'supportedLocales': [
                'de-DE'|'en-AU'|'en-GB'|'en-IN'|'en-US'|'es-419'|'es-ES'|'es-US'|'fr-FR'|'fr-CA'|'it-IT'|'ja-JP'|'ko-KR',
            ]
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • intents (list) --

      An array of builtinIntentMetadata objects, one for each intent in the response.

      • (dict) --

        Provides metadata for a built-in intent.

        • signature (string) --

          A unique identifier for the built-in intent. To find the signature for an intent, see Standard Built-in Intents in the Alexa Skills Kit .

        • supportedLocales (list) --

          A list of identifiers for the locales that the intent supports.

          • (string) --
    • nextToken (string) --

      A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request.

Exceptions

  • LexModelBuildingService.Client.exceptions.LimitExceededException
  • LexModelBuildingService.Client.exceptions.InternalFailureException
  • LexModelBuildingService.Client.exceptions.BadRequestException