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()
.
Trait Implementations§
source§impl PartialEq for Proxy
impl PartialEq for Proxy
impl StructuralPartialEq for Proxy
Auto Trait Implementations§
impl Freeze for Proxy
impl RefUnwindSafe for Proxy
impl Send for Proxy
impl Sync for Proxy
impl Unpin for Proxy
impl UnwindSafe for Proxy
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more