Class: Aws::LexModelBuildingService::Types::GetIntentsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelBuildingService::Types::GetIntentsRequest
- Includes:
- Structure
- Defined in:
- 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
-
#max_results ⇒ Integer
The maximum number of intents to return in the response.
-
#name_contains ⇒ String
Substring to match in intent names.
-
#next_token ⇒ String
A pagination token that fetches the next page of intents.
Instance Attribute Details
#max_results ⇒ Integer
The maximum number of intents to return in the response. The default is 10.
1828 1829 1830 1831 1832 1833 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1828 class GetIntentsRequest < Struct.new( :next_token, :max_results, :name_contains) include Aws::Structure end |
#name_contains ⇒ String
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.”
1828 1829 1830 1831 1832 1833 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1828 class GetIntentsRequest < Struct.new( :next_token, :max_results, :name_contains) include Aws::Structure end |
#next_token ⇒ String
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.
1828 1829 1830 1831 1832 1833 |
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 1828 class GetIntentsRequest < Struct.new( :next_token, :max_results, :name_contains) include Aws::Structure end |