Struct aws_sdk_connect::client::fluent_builders::CreateQueue
source · pub struct CreateQueue { /* 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
.
Implementations§
source§impl CreateQueue
impl CreateQueue
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateQueue, AwsResponseRetryClassifier>, SdkError<CreateQueueError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateQueue, AwsResponseRetryClassifier>, SdkError<CreateQueueError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<CreateQueueOutput, SdkError<CreateQueueError>>
pub async fn send(self) -> Result<CreateQueueOutput, SdkError<CreateQueueError>>
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 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 instanceId in the 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 instanceId in the 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 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 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 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 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.
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"} }.
Trait Implementations§
source§impl Clone for CreateQueue
impl Clone for CreateQueue
source§fn clone(&self) -> CreateQueue
fn clone(&self) -> CreateQueue
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more