List Imports
| lexmodelsv2_list_imports | R Documentation |
Lists the imports for a bot, bot locale, or custom vocabulary¶
Description¶
Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.
Usage¶
Arguments¶
botIdThe unique identifier that Amazon Lex assigned to the bot.
botVersionThe version of the bot to list imports for.
sortByDetermines the field that the list of imports is sorted by. You can sort by the
LastUpdatedDateTimefield in ascending or descending order.filtersProvides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
maxResultsThe maximum number of imports 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.
nextTokenIf the response from the
list_importsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.Use the returned token in the
nextTokenparameter of alist_importsrequest to return the next page of results. For a complete set of results, call thelist_importsoperation until thenextTokenreturned in the response is null.localeIdSpecifies the locale that should be present in the list. If you don't specify a resource type in the
filtersparameter, the list contains both bot locales and custom vocabularies.
Value¶
A list with the following syntax:
list(
botId = "string",
botVersion = "string",
importSummaries = list(
list(
importId = "string",
importedResourceId = "string",
importedResourceName = "string",
importStatus = "InProgress"|"Completed"|"Failed"|"Deleting",
mergeStrategy = "Overwrite"|"FailOnConflict"|"Append",
creationDateTime = as.POSIXct(
"2015-01-01"
),
lastUpdatedDateTime = as.POSIXct(
"2015-01-01"
),
importedResourceType = "Bot"|"BotLocale"|"CustomVocabulary"|"TestSet"
)
),
nextToken = "string",
localeId = "string"
)
Request syntax¶
svc$list_imports(
botId = "string",
botVersion = "string",
sortBy = list(
attribute = "LastUpdatedDateTime",
order = "Ascending"|"Descending"
),
filters = list(
list(
name = "ImportResourceType",
values = list(
"string"
),
operator = "CO"|"EQ"
)
),
maxResults = 123,
nextToken = "string",
localeId = "string"
)