List Exports
| lexmodelsv2_list_exports | R Documentation |
Lists the exports for a bot, bot locale, or custom vocabulary¶
Description¶
Lists the exports for a bot, bot locale, or custom vocabulary. Exports 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 exports for.
sortByDetermines the field that the list of exports is sorted by. You can sort by the
LastUpdatedDateTimefield in ascending or descending order.filtersProvides the specification of a filter used to limit the exports 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 exports 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_exportsoperation contains more results that specified in themaxResultsparameter, a token is returned in the response.Use the returned token in the
nextTokenparameter of alist_exportsrequest to return the next page of results. For a complete set of results, call thelist_exportsoperation until thenextTokenreturned in the response is null.localeIdSpecifies the resources that should be exported. If you don't specify a resource type in the
filtersparameter, both bot locales and custom vocabularies are exported.
Value¶
A list with the following syntax:
list(
botId = "string",
botVersion = "string",
exportSummaries = list(
list(
exportId = "string",
resourceSpecification = list(
botExportSpecification = list(
botId = "string",
botVersion = "string"
),
botLocaleExportSpecification = list(
botId = "string",
botVersion = "string",
localeId = "string"
),
customVocabularyExportSpecification = list(
botId = "string",
botVersion = "string",
localeId = "string"
),
testSetExportSpecification = list(
testSetId = "string"
)
),
fileFormat = "LexJson"|"TSV"|"CSV",
exportStatus = "InProgress"|"Completed"|"Failed"|"Deleting",
creationDateTime = as.POSIXct(
"2015-01-01"
),
lastUpdatedDateTime = as.POSIXct(
"2015-01-01"
)
)
),
nextToken = "string",
localeId = "string"
)
Request syntax¶
svc$list_exports(
botId = "string",
botVersion = "string",
sortBy = list(
attribute = "LastUpdatedDateTime",
order = "Ascending"|"Descending"
),
filters = list(
list(
name = "ExportResourceType",
values = list(
"string"
),
operator = "CO"|"EQ"
)
),
maxResults = 123,
nextToken = "string",
localeId = "string"
)