Class: Aws::LexModelsV2::Types::SlotFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb

Overview

Note:

When making an API call, you may pass SlotFilter data as a hash:

{
  name: "SlotName", # required, accepts SlotName
  values: ["FilterValue"], # required
  operator: "CO", # required, accepts CO, EQ
}

Filters the response from the ListSlots operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the field to use for filtering.

Returns:

  • (String)


8637
8638
8639
8640
8641
8642
8643
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8637

class SlotFilter < Struct.new(
  :name,
  :values,
  :operator)
  SENSITIVE = []
  include Aws::Structure
end

#operatorString

The operator to use for the filter. Specify EQ when the ListSlots operation should return only aliases that equal the specified value. Specify CO when the ListSlots operation should return aliases that contain the specified value.

Returns:

  • (String)


8637
8638
8639
8640
8641
8642
8643
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8637

class SlotFilter < Struct.new(
  :name,
  :values,
  :operator)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The value to use to filter the response.

Returns:

  • (Array<String>)


8637
8638
8639
8640
8641
8642
8643
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 8637

class SlotFilter < Struct.new(
  :name,
  :values,
  :operator)
  SENSITIVE = []
  include Aws::Structure
end