Skip to content

/AWS1/CL_LM2=>LISTSLOTS()

About ListSlots

Gets a list of slots that match the specified criteria.

Method Signature

IMPORTING

Required arguments:

IV_BOTID TYPE /AWS1/LM2ID /AWS1/LM2ID

The identifier of the bot that contains the slot.

IV_BOTVERSION TYPE /AWS1/LM2BOTVERSION /AWS1/LM2BOTVERSION

The version of the bot that contains the slot.

IV_LOCALEID TYPE /AWS1/LM2LOCALEID /AWS1/LM2LOCALEID

The identifier of the language and locale of the slots to list. The string must match one of the supported locales. For more information, see Supported languages.

IV_INTENTID TYPE /AWS1/LM2ID /AWS1/LM2ID

The unique identifier of the intent that contains the slot.

Optional arguments:

IO_SORTBY TYPE REF TO /AWS1/CL_LM2SLOTSORTBY /AWS1/CL_LM2SLOTSORTBY

Determines the sort order for the response from the ListSlots operation. You can choose to sort by the slot name or last updated date in either ascending or descending order.

IT_FILTERS TYPE /AWS1/CL_LM2SLOTFILTER=>TT_SLOTFILTERS TT_SLOTFILTERS

Provides the specification of a filter used to limit the slots in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.

IV_MAXRESULTS TYPE /AWS1/LM2MAXRESULTS /AWS1/LM2MAXRESULTS

The maximum number of slots to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

IV_NEXTTOKEN TYPE /AWS1/LM2NEXTTOKEN /AWS1/LM2NEXTTOKEN

If the response from the ListSlots operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LM2LISTSLOTSRESPONSE /AWS1/CL_LM2LISTSLOTSRESPONSE