#[non_exhaustive]pub struct UpdateMonitorInput {
pub monitor_name: Option<String>,
pub resources_to_add: Option<Vec<String>>,
pub resources_to_remove: Option<Vec<String>>,
pub status: Option<MonitorConfigState>,
pub client_token: Option<String>,
pub max_city_networks_to_monitor: i32,
pub internet_measurements_log_delivery: Option<InternetMeasurementsLogDelivery>,
pub traffic_percentage_to_monitor: i32,
pub health_events_config: Option<HealthEventsConfig>,
}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.monitor_name: Option<String>The name of the monitor.
resources_to_add: Option<Vec<String>>The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
You can add a combination of Amazon Virtual Private Clouds (VPCs) and Amazon CloudFront distributions, or you can add Amazon WorkSpaces directories. You can't add all three types of resources.
If you add only VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
resources_to_remove: Option<Vec<String>>The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).
status: Option<MonitorConfigState>The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following: ACTIVE and INACTIVE. The following values are not accepted: PENDING, and ERROR.
client_token: Option<String>A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. You should not reuse the same client token for other API requests.
max_city_networks_to_monitor: i32The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network or ASN, such as an internet service provider, that clients access the resources through.
internet_measurements_log_delivery: Option<InternetMeasurementsLogDelivery>Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.
traffic_percentage_to_monitor: i32The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
health_events_config: Option<HealthEventsConfig>The list of health event thresholds. A health event threshold percentage, for performance and availability, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users.
Implementations§
source§impl UpdateMonitorInput
impl UpdateMonitorInput
sourcepub fn monitor_name(&self) -> Option<&str>
pub fn monitor_name(&self) -> Option<&str>
The name of the monitor.
sourcepub fn resources_to_add(&self) -> Option<&[String]>
pub fn resources_to_add(&self) -> Option<&[String]>
The resources to include in a monitor, which you provide as a set of Amazon Resource Names (ARNs).
You can add a combination of Amazon Virtual Private Clouds (VPCs) and Amazon CloudFront distributions, or you can add Amazon WorkSpaces directories. You can't add all three types of resources.
If you add only VPC resources, at least one VPC must have an Internet Gateway attached to it, to make sure that it has internet connectivity.
sourcepub fn resources_to_remove(&self) -> Option<&[String]>
pub fn resources_to_remove(&self) -> Option<&[String]>
The resources to remove from a monitor, which you provide as a set of Amazon Resource Names (ARNs).
sourcepub fn status(&self) -> Option<&MonitorConfigState>
pub fn status(&self) -> Option<&MonitorConfigState>
The status for a monitor. The accepted values for Status with the UpdateMonitor API call are the following: ACTIVE and INACTIVE. The following values are not accepted: PENDING, and ERROR.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. You should not reuse the same client token for other API requests.
sourcepub fn max_city_networks_to_monitor(&self) -> i32
pub fn max_city_networks_to_monitor(&self) -> i32
The maximum number of city-networks to monitor for your resources. A city-network is the location (city) where clients access your application resources from and the network or ASN, such as an internet service provider, that clients access the resources through.
sourcepub fn internet_measurements_log_delivery(
&self
) -> Option<&InternetMeasurementsLogDelivery>
pub fn internet_measurements_log_delivery( &self ) -> Option<&InternetMeasurementsLogDelivery>
Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.
sourcepub fn traffic_percentage_to_monitor(&self) -> i32
pub fn traffic_percentage_to_monitor(&self) -> i32
The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.
sourcepub fn health_events_config(&self) -> Option<&HealthEventsConfig>
pub fn health_events_config(&self) -> Option<&HealthEventsConfig>
The list of health event thresholds. A health event threshold percentage, for performance and availability, determines when Internet Monitor creates a health event when there's an internet issue that affects your application end users.
source§impl UpdateMonitorInput
impl UpdateMonitorInput
sourcepub fn builder() -> UpdateMonitorInputBuilder
pub fn builder() -> UpdateMonitorInputBuilder
Creates a new builder-style object to manufacture UpdateMonitorInput.
Trait Implementations§
source§impl Clone for UpdateMonitorInput
impl Clone for UpdateMonitorInput
source§fn clone(&self) -> UpdateMonitorInput
fn clone(&self) -> UpdateMonitorInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateMonitorInput
impl Debug for UpdateMonitorInput
source§impl PartialEq<UpdateMonitorInput> for UpdateMonitorInput
impl PartialEq<UpdateMonitorInput> for UpdateMonitorInput
source§fn eq(&self, other: &UpdateMonitorInput) -> bool
fn eq(&self, other: &UpdateMonitorInput) -> bool
self and other values to be equal, and is used
by ==.