#[non_exhaustive]pub struct StartOutboundVoiceContactInput {
pub destination_phone_number: Option<String>,
pub contact_flow_id: Option<String>,
pub instance_id: Option<String>,
pub client_token: Option<String>,
pub source_phone_number: Option<String>,
pub queue_id: Option<String>,
pub attributes: Option<HashMap<String, String>>,
pub answer_machine_detection_config: Option<AnswerMachineDetectionConfig>,
pub campaign_id: Option<String>,
pub traffic_type: Option<TrafficType>,
}
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.destination_phone_number: Option<String>
The phone number of the customer, in E.164 format.
contact_flow_id: Option<String>
The identifier of the contact flow for the outbound call. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
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.
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.
attributes: Option<HashMap<String, String>>
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
answer_machine_detection_config: Option<AnswerMachineDetectionConfig>
Configuration of the answering machine detection for this outbound call.
campaign_id: Option<String>
The campaign identifier of the outbound communication.
traffic_type: Option<TrafficType>
Denotes the class of traffic. Calls with different traffic types are handled differently by Amazon Connect. The default value is GENERAL
. Use CAMPAIGN
if EnableAnswerMachineDetection
is set to true
. For all other cases, use GENERAL
.
Implementations
sourceimpl StartOutboundVoiceContactInput
impl StartOutboundVoiceContactInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartOutboundVoiceContact, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<StartOutboundVoiceContact, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartOutboundVoiceContact
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartOutboundVoiceContactInput
sourceimpl StartOutboundVoiceContactInput
impl StartOutboundVoiceContactInput
sourcepub fn destination_phone_number(&self) -> Option<&str>
pub fn destination_phone_number(&self) -> Option<&str>
The phone number of the customer, in E.164 format.
sourcepub fn contact_flow_id(&self) -> Option<&str>
pub fn contact_flow_id(&self) -> Option<&str>
The identifier of the contact flow for the outbound call. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
sourcepub fn source_phone_number(&self) -> Option<&str>
pub fn 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 queue_id(&self) -> Option<&str>
pub fn 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 attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
sourcepub fn answer_machine_detection_config(
&self
) -> Option<&AnswerMachineDetectionConfig>
pub fn answer_machine_detection_config(
&self
) -> Option<&AnswerMachineDetectionConfig>
Configuration of the answering machine detection for this outbound call.
sourcepub fn campaign_id(&self) -> Option<&str>
pub fn campaign_id(&self) -> Option<&str>
The campaign identifier of the outbound communication.
sourcepub fn traffic_type(&self) -> Option<&TrafficType>
pub fn traffic_type(&self) -> Option<&TrafficType>
Denotes the class of traffic. Calls with different traffic types are handled differently by Amazon Connect. The default value is GENERAL
. Use CAMPAIGN
if EnableAnswerMachineDetection
is set to true
. For all other cases, use GENERAL
.
Trait Implementations
sourceimpl Clone for StartOutboundVoiceContactInput
impl Clone for StartOutboundVoiceContactInput
sourcefn clone(&self) -> StartOutboundVoiceContactInput
fn clone(&self) -> StartOutboundVoiceContactInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<StartOutboundVoiceContactInput> for StartOutboundVoiceContactInput
impl PartialEq<StartOutboundVoiceContactInput> for StartOutboundVoiceContactInput
sourcefn eq(&self, other: &StartOutboundVoiceContactInput) -> bool
fn eq(&self, other: &StartOutboundVoiceContactInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartOutboundVoiceContactInput) -> bool
fn ne(&self, other: &StartOutboundVoiceContactInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartOutboundVoiceContactInput
Auto Trait Implementations
impl RefUnwindSafe for StartOutboundVoiceContactInput
impl Send for StartOutboundVoiceContactInput
impl Sync for StartOutboundVoiceContactInput
impl Unpin for StartOutboundVoiceContactInput
impl UnwindSafe for StartOutboundVoiceContactInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more