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

Class: Aws::LexModelBuildingService::Types::GetIntentsRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

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

Returns:

  • (Integer)


1927
1928
1929
1930
1931
1932
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1927

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

#name_containsString

Substring to match in intent names. An intent will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."

Returns:

  • (String)


1927
1928
1929
1930
1931
1932
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1927

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

#next_tokenString

A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request.

Returns:

  • (String)


1927
1928
1929
1930
1931
1932
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1927

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