Struct aws_sdk_personalize::types::MetricAttribution
source · #[non_exhaustive]pub struct MetricAttribution {
pub name: Option<String>,
pub metric_attribution_arn: Option<String>,
pub dataset_group_arn: Option<String>,
pub metrics_output_config: Option<MetricAttributionOutput>,
pub status: Option<String>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub failure_reason: Option<String>,
}Expand description
Contains information on a metric attribution. A metric attribution creates reports on the data that you import into Amazon Personalize. Depending on how you import the data, you can view reports in Amazon CloudWatch or Amazon S3. For more information, see Measuring impact of recommendations.
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>The metric attribution's name.
metric_attribution_arn: Option<String>The metric attribution's Amazon Resource Name (ARN).
dataset_group_arn: Option<String>The metric attribution's dataset group Amazon Resource Name (ARN).
metrics_output_config: Option<MetricAttributionOutput>The metric attribution's output configuration.
status: Option<String>The metric attribution's status.
creation_date_time: Option<DateTime>The metric attribution's creation date time.
last_updated_date_time: Option<DateTime>The metric attribution's last updated date time.
failure_reason: Option<String>The metric attribution's failure reason.
Implementations§
source§impl MetricAttribution
impl MetricAttribution
sourcepub fn metric_attribution_arn(&self) -> Option<&str>
pub fn metric_attribution_arn(&self) -> Option<&str>
The metric attribution's Amazon Resource Name (ARN).
sourcepub fn dataset_group_arn(&self) -> Option<&str>
pub fn dataset_group_arn(&self) -> Option<&str>
The metric attribution's dataset group Amazon Resource Name (ARN).
sourcepub fn metrics_output_config(&self) -> Option<&MetricAttributionOutput>
pub fn metrics_output_config(&self) -> Option<&MetricAttributionOutput>
The metric attribution's output configuration.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The metric attribution's creation date time.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The metric attribution's last updated date time.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
The metric attribution's failure reason.
source§impl MetricAttribution
impl MetricAttribution
sourcepub fn builder() -> MetricAttributionBuilder
pub fn builder() -> MetricAttributionBuilder
Creates a new builder-style object to manufacture MetricAttribution.
Trait Implementations§
source§impl Clone for MetricAttribution
impl Clone for MetricAttribution
source§fn clone(&self) -> MetricAttribution
fn clone(&self) -> MetricAttribution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MetricAttribution
impl Debug for MetricAttribution
source§impl PartialEq for MetricAttribution
impl PartialEq for MetricAttribution
source§fn eq(&self, other: &MetricAttribution) -> bool
fn eq(&self, other: &MetricAttribution) -> bool
self and other values to be equal, and is used
by ==.