pub struct StartOutboundVoiceContactRequest {
pub attributes: Option<HashMap<String, String>>,
pub client_token: Option<String>,
pub contact_flow_id: String,
pub destination_phone_number: String,
pub instance_id: String,
pub queue_id: Option<String>,
pub source_phone_number: Option<String>,
}
Fields
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.
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.
contact_flow_id: 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
destination_phone_number: String
The phone number of the customer, in E.164 format.
instance_id: String
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
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.
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.
Trait Implementations
sourceimpl Clone for StartOutboundVoiceContactRequest
impl Clone for StartOutboundVoiceContactRequest
sourcefn clone(&self) -> StartOutboundVoiceContactRequest
fn clone(&self) -> StartOutboundVoiceContactRequest
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 Default for StartOutboundVoiceContactRequest
impl Default for StartOutboundVoiceContactRequest
sourcefn default() -> StartOutboundVoiceContactRequest
fn default() -> StartOutboundVoiceContactRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<StartOutboundVoiceContactRequest> for StartOutboundVoiceContactRequest
impl PartialEq<StartOutboundVoiceContactRequest> for StartOutboundVoiceContactRequest
sourcefn eq(&self, other: &StartOutboundVoiceContactRequest) -> bool
fn eq(&self, other: &StartOutboundVoiceContactRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartOutboundVoiceContactRequest) -> bool
fn ne(&self, other: &StartOutboundVoiceContactRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartOutboundVoiceContactRequest
Auto Trait Implementations
impl RefUnwindSafe for StartOutboundVoiceContactRequest
impl Send for StartOutboundVoiceContactRequest
impl Sync for StartOutboundVoiceContactRequest
impl Unpin for StartOutboundVoiceContactRequest
impl UnwindSafe for StartOutboundVoiceContactRequest
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