Struct aws_sdk_connect::client::fluent_builders::StartOutboundVoiceContact [−][src]
pub struct StartOutboundVoiceContact<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartOutboundVoiceContact
.
Places an outbound call to a contact, and then initiates the contact flow. It performs the
actions in the contact flow that's specified (in ContactFlowId
).
Agents do not initiate the outbound API, which means that they do not dial the contact. If the contact flow places an outbound call to a contact, and then puts the contact in queue, the call is then routed to the agent, like any other inbound case.
There is a 60-second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.
UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
Campaign calls are not allowed by default. Before you can make a call with
TrafficType
= CAMPAIGN
, you must submit a service quota increase
request. For more information, see Amazon Connect Service Quotas
in the Amazon Connect Administrator Guide.
Implementations
impl<C, M, R> StartOutboundVoiceContact<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartOutboundVoiceContact<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartOutboundVoiceContactOutput, SdkError<StartOutboundVoiceContactError>> where
R::Policy: SmithyRetryPolicy<StartOutboundVoiceContactInputOperationOutputAlias, StartOutboundVoiceContactOutput, StartOutboundVoiceContactError, StartOutboundVoiceContactInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartOutboundVoiceContactOutput, SdkError<StartOutboundVoiceContactError>> where
R::Policy: SmithyRetryPolicy<StartOutboundVoiceContactInputOperationOutputAlias, StartOutboundVoiceContactOutput, StartOutboundVoiceContactError, StartOutboundVoiceContactInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The phone number of the customer, in E.164 format.
The phone number of the customer, in E.164 format.
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
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
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
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.
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.
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.
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.
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.
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.
Adds a key-value pair to Attributes
.
To override the contents of this collection use set_attributes
.
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.
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.
Configuration of the answering machine detection for this outbound call.
pub fn set_answer_machine_detection_config(
self,
input: Option<AnswerMachineDetectionConfig>
) -> Self
pub fn set_answer_machine_detection_config(
self,
input: Option<AnswerMachineDetectionConfig>
) -> Self
Configuration of the answering machine detection for this outbound call.
The campaign identifier of the outbound communication.
The campaign identifier of the outbound communication.
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
.
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
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartOutboundVoiceContact<C, M, R>
impl<C, M, R> Send for StartOutboundVoiceContact<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartOutboundVoiceContact<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartOutboundVoiceContact<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartOutboundVoiceContact<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more