LexModelBuildingService / Paginator / GetBuiltinSlotTypes

GetBuiltinSlotTypes

class LexModelBuildingService.Paginator.GetBuiltinSlotTypes
paginator = client.get_paginator('get_builtin_slot_types')
paginate(**kwargs)

Creates an iterator that will paginate through responses from LexModelBuildingService.Client.get_builtin_slot_types().

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    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',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • locale (string) – A list of locales that the slot type supports.

  • 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.”

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'slotTypes': [
        {
            '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) –

    • slotTypes (list) –

      An array of BuiltInSlotTypeMetadata objects, one entry for each slot type returned.

      • (dict) –

        Provides information about a built in slot type.

        • 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.

        • supportedLocales (list) –

          A list of target locales for the slot.

          • (string) –

    • NextToken (string) –

      A token to resume pagination.