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

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

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)


2108
2109
2110
2111
2112
2113
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2108

class GetSlotTypesRequest < Struct.new(
  :next_token,
  :max_results,
  :name_contains)
  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)


2108
2109
2110
2111
2112
2113
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2108

class GetSlotTypesRequest < Struct.new(
  :next_token,
  :max_results,
  :name_contains)
  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)


2108
2109
2110
2111
2112
2113
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2108

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