Struct rusoto_logs::MetricTransformation
[−]
[src]
pub struct MetricTransformation { pub default_value: Option<f64>, pub metric_name: String, pub metric_namespace: String, pub metric_value: String, }
Indicates how to transform ingested log events into metric data in a CloudWatch metric.
Fields
default_value: Option<f64>
(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
metric_name: String
The name of the CloudWatch metric.
metric_namespace: String
The namespace of the CloudWatch metric.
metric_value: String
The value to publish to the CloudWatch metric when a filter pattern matches a log event.
Trait Implementations
impl Default for MetricTransformation
[src]
fn default() -> MetricTransformation
[src]
Returns the "default value" for a type. Read more
impl Debug for MetricTransformation
[src]
impl Clone for MetricTransformation
[src]
fn clone(&self) -> MetricTransformation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more