Struct aws_sdk_chime::types::Proxy
source · #[non_exhaustive]pub struct Proxy {
pub default_session_expiry_minutes: Option<i32>,
pub disabled: Option<bool>,
pub fall_back_phone_number: Option<String>,
pub phone_number_countries: Option<Vec<String>>,
}
Expand description
The proxy configuration for an Amazon Chime Voice Connector.
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.default_session_expiry_minutes: Option<i32>
The default number of minutes allowed for proxy sessions.
disabled: Option<bool>
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
fall_back_phone_number: Option<String>
The phone number to route calls to after a proxy session expires.
phone_number_countries: Option<Vec<String>>
The countries for proxy phone numbers to be selected from.
Implementations§
source§impl Proxy
impl Proxy
sourcepub fn default_session_expiry_minutes(&self) -> Option<i32>
pub fn default_session_expiry_minutes(&self) -> Option<i32>
The default number of minutes allowed for proxy sessions.
sourcepub fn disabled(&self) -> Option<bool>
pub fn disabled(&self) -> Option<bool>
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
sourcepub fn fall_back_phone_number(&self) -> Option<&str>
pub fn fall_back_phone_number(&self) -> Option<&str>
The phone number to route calls to after a proxy session expires.
sourcepub fn phone_number_countries(&self) -> &[String]
pub fn phone_number_countries(&self) -> &[String]
The countries for proxy phone numbers to be selected from.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .phone_number_countries.is_none()
.