Class: Aws::PersonalizeRuntime::Types::PredictedAction

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

Overview

An object that identifies an action.

The API returns a list of PredictedActions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_idString

The ID of the recommended action.

Returns:

  • (String)


359
360
361
362
363
364
# File 'gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/types.rb', line 359

class PredictedAction < Struct.new(
  :action_id,
  :score)
  SENSITIVE = []
  include Aws::Structure
end

#scoreFloat

The score of the recommended action. For information about action scores, see How action recommendation scoring works.

Returns:

  • (Float)


359
360
361
362
363
364
# File 'gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/types.rb', line 359

class PredictedAction < Struct.new(
  :action_id,
  :score)
  SENSITIVE = []
  include Aws::Structure
end