![]() |
![]()
| ![]() |
![]()
NAMEPaws::LexModelsV2::ListBotVersions - Arguments for method ListBotVersions on Paws::LexModelsV2 DESCRIPTIONThis class represents the parameters used for calling the method ListBotVersions on the Amazon Lex Model Building V2 service. Use the attributes of this class as arguments to method ListBotVersions. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListBotVersions. SYNOPSISmy $models-v2-lex = Paws->service('LexModelsV2'); my $ListBotVersionsResponse = $models - v2 -lex->ListBotVersions( BotId => 'MyId', MaxResults => 1, # OPTIONAL NextToken => 'MyNextToken', # OPTIONAL SortBy => { Attribute => 'BotVersion', # values: BotVersion Order => 'Ascending', # values: Ascending, Descending }, # OPTIONAL ); # Results: my $BotId = $ListBotVersionsResponse->BotId; my $BotVersionSummaries = $ListBotVersionsResponse->BotVersionSummaries; my $NextToken = $ListBotVersionsResponse->NextToken; # Returns a L<Paws::LexModelsV2::ListBotVersionsResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/models-v2-lex/ListBotVersions> ATTRIBUTESREQUIRED BotId => StrThe identifier of the bot to list versions for. MaxResults => IntThe 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. NextToken => StrIf 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. SortBy => Paws::LexModelsV2::BotVersionSortBySpecifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order. SEE ALSOThis class forms part of Paws, documenting arguments for method ListBotVersions in Paws::LexModelsV2 BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|