#[non_exhaustive]pub struct OutboundCallConfig {
pub connect_contact_flow_id: String,
pub connect_source_phone_number: Option<String>,
pub connect_queue_id: Option<String>,
pub answer_machine_detection_config: Option<AnswerMachineDetectionConfig>,
}
Expand description
The configuration used for outbound calls.
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.connect_contact_flow_id: String
The identifier of the contact flow for the outbound call.
connect_source_phone_number: Option<String>
The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.
connect_queue_id: Option<String>
The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number.
answer_machine_detection_config: Option<AnswerMachineDetectionConfig>
Answering Machine Detection config
Implementations§
source§impl OutboundCallConfig
impl OutboundCallConfig
sourcepub fn connect_contact_flow_id(&self) -> &str
pub fn connect_contact_flow_id(&self) -> &str
The identifier of the contact flow for the outbound call.
sourcepub fn connect_source_phone_number(&self) -> Option<&str>
pub fn connect_source_phone_number(&self) -> Option<&str>
The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.
sourcepub fn connect_queue_id(&self) -> Option<&str>
pub fn connect_queue_id(&self) -> Option<&str>
The queue for the call. If you specify a queue, the phone displayed for caller ID is the phone number specified in the queue. If you do not specify a queue, the queue defined in the contact flow is used. If you do not specify a queue, you must specify a source phone number.
sourcepub fn answer_machine_detection_config(
&self
) -> Option<&AnswerMachineDetectionConfig>
pub fn answer_machine_detection_config( &self ) -> Option<&AnswerMachineDetectionConfig>
Answering Machine Detection config
source§impl OutboundCallConfig
impl OutboundCallConfig
sourcepub fn builder() -> OutboundCallConfigBuilder
pub fn builder() -> OutboundCallConfigBuilder
Creates a new builder-style object to manufacture OutboundCallConfig
.
Trait Implementations§
source§impl Clone for OutboundCallConfig
impl Clone for OutboundCallConfig
source§fn clone(&self) -> OutboundCallConfig
fn clone(&self) -> OutboundCallConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OutboundCallConfig
impl Debug for OutboundCallConfig
source§impl PartialEq for OutboundCallConfig
impl PartialEq for OutboundCallConfig
source§fn eq(&self, other: &OutboundCallConfig) -> bool
fn eq(&self, other: &OutboundCallConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutboundCallConfig
Auto Trait Implementations§
impl Freeze for OutboundCallConfig
impl RefUnwindSafe for OutboundCallConfig
impl Send for OutboundCallConfig
impl Sync for OutboundCallConfig
impl Unpin for OutboundCallConfig
impl UnwindSafe for OutboundCallConfig
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