#[non_exhaustive]pub struct UpdateRumMetricDefinitionInput {
pub app_monitor_name: Option<String>,
pub destination: Option<MetricDestination>,
pub destination_arn: Option<String>,
pub metric_definition: Option<MetricDefinitionRequest>,
pub metric_definition_id: Option<String>,
}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 sends these 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_definition: Option<MetricDefinitionRequest>A structure that contains the new definition that you want to use for this metric.
metric_definition_id: Option<String>The ID of the metric definition to update.
Implementations§
source§impl UpdateRumMetricDefinitionInput
impl UpdateRumMetricDefinitionInput
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 sends these 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_definition(&self) -> Option<&MetricDefinitionRequest>
pub fn metric_definition(&self) -> Option<&MetricDefinitionRequest>
A structure that contains the new definition that you want to use for this metric.
sourcepub fn metric_definition_id(&self) -> Option<&str>
pub fn metric_definition_id(&self) -> Option<&str>
The ID of the metric definition to update.
source§impl UpdateRumMetricDefinitionInput
impl UpdateRumMetricDefinitionInput
sourcepub fn builder() -> UpdateRumMetricDefinitionInputBuilder
pub fn builder() -> UpdateRumMetricDefinitionInputBuilder
Creates a new builder-style object to manufacture UpdateRumMetricDefinitionInput.
Trait Implementations§
source§impl Clone for UpdateRumMetricDefinitionInput
impl Clone for UpdateRumMetricDefinitionInput
source§fn clone(&self) -> UpdateRumMetricDefinitionInput
fn clone(&self) -> UpdateRumMetricDefinitionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateRumMetricDefinitionInput
impl PartialEq for UpdateRumMetricDefinitionInput
source§fn eq(&self, other: &UpdateRumMetricDefinitionInput) -> bool
fn eq(&self, other: &UpdateRumMetricDefinitionInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRumMetricDefinitionInput
Auto Trait Implementations§
impl Freeze for UpdateRumMetricDefinitionInput
impl RefUnwindSafe for UpdateRumMetricDefinitionInput
impl Send for UpdateRumMetricDefinitionInput
impl Sync for UpdateRumMetricDefinitionInput
impl Unpin for UpdateRumMetricDefinitionInput
impl UnwindSafe for UpdateRumMetricDefinitionInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more