You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::LexModelBuildingService::Types::GetBotVersionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb

Overview

Note:

When making an API call, you may pass GetBotVersionsRequest data as a hash:

{
  name: "BotName", # required
  next_token: "NextToken",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

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

Returns:

  • (Integer)


1386
1387
1388
1389
1390
1391
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1386

class GetBotVersionsRequest < Struct.new(
  :name,
  :next_token,
  :max_results)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


1386
1387
1388
1389
1390
1391
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1386

class GetBotVersionsRequest < Struct.new(
  :name,
  :next_token,
  :max_results)
  include Aws::Structure
end

#next_tokenString

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.

Returns:

  • (String)


1386
1387
1388
1389
1390
1391
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1386

class GetBotVersionsRequest < Struct.new(
  :name,
  :next_token,
  :max_results)
  include Aws::Structure
end