Struct aws_sdk_rum::operation::batch_create_rum_metric_definitions::BatchCreateRumMetricDefinitionsInput
source · #[non_exhaustive]pub struct BatchCreateRumMetricDefinitionsInput {
pub app_monitor_name: Option<String>,
pub destination: Option<MetricDestination>,
pub destination_arn: Option<String>,
pub metric_definitions: Option<Vec<MetricDefinitionRequest>>,
}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.app_monitor_name: Option<String>The name of the CloudWatch RUM app monitor that is to send the metrics.
destination: Option<MetricDestination>The destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write to the experiment.
destination_arn: Option<String>This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see PutRumMetricsDestination.
metric_definitions: Option<Vec<MetricDefinitionRequest>>An array of structures which define the metrics that you want to send.
Implementations§
source§impl BatchCreateRumMetricDefinitionsInput
impl BatchCreateRumMetricDefinitionsInput
sourcepub fn app_monitor_name(&self) -> Option<&str>
pub fn app_monitor_name(&self) -> Option<&str>
The name of the CloudWatch RUM app monitor that is to send the metrics.
sourcepub fn destination(&self) -> Option<&MetricDestination>
pub fn destination(&self) -> Option<&MetricDestination>
The destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write to the experiment.
sourcepub fn destination_arn(&self) -> Option<&str>
pub fn destination_arn(&self) -> Option<&str>
This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see PutRumMetricsDestination.
sourcepub fn metric_definitions(&self) -> &[MetricDefinitionRequest]
pub fn metric_definitions(&self) -> &[MetricDefinitionRequest]
An array of structures which define the metrics that you want to send.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .metric_definitions.is_none().
source§impl BatchCreateRumMetricDefinitionsInput
impl BatchCreateRumMetricDefinitionsInput
sourcepub fn builder() -> BatchCreateRumMetricDefinitionsInputBuilder
pub fn builder() -> BatchCreateRumMetricDefinitionsInputBuilder
Creates a new builder-style object to manufacture BatchCreateRumMetricDefinitionsInput.
Trait Implementations§
source§impl Clone for BatchCreateRumMetricDefinitionsInput
impl Clone for BatchCreateRumMetricDefinitionsInput
source§fn clone(&self) -> BatchCreateRumMetricDefinitionsInput
fn clone(&self) -> BatchCreateRumMetricDefinitionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchCreateRumMetricDefinitionsInput
impl PartialEq for BatchCreateRumMetricDefinitionsInput
source§fn eq(&self, other: &BatchCreateRumMetricDefinitionsInput) -> bool
fn eq(&self, other: &BatchCreateRumMetricDefinitionsInput) -> bool
self and other values to be equal, and is used
by ==.