Class: Aws::QConnect::Types::RecommendationTrigger

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/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.



3407
3408
3409
3410
3411
3412
3413
3414
3415
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3407

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

#idString

The identifier of the recommendation trigger.

Returns:

  • (String)


3407
3408
3409
3410
3411
3412
3413
3414
3415
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3407

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>)


3407
3408
3409
3410
3411
3412
3413
3414
3415
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3407

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)


3407
3408
3409
3410
3411
3412
3413
3414
3415
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3407

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

#typeString

The type of recommendation trigger.

Returns:

  • (String)


3407
3408
3409
3410
3411
3412
3413
3414
3415
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 3407

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