Struct aws_sdk_connect::operation::update_queue_outbound_caller_config::builders::UpdateQueueOutboundCallerConfigFluentBuilder
source · pub struct UpdateQueueOutboundCallerConfigFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateQueueOutboundCallerConfig
.
This API is in preview release for Amazon Connect and is subject to change.
Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.
If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId
value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
Implementations§
source§impl UpdateQueueOutboundCallerConfigFluentBuilder
impl UpdateQueueOutboundCallerConfigFluentBuilder
sourcepub fn as_input(&self) -> &UpdateQueueOutboundCallerConfigInputBuilder
pub fn as_input(&self) -> &UpdateQueueOutboundCallerConfigInputBuilder
Access the UpdateQueueOutboundCallerConfig as a reference.
sourcepub async fn send(
self
) -> Result<UpdateQueueOutboundCallerConfigOutput, SdkError<UpdateQueueOutboundCallerConfigError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateQueueOutboundCallerConfigOutput, SdkError<UpdateQueueOutboundCallerConfigError, HttpResponse>>
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.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateQueueOutboundCallerConfigOutput, UpdateQueueOutboundCallerConfigError>, SdkError<UpdateQueueOutboundCallerConfigError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateQueueOutboundCallerConfigOutput, UpdateQueueOutboundCallerConfigError>, SdkError<UpdateQueueOutboundCallerConfigError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_queue_id(self, input: Option<String>) -> Self
pub fn set_queue_id(self, input: Option<String>) -> Self
The identifier for the queue.
sourcepub fn get_queue_id(&self) -> &Option<String>
pub fn get_queue_id(&self) -> &Option<String>
The identifier for the queue.
sourcepub fn outbound_caller_config(self, input: OutboundCallerConfig) -> Self
pub fn outbound_caller_config(self, input: OutboundCallerConfig) -> Self
The outbound caller ID name, number, and outbound whisper flow.
sourcepub fn set_outbound_caller_config(
self,
input: Option<OutboundCallerConfig>
) -> Self
pub fn set_outbound_caller_config( self, input: Option<OutboundCallerConfig> ) -> Self
The outbound caller ID name, number, and outbound whisper flow.
sourcepub fn get_outbound_caller_config(&self) -> &Option<OutboundCallerConfig>
pub fn get_outbound_caller_config(&self) -> &Option<OutboundCallerConfig>
The outbound caller ID name, number, and outbound whisper flow.
Trait Implementations§
source§impl Clone for UpdateQueueOutboundCallerConfigFluentBuilder
impl Clone for UpdateQueueOutboundCallerConfigFluentBuilder
source§fn clone(&self) -> UpdateQueueOutboundCallerConfigFluentBuilder
fn clone(&self) -> UpdateQueueOutboundCallerConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more