Class: Aws::LexModelsV2::Types::ListBotVersionsRequest

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

Overview

Note:

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

{
  bot_id: "Id", # required
  sort_by: {
    attribute: "BotVersion", # required, accepts BotVersion
    order: "Ascending", # required, accepts Ascending, Descending
  },
  max_results: 1,
  next_token: "NextToken",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bot_idString

The identifier of the bot to list versions for.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6739

class ListBotVersionsRequest < Struct.new(
  :bot_id,
  :sort_by,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

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.

Returns:

  • (Integer)


6739
6740
6741
6742
6743
6744
6745
6746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6739

class ListBotVersionsRequest < Struct.new(
  :bot_id,
  :sort_by,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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.

Returns:

  • (String)


6739
6740
6741
6742
6743
6744
6745
6746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6739

class ListBotVersionsRequest < Struct.new(
  :bot_id,
  :sort_by,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#sort_byTypes::BotVersionSortBy

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.



6739
6740
6741
6742
6743
6744
6745
6746
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6739

class ListBotVersionsRequest < Struct.new(
  :bot_id,
  :sort_by,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end