Struct aws_sdk_rum::types::MetricDestinationSummary
source · #[non_exhaustive]pub struct MetricDestinationSummary {
pub destination: Option<MetricDestination>,
pub destination_arn: Option<String>,
pub iam_role_arn: Option<String>,
}Expand description
A structure that displays information about one destination that CloudWatch RUM sends extended metrics to.
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.destination: Option<MetricDestination>Specifies whether the destination is CloudWatch or Evidently.
destination_arn: Option<String>If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.
iam_role_arn: Option<String>This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.
Implementations§
source§impl MetricDestinationSummary
impl MetricDestinationSummary
sourcepub fn destination(&self) -> Option<&MetricDestination>
pub fn destination(&self) -> Option<&MetricDestination>
Specifies whether the destination is CloudWatch or Evidently.
sourcepub fn destination_arn(&self) -> Option<&str>
pub fn destination_arn(&self) -> Option<&str>
If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.
source§impl MetricDestinationSummary
impl MetricDestinationSummary
sourcepub fn builder() -> MetricDestinationSummaryBuilder
pub fn builder() -> MetricDestinationSummaryBuilder
Creates a new builder-style object to manufacture MetricDestinationSummary.
Trait Implementations§
source§impl Clone for MetricDestinationSummary
impl Clone for MetricDestinationSummary
source§fn clone(&self) -> MetricDestinationSummary
fn clone(&self) -> MetricDestinationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MetricDestinationSummary
impl Debug for MetricDestinationSummary
source§impl PartialEq for MetricDestinationSummary
impl PartialEq for MetricDestinationSummary
source§fn eq(&self, other: &MetricDestinationSummary) -> bool
fn eq(&self, other: &MetricDestinationSummary) -> bool
self and other values to be equal, and is used
by ==.