Module Values.GetBotVersionsRequestSource

Gets 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.

Sourcetype nonrec t = {
  1. name : BotName.t;
    (*

    The name of the bot for which versions should be returned.

    *)
  2. 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.

    *)
  3. maxResults : MaxResults.t option;
    (*

    The maximum number of bot versions to return in the response. The default is 10.

    *)
}
Sourceval context_ : string
Sourceval make : ?nextToken:??? -> ?maxResults:??? -> name:BotName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MaxResults.t | `String of BotName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t