#[non_exhaustive]pub struct PutRumMetricsDestinationInput {
pub app_monitor_name: Option<String>,
pub destination: Option<MetricDestination>,
pub destination_arn: Option<String>,
pub iam_role_arn: 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 will send the metrics.
destination: Option<MetricDestination>Defines 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 is to be the destination and an IAM role that has permission to write to the experiment.
destination_arn: Option<String>Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
iam_role_arn: Option<String>This parameter is required if Destination is Evidently. If Destination is CloudWatch, don't use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
If you specify this parameter, you must be signed on to a role that has PassRole permissions attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't include PassRole permissions.
Implementations§
source§impl PutRumMetricsDestinationInput
impl PutRumMetricsDestinationInput
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 will send the metrics.
sourcepub fn destination(&self) -> Option<&MetricDestination>
pub fn destination(&self) -> Option<&MetricDestination>
Defines 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 is to be the destination 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>
Use this parameter only if Destination is Evidently. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
This parameter is required if Destination is Evidently. If Destination is CloudWatch, don't use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
If you specify this parameter, you must be signed on to a role that has PassRole permissions attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't include PassRole permissions.
source§impl PutRumMetricsDestinationInput
impl PutRumMetricsDestinationInput
sourcepub fn builder() -> PutRumMetricsDestinationInputBuilder
pub fn builder() -> PutRumMetricsDestinationInputBuilder
Creates a new builder-style object to manufacture PutRumMetricsDestinationInput.
Trait Implementations§
source§impl Clone for PutRumMetricsDestinationInput
impl Clone for PutRumMetricsDestinationInput
source§fn clone(&self) -> PutRumMetricsDestinationInput
fn clone(&self) -> PutRumMetricsDestinationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for PutRumMetricsDestinationInput
impl PartialEq for PutRumMetricsDestinationInput
source§fn eq(&self, other: &PutRumMetricsDestinationInput) -> bool
fn eq(&self, other: &PutRumMetricsDestinationInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutRumMetricsDestinationInput
Auto Trait Implementations§
impl Freeze for PutRumMetricsDestinationInput
impl RefUnwindSafe for PutRumMetricsDestinationInput
impl Send for PutRumMetricsDestinationInput
impl Sync for PutRumMetricsDestinationInput
impl Unpin for PutRumMetricsDestinationInput
impl UnwindSafe for PutRumMetricsDestinationInput
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