Struct aws_sdk_apigatewayv2::types::RouteSettings
source · #[non_exhaustive]pub struct RouteSettings {
pub data_trace_enabled: Option<bool>,
pub detailed_metrics_enabled: Option<bool>,
pub logging_level: Option<LoggingLevel>,
pub throttling_burst_limit: Option<i32>,
pub throttling_rate_limit: Option<f64>,
}
Expand description
Represents a collection of route settings.
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.data_trace_enabled: Option<bool>
Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
detailed_metrics_enabled: Option<bool>
Specifies whether detailed metrics are enabled.
logging_level: Option<LoggingLevel>
Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
throttling_burst_limit: Option<i32>
Specifies the throttling burst limit.
throttling_rate_limit: Option<f64>
Specifies the throttling rate limit.
Implementations§
source§impl RouteSettings
impl RouteSettings
sourcepub fn data_trace_enabled(&self) -> Option<bool>
pub fn data_trace_enabled(&self) -> Option<bool>
Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
sourcepub fn detailed_metrics_enabled(&self) -> Option<bool>
pub fn detailed_metrics_enabled(&self) -> Option<bool>
Specifies whether detailed metrics are enabled.
sourcepub fn logging_level(&self) -> Option<&LoggingLevel>
pub fn logging_level(&self) -> Option<&LoggingLevel>
Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
sourcepub fn throttling_burst_limit(&self) -> Option<i32>
pub fn throttling_burst_limit(&self) -> Option<i32>
Specifies the throttling burst limit.
sourcepub fn throttling_rate_limit(&self) -> Option<f64>
pub fn throttling_rate_limit(&self) -> Option<f64>
Specifies the throttling rate limit.
source§impl RouteSettings
impl RouteSettings
sourcepub fn builder() -> RouteSettingsBuilder
pub fn builder() -> RouteSettingsBuilder
Creates a new builder-style object to manufacture RouteSettings
.
Trait Implementations§
source§impl Clone for RouteSettings
impl Clone for RouteSettings
source§fn clone(&self) -> RouteSettings
fn clone(&self) -> RouteSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RouteSettings
impl Debug for RouteSettings
source§impl PartialEq<RouteSettings> for RouteSettings
impl PartialEq<RouteSettings> for RouteSettings
source§fn eq(&self, other: &RouteSettings) -> bool
fn eq(&self, other: &RouteSettings) -> bool
self
and other
values to be equal, and is used
by ==
.