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¶
botId
The unique identifier that Amazon Lex assigned to the bot.
botVersion
The version of the bot to list imports for.
sortBy
Determines the field that the list of imports is sorted by. You can sort by the
LastUpdatedDateTime
field in ascending or descending order.filters
Provides 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.
maxResults
The 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.
nextToken
If the response from the
list_imports
operation contains more results than specified in themaxResults
parameter, a token is returned in the response.Use the returned token in the
nextToken
parameter of alist_imports
request to return the next page of results. For a complete set of results, call thelist_imports
operation until thenextToken
returned in the response is null.localeId
Specifies the locale that should be present in the list. If you don't specify a resource type in the
filters
parameter, 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"
)