[][src]Struct rusoto_chime::CreateSipRuleRequest

pub struct CreateSipRuleRequest {
    pub disabled: Option<bool>,
    pub name: String,
    pub target_applications: Vec<SipRuleTargetApplication>,
    pub trigger_type: String,
    pub trigger_value: String,
}

Fields

disabled: Option<bool>

Enables or disables a rule. You must disable rules before you can delete them.

name: String

The name of the SIP rule.

target_applications: Vec<SipRuleTargetApplication>

List of SIP media applications with priority and AWS Region. Only one SIP application per AWS Region can be used.

trigger_type: String

The type of trigger whose value is assigned to the SIP rule in TriggerValue. Allowed trigger values are RequestUriHostname and ToPhoneNumber.

trigger_value: String

If TriggerType is RequestUriHostname then the value can be the outbound host name of an Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber then the value can be a customer-owned phone number in E164 format. SipRule is triggered if the SIP application requests a host name, or a If TriggerType is RequestUriHostname, then the value can be the outbound hostname of an Amazon Chime Voice Connector. If TriggerType is ToPhoneNumber, then the value can be a customer-owned phone number in E164 format. SipRule is triggered if the SIP application requests a host name, or a ToPhoneNumber value matches the incoming SIP request.

Trait Implementations

impl Clone for CreateSipRuleRequest[src]

impl Debug for CreateSipRuleRequest[src]

impl Default for CreateSipRuleRequest[src]

impl PartialEq<CreateSipRuleRequest> for CreateSipRuleRequest[src]

impl Serialize for CreateSipRuleRequest[src]

impl StructuralPartialEq for CreateSipRuleRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.