AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the ListBotVersions operation. Gets information about all of the versions of a bot.

The ListBotVersions operation returns a summary of each version of a bot. For example, if a bot has three numbered versions, the ListBotVersions operation returns for summaries, one for each numbered version and one for the DRAFT version.

The ListBotVersions operation always returns at least one version, the DRAFT version.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.LexModelsV2.AmazonLexModelsV2Request
      Amazon.LexModelsV2.Model.ListBotVersionsRequest

Namespace: Amazon.LexModelsV2.Model
Assembly: AWSSDK.LexModelsV2.dll
Version: 3.x.y.z

Syntax

C#
public class ListBotVersionsRequest : AmazonLexModelsV2Request
         IAmazonWebServiceRequest

The ListBotVersionsRequest type exposes the following members

Constructors

NameDescription
Public Method ListBotVersionsRequest()

Properties

NameTypeDescription
Public Property BotId System.String

Gets and sets the property BotId.

The identifier of the bot to list versions for.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of versions 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.

Public Property NextToken System.String

Gets and sets the property NextToken.

If the response to the ListBotVersion operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.

Public Property SortBy Amazon.LexModelsV2.Model.BotVersionSortBy

Gets and sets the property SortBy.

Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5