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",
}

Constant Summary collapse

SENSITIVE =
[]

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)


2261
2262
2263
2264
2265
2266
2267
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2261

class GetIntentsRequest < Struct.new(
  :next_token,
  :max_results,
  :name_contains)
  SENSITIVE = []
  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)


2261
2262
2263
2264
2265
2266
2267
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2261

class GetIntentsRequest < Struct.new(
  :next_token,
  :max_results,
  :name_contains)
  SENSITIVE = []
  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)


2261
2262
2263
2264
2265
2266
2267
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2261

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