#[non_exhaustive]pub struct UpdateQueueMaxContactsInput { /* private fields */ }
Implementations§
source§impl UpdateQueueMaxContactsInput
impl UpdateQueueMaxContactsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateQueueMaxContacts, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateQueueMaxContacts, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateQueueMaxContacts
>
Examples found in repository?
src/client.rs (line 17535)
17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateQueueMaxContacts,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateQueueMaxContactsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateQueueMaxContactsOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateQueueMaxContactsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateQueueMaxContactsInput
.
source§impl UpdateQueueMaxContactsInput
impl UpdateQueueMaxContactsInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn max_contacts(&self) -> Option<i32>
pub fn max_contacts(&self) -> Option<i32>
The maximum number of contacts that can be in the queue before it is considered full.
Trait Implementations§
source§impl Clone for UpdateQueueMaxContactsInput
impl Clone for UpdateQueueMaxContactsInput
source§fn clone(&self) -> UpdateQueueMaxContactsInput
fn clone(&self) -> UpdateQueueMaxContactsInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more