#[non_exhaustive]pub struct CreateAppMonitorInputBuilder { /* private fields */ }
Expand description
A builder for CreateAppMonitorInput
.
Implementations§
source§impl CreateAppMonitorInputBuilder
impl CreateAppMonitorInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A name for the app monitor.
This field is required.sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The top-level internet domain name for which your application has administrative authority.
This field is required.sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The top-level internet domain name for which your application has administrative authority.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The top-level internet domain name for which your application has administrative authority.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Assigns one or more tags (key-value pairs) to the app monitor.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an app monitor.
For more information, see Tagging Amazon Web Services resources.
Assigns one or more tags (key-value pairs) to the app monitor.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an app monitor.
For more information, see Tagging Amazon Web Services resources.
Assigns one or more tags (key-value pairs) to the app monitor.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an app monitor.
For more information, see Tagging Amazon Web Services resources.
sourcepub fn app_monitor_configuration(self, input: AppMonitorConfiguration) -> Self
pub fn app_monitor_configuration(self, input: AppMonitorConfiguration) -> Self
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.
If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.
sourcepub fn set_app_monitor_configuration(
self,
input: Option<AppMonitorConfiguration>
) -> Self
pub fn set_app_monitor_configuration( self, input: Option<AppMonitorConfiguration> ) -> Self
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.
If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.
sourcepub fn get_app_monitor_configuration(&self) -> &Option<AppMonitorConfiguration>
pub fn get_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.
If you omit this argument, the sample rate used for RUM is set to 10% of the user sessions.
sourcepub fn cw_log_enabled(self, input: bool) -> Self
pub fn cw_log_enabled(self, input: bool) -> Self
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.
If you omit this parameter, the default is false
.
sourcepub fn set_cw_log_enabled(self, input: Option<bool>) -> Self
pub fn set_cw_log_enabled(self, input: Option<bool>) -> Self
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.
If you omit this parameter, the default is false
.
sourcepub fn get_cw_log_enabled(&self) -> &Option<bool>
pub fn get_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.
If you omit this parameter, the default is false
.
sourcepub fn custom_events(self, input: CustomEvents) -> Self
pub fn custom_events(self, input: CustomEvents) -> Self
Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are DISABLED
.
For more information about custom events, see Send custom events.
sourcepub fn set_custom_events(self, input: Option<CustomEvents>) -> Self
pub fn set_custom_events(self, input: Option<CustomEvents>) -> Self
Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are DISABLED
.
For more information about custom events, see Send custom events.
sourcepub fn get_custom_events(&self) -> &Option<CustomEvents>
pub fn get_custom_events(&self) -> &Option<CustomEvents>
Specifies whether this app monitor allows the web client to define and send custom events. If you omit this parameter, custom events are DISABLED
.
For more information about custom events, see Send custom events.
sourcepub fn build(self) -> Result<CreateAppMonitorInput, BuildError>
pub fn build(self) -> Result<CreateAppMonitorInput, BuildError>
Consumes the builder and constructs a CreateAppMonitorInput
.
source§impl CreateAppMonitorInputBuilder
impl CreateAppMonitorInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAppMonitorOutput, SdkError<CreateAppMonitorError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAppMonitorOutput, SdkError<CreateAppMonitorError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAppMonitorInputBuilder
impl Clone for CreateAppMonitorInputBuilder
source§fn clone(&self) -> CreateAppMonitorInputBuilder
fn clone(&self) -> CreateAppMonitorInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAppMonitorInputBuilder
impl Debug for CreateAppMonitorInputBuilder
source§impl Default for CreateAppMonitorInputBuilder
impl Default for CreateAppMonitorInputBuilder
source§fn default() -> CreateAppMonitorInputBuilder
fn default() -> CreateAppMonitorInputBuilder
source§impl PartialEq for CreateAppMonitorInputBuilder
impl PartialEq for CreateAppMonitorInputBuilder
source§fn eq(&self, other: &CreateAppMonitorInputBuilder) -> bool
fn eq(&self, other: &CreateAppMonitorInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.