Struct aws_sdk_personalize::operation::create_metric_attribution::CreateMetricAttributionInput
source · #[non_exhaustive]pub struct CreateMetricAttributionInput {
pub name: Option<String>,
pub dataset_group_arn: Option<String>,
pub metrics: Option<Vec<MetricAttribute>>,
pub metrics_output_config: Option<MetricAttributionOutput>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
A name for the metric attribution.
dataset_group_arn: Option<String>
The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
metrics: Option<Vec<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).
metrics_output_config: Option<MetricAttributionOutput>
The output configuration details for the metric attribution.
Implementations§
source§impl CreateMetricAttributionInput
impl CreateMetricAttributionInput
sourcepub fn dataset_group_arn(&self) -> Option<&str>
pub fn dataset_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the destination dataset group for the metric attribution.
sourcepub fn metrics(&self) -> &[MetricAttribute]
pub fn metrics(&self) -> &[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).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .metrics.is_none()
.
sourcepub fn metrics_output_config(&self) -> Option<&MetricAttributionOutput>
pub fn metrics_output_config(&self) -> Option<&MetricAttributionOutput>
The output configuration details for the metric attribution.
source§impl CreateMetricAttributionInput
impl CreateMetricAttributionInput
sourcepub fn builder() -> CreateMetricAttributionInputBuilder
pub fn builder() -> CreateMetricAttributionInputBuilder
Creates a new builder-style object to manufacture CreateMetricAttributionInput
.
Trait Implementations§
source§impl Clone for CreateMetricAttributionInput
impl Clone for CreateMetricAttributionInput
source§fn clone(&self) -> CreateMetricAttributionInput
fn clone(&self) -> CreateMetricAttributionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateMetricAttributionInput
impl Debug for CreateMetricAttributionInput
source§impl PartialEq for CreateMetricAttributionInput
impl PartialEq for CreateMetricAttributionInput
source§fn eq(&self, other: &CreateMetricAttributionInput) -> bool
fn eq(&self, other: &CreateMetricAttributionInput) -> bool
self
and other
values to be equal, and is used
by ==
.