Class: Aws::LexModelsV2::Types::IntentFilter

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

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

Filters the response from the ListIntents operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the field to use for the filter.

Returns:

  • (String)


6269
6270
6271
6272
6273
6274
6275
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6269

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

#operatorString

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

Returns:

  • (String)


6269
6270
6271
6272
6273
6274
6275
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6269

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

#valuesArray<String>

The value to use for the filter.

Returns:

  • (Array<String>)


6269
6270
6271
6272
6273
6274
6275
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 6269

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