Class: Aws::ConnectWisdomService::Types::RecommendationTrigger

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

Overview

A recommendation trigger provides context on the event that produced the referenced recommendations. Recommendations are only referenced in recommendationIds by a single RecommendationTrigger.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dataTypes::RecommendationTriggerData

A union type containing information related to the trigger.



3052
3053
3054
3055
3056
3057
3058
3059
3060
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 3052

class RecommendationTrigger < Struct.new(
  :data,
  :id,
  :recommendation_ids,
  :source,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier of the recommendation trigger.

Returns:

  • (String)


3052
3053
3054
3055
3056
3057
3058
3059
3060
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 3052

class RecommendationTrigger < Struct.new(
  :data,
  :id,
  :recommendation_ids,
  :source,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#recommendation_idsArray<String>

The identifiers of the recommendations.

Returns:

  • (Array<String>)


3052
3053
3054
3055
3056
3057
3058
3059
3060
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 3052

class RecommendationTrigger < Struct.new(
  :data,
  :id,
  :recommendation_ids,
  :source,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#sourceString

The source of the recommendation trigger.

  • ISSUE_DETECTION: The corresponding recommendations were triggered by a Contact Lens issue.

  • RULE_EVALUATION: The corresponding recommendations were triggered by a Contact Lens rule.

Returns:

  • (String)


3052
3053
3054
3055
3056
3057
3058
3059
3060
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 3052

class RecommendationTrigger < Struct.new(
  :data,
  :id,
  :recommendation_ids,
  :source,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of recommendation trigger.

Returns:

  • (String)


3052
3053
3054
3055
3056
3057
3058
3059
3060
# File 'gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/types.rb', line 3052

class RecommendationTrigger < Struct.new(
  :data,
  :id,
  :recommendation_ids,
  :source,
  :type)
  SENSITIVE = []
  include Aws::Structure
end