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

Class: Aws::LexModelBuildingService::Types::GetIntentVersionsRequest

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 GetIntentVersionsRequest data as a hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

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

Returns:

  • (Integer)


1871
1872
1873
1874
1875
1876
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1871

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

#nameString

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

Returns:

  • (String)


1871
1872
1873
1874
1875
1876
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1871

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

#next_tokenString

A pagination token for fetching the next page of intent 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)


1871
1872
1873
1874
1875
1876
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1871

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