AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::LexModelBuildingService::Types::GetSlotTypesRequest

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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

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

Returns:

  • (Integer)


2676
2677
2678
2679
2680
2681
2682
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2676

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

#name_containsString

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

Returns:

  • (String)


2676
2677
2678
2679
2680
2681
2682
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2676

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

#next_tokenString

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

Returns:

  • (String)


2676
2677
2678
2679
2680
2681
2682
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2676

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