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¶
lexmodelsv2_list_imports(botId, botVersion, sortBy, filters, maxResults,
nextToken, localeId)
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 |
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 Use the returned token in the |
localeId |
Specifies the locale that should be present in the list. If you
don't specify a resource type in the |
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"
)