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

Class: Aws::ElasticsearchService::Types::ListElasticsearchVersionsRequest

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

Overview

Note:

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

{
  max_results: 1,
  next_token: "NextToken",
}

Container for the parameters to the ListElasticsearchVersions operation. Use MaxResults to control the maximum number of results to retrieve in a single call.

Use NextToken in response to retrieve more results. If the received response does not contain a NextToken, then there are no more results to retrieve.

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

Set this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored.

Returns:

  • (Integer)


863
864
865
866
867
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 863

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

#next_tokenString

Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.

Returns:

  • (String)


863
864
865
866
867
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 863

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