Class: Aws::Personalize::Types::CreateMetricAttributionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dataset_group_arnString

The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.

Returns:

  • (String)


1521
1522
1523
1524
1525
1526
1527
1528
# File 'lib/aws-sdk-personalize/types.rb', line 1521

class CreateMetricAttributionRequest < Struct.new(
  :name,
  :dataset_group_arn,
  :metrics,
  :metrics_output_config)
  SENSITIVE = []
  include Aws::Structure
end

#metricsArray<Types::MetricAttribute>

A list of metric attributes for the metric attribution. Each metric attribute specifies an event type to track and a function. Available functions are ‘SUM()` or `SAMPLECOUNT()`. For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).

Returns:



1521
1522
1523
1524
1525
1526
1527
1528
# File 'lib/aws-sdk-personalize/types.rb', line 1521

class CreateMetricAttributionRequest < Struct.new(
  :name,
  :dataset_group_arn,
  :metrics,
  :metrics_output_config)
  SENSITIVE = []
  include Aws::Structure
end

#metrics_output_configTypes::MetricAttributionOutput

The output configuration details for the metric attribution.



1521
1522
1523
1524
1525
1526
1527
1528
# File 'lib/aws-sdk-personalize/types.rb', line 1521

class CreateMetricAttributionRequest < Struct.new(
  :name,
  :dataset_group_arn,
  :metrics,
  :metrics_output_config)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name for the metric attribution.

Returns:

  • (String)


1521
1522
1523
1524
1525
1526
1527
1528
# File 'lib/aws-sdk-personalize/types.rb', line 1521

class CreateMetricAttributionRequest < Struct.new(
  :name,
  :dataset_group_arn,
  :metrics,
  :metrics_output_config)
  SENSITIVE = []
  include Aws::Structure
end