Struct aws_sdk_chime::types::SipRule
source · #[non_exhaustive]pub struct SipRule { /* private fields */ }Expand description
The SIP rule details, including name, triggers, and target applications. An AWS account can have multiple SIP rules.
Implementations§
source§impl SipRule
impl SipRule
sourcepub fn sip_rule_id(&self) -> Option<&str>
pub fn sip_rule_id(&self) -> Option<&str>
The SIP rule ID.
sourcepub fn disabled(&self) -> Option<bool>
pub fn disabled(&self) -> Option<bool>
Indicates whether the SIP rule is enabled or disabled. You must disable a rule before you can delete it.
sourcepub fn trigger_type(&self) -> Option<&SipRuleTriggerType>
pub fn trigger_type(&self) -> Option<&SipRuleTriggerType>
The type of trigger assigned to the SIP rule in TriggerValue, currently RequestUriHostname or ToPhoneNumber.
sourcepub fn trigger_value(&self) -> Option<&str>
pub fn trigger_value(&self) -> Option<&str>
If TriggerType is RequestUriHostname, then the value can be the outbound host name of the Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber, then the value can be a customer-owned phone number in E164 format. SipRule is triggered when a SIP rule requests host name or ToPhoneNumber matches in the incoming SIP request.
sourcepub fn target_applications(&self) -> Option<&[SipRuleTargetApplication]>
pub fn target_applications(&self) -> Option<&[SipRuleTargetApplication]>
Target SIP media application and other details, such as priority and AWS Region, to be specified in the SIP rule. Only one SIP rule per AWS Region can be provided.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The time at which the SIP rule was created, in ISO 8601 format.
sourcepub fn updated_timestamp(&self) -> Option<&DateTime>
pub fn updated_timestamp(&self) -> Option<&DateTime>
The time at which the SIP rule was last updated, in ISO 8601 format.