Values.GetBotVersionsResponseSourceGets information about all of the versions of a bot. The GetBotVersions operation returns a BotMetadata object for each version of a bot. For example, if a bot has three numbered versions, the GetBotVersions operation returns four BotMetadata objects in the response, one for each numbered version and one for the $LATEST version. The GetBotVersions operation always returns at least one version, the $LATEST version. This operation requires permissions for the lex:GetBotVersions action.
type nonrec t = {bots : BotMetadataList.t option;An array of BotMetadata objects, one for each numbered version of the bot plus one for the $LATEST version.
*)nextToken : NextToken.t option;A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
*)}type nonrec error = [ | `BadRequestException of BadRequestException.t| `InternalFailureException of InternalFailureException.t| `LimitExceededException of LimitExceededException.t| `NotFoundException of NotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `BadRequestException of BadRequestException.t
| `InternalFailureException of InternalFailureException.t
| `LimitExceededException of LimitExceededException.t
| `NotFoundException of NotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BadRequestException of BadRequestException.t
| `InternalFailureException of InternalFailureException.t
| `LimitExceededException of LimitExceededException.t
| `NotFoundException of NotFoundException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `String of BotName.t
| `Timestamp of Timestamp.t ])
list ]
list
| `String of NextToken.t ])
list ]