Get Bots
| lexmodelbuildingservice_get_bots | R Documentation |
Returns bot information as follows:¶
Description¶
Returns bot information as follows:
-
If you provide the
nameContainsfield, the response includes information for the$LATESTversion of all bots whose name contains the specified string. -
If you don't specify the
nameContainsfield, the operation returns information about the$LATESTversion of all of your bots.
This operation requires permission for the lex:GetBots action.
Usage¶
Arguments¶
nextTokenA pagination token that fetches the next page of bots. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of bots, specify the pagination token in the next request.
maxResultsThe maximum number of bots to return in the response that the request will return. The default is 10.
nameContainsSubstring to match in bot names. A bot will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."
Value¶
A list with the following syntax:
list(
bots = list(
list(
name = "string",
description = "string",
status = "BUILDING"|"READY"|"READY_BASIC_TESTING"|"FAILED"|"NOT_BUILT",
lastUpdatedDate = as.POSIXct(
"2015-01-01"
),
createdDate = as.POSIXct(
"2015-01-01"
),
version = "string"
)
),
nextToken = "string"
)