Struct aws_sdk_chime::types::Termination
source · #[non_exhaustive]pub struct Termination {
pub cps_limit: Option<i32>,
pub default_phone_number: Option<String>,
pub calling_regions: Option<Vec<String>>,
pub cidr_allowed_list: Option<Vec<String>>,
pub disabled: Option<bool>,
}Expand description
Termination settings enable your SIP hosts to make outbound calls using your 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.cps_limit: Option<i32>The limit on calls per second. Max value based on account service quota. Default value of 1.
default_phone_number: Option<String>The default caller ID phone number.
calling_regions: Option<Vec<String>>The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
cidr_allowed_list: Option<Vec<String>>The IP addresses allowed to make calls, in CIDR format. Required.
disabled: Option<bool>When termination settings are disabled, outbound calls can not be made.
Implementations§
source§impl Termination
impl Termination
sourcepub fn cps_limit(&self) -> Option<i32>
pub fn cps_limit(&self) -> Option<i32>
The limit on calls per second. Max value based on account service quota. Default value of 1.
sourcepub fn default_phone_number(&self) -> Option<&str>
pub fn default_phone_number(&self) -> Option<&str>
The default caller ID phone number.
sourcepub fn calling_regions(&self) -> &[String]
pub fn calling_regions(&self) -> &[String]
The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .calling_regions.is_none().
sourcepub fn cidr_allowed_list(&self) -> &[String]
pub fn cidr_allowed_list(&self) -> &[String]
The IP addresses allowed to make calls, in CIDR format. Required.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cidr_allowed_list.is_none().
source§impl Termination
impl Termination
sourcepub fn builder() -> TerminationBuilder
pub fn builder() -> TerminationBuilder
Creates a new builder-style object to manufacture Termination.
Trait Implementations§
source§impl Clone for Termination
impl Clone for Termination
source§fn clone(&self) -> Termination
fn clone(&self) -> Termination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Termination
impl Debug for Termination
source§impl PartialEq for Termination
impl PartialEq for Termination
source§fn eq(&self, other: &Termination) -> bool
fn eq(&self, other: &Termination) -> bool
self and other values to be equal, and is used
by ==.