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

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

Overview

An object that identifies an action.

The API returns a list of ‘PredictedAction`s.

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 '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].

[1]: docs.aws.amazon.com/personalize/latest/dg/how-action-recommendation-scoring-works.html

Returns:

  • (Float)


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

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