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 phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for
OutboundCallerIdNumberId
. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is 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 aResourceNotFoundException
. -
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. -
If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
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 fn customize(
self
) -> CustomizableOperation<UpdateQueueOutboundCallerConfigOutput, UpdateQueueOutboundCallerConfigError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateQueueOutboundCallerConfigOutput, UpdateQueueOutboundCallerConfigError, Self>
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