pub struct CreateQueueFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateQueue
.
This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
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 CreateQueueFluentBuilder
impl CreateQueueFluentBuilder
sourcepub fn as_input(&self) -> &CreateQueueInputBuilder
pub fn as_input(&self) -> &CreateQueueInputBuilder
Access the CreateQueue as a reference.
sourcepub async fn send(
self
) -> Result<CreateQueueOutput, SdkError<CreateQueueError, HttpResponse>>
pub async fn send( self ) -> Result<CreateQueueOutput, SdkError<CreateQueueError, 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<CreateQueueOutput, CreateQueueError>, SdkError<CreateQueueError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateQueueOutput, CreateQueueError>, SdkError<CreateQueueError>>
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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the queue.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the queue.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of 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.
sourcepub fn hours_of_operation_id(self, input: impl Into<String>) -> Self
pub fn hours_of_operation_id(self, input: impl Into<String>) -> Self
The identifier for the hours of operation.
sourcepub fn set_hours_of_operation_id(self, input: Option<String>) -> Self
pub fn set_hours_of_operation_id(self, input: Option<String>) -> Self
The identifier for the hours of operation.
sourcepub fn get_hours_of_operation_id(&self) -> &Option<String>
pub fn get_hours_of_operation_id(&self) -> &Option<String>
The identifier for the hours of operation.
sourcepub fn max_contacts(self, input: i32) -> Self
pub fn max_contacts(self, input: i32) -> Self
The maximum number of contacts that can be in the queue before it is considered full.
sourcepub fn set_max_contacts(self, input: Option<i32>) -> Self
pub fn set_max_contacts(self, input: Option<i32>) -> Self
The maximum number of contacts that can be in the queue before it is considered full.
sourcepub fn get_max_contacts(&self) -> &Option<i32>
pub fn get_max_contacts(&self) -> &Option<i32>
The maximum number of contacts that can be in the queue before it is considered full.
sourcepub fn quick_connect_ids(self, input: impl Into<String>) -> Self
pub fn quick_connect_ids(self, input: impl Into<String>) -> Self
Appends an item to QuickConnectIds
.
To override the contents of this collection use set_quick_connect_ids
.
The quick connects available to agents who are working the queue.
sourcepub fn set_quick_connect_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_quick_connect_ids(self, input: Option<Vec<String>>) -> Self
The quick connects available to agents who are working the queue.
sourcepub fn get_quick_connect_ids(&self) -> &Option<Vec<String>>
pub fn get_quick_connect_ids(&self) -> &Option<Vec<String>>
The quick connects available to agents who are working the queue.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Trait Implementations§
source§impl Clone for CreateQueueFluentBuilder
impl Clone for CreateQueueFluentBuilder
source§fn clone(&self) -> CreateQueueFluentBuilder
fn clone(&self) -> CreateQueueFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more