Struct aws_sdk_rum::input::PutRumMetricsDestinationInput
source · #[non_exhaustive]pub struct PutRumMetricsDestinationInput { /* private fields */ }
Implementations§
source§impl PutRumMetricsDestinationInput
impl PutRumMetricsDestinationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRumMetricsDestination, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRumMetricsDestination, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutRumMetricsDestination
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutRumMetricsDestinationInput
.
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
, do not 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.
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<PutRumMetricsDestinationInput> for PutRumMetricsDestinationInput
impl PartialEq<PutRumMetricsDestinationInput> 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 ==
.