#[non_exhaustive]pub struct UpdateAppMonitorInput {
pub name: Option<String>,
pub domain: Option<String>,
pub app_monitor_configuration: Option<AppMonitorConfiguration>,
pub cw_log_enabled: Option<bool>,
pub custom_events: Option<CustomEvents>,
}
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.name: Option<String>
The name of the app monitor to update.
domain: Option<String>
The top-level internet domain name for which your application has administrative authority.
app_monitor_configuration: Option<AppMonitorConfiguration>
A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include AppMonitorConfiguration
, you must set up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services.
cw_log_enabled: Option<bool>
Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
custom_events: Option<CustomEvents>
Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED
.
For more information about custom events, see Send custom events.
Implementations§
source§impl UpdateAppMonitorInput
impl UpdateAppMonitorInput
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The top-level internet domain name for which your application has administrative authority.
sourcepub fn app_monitor_configuration(&self) -> Option<&AppMonitorConfiguration>
pub fn app_monitor_configuration(&self) -> Option<&AppMonitorConfiguration>
A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include AppMonitorConfiguration
, you must set up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services.
sourcepub fn cw_log_enabled(&self) -> Option<bool>
pub fn cw_log_enabled(&self) -> Option<bool>
Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
sourcepub fn custom_events(&self) -> Option<&CustomEvents>
pub fn custom_events(&self) -> Option<&CustomEvents>
Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED
.
For more information about custom events, see Send custom events.
source§impl UpdateAppMonitorInput
impl UpdateAppMonitorInput
sourcepub fn builder() -> UpdateAppMonitorInputBuilder
pub fn builder() -> UpdateAppMonitorInputBuilder
Creates a new builder-style object to manufacture UpdateAppMonitorInput
.
Trait Implementations§
source§impl Clone for UpdateAppMonitorInput
impl Clone for UpdateAppMonitorInput
source§fn clone(&self) -> UpdateAppMonitorInput
fn clone(&self) -> UpdateAppMonitorInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateAppMonitorInput
impl Debug for UpdateAppMonitorInput
source§impl PartialEq for UpdateAppMonitorInput
impl PartialEq for UpdateAppMonitorInput
source§fn eq(&self, other: &UpdateAppMonitorInput) -> bool
fn eq(&self, other: &UpdateAppMonitorInput) -> bool
self
and other
values to be equal, and is used
by ==
.