Struct aws_sdk_connect::operation::disassociate_traffic_distribution_group_user::builders::DisassociateTrafficDistributionGroupUserFluentBuilder
source · pub struct DisassociateTrafficDistributionGroupUserFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DisassociateTrafficDistributionGroupUser
.
Disassociates an agent from a traffic distribution group.
Implementations§
source§impl DisassociateTrafficDistributionGroupUserFluentBuilder
impl DisassociateTrafficDistributionGroupUserFluentBuilder
sourcepub fn as_input(&self) -> &DisassociateTrafficDistributionGroupUserInputBuilder
pub fn as_input(&self) -> &DisassociateTrafficDistributionGroupUserInputBuilder
Access the DisassociateTrafficDistributionGroupUser as a reference.
sourcepub async fn send(
self
) -> Result<DisassociateTrafficDistributionGroupUserOutput, SdkError<DisassociateTrafficDistributionGroupUserError, HttpResponse>>
pub async fn send( self ) -> Result<DisassociateTrafficDistributionGroupUserOutput, SdkError<DisassociateTrafficDistributionGroupUserError, 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<DisassociateTrafficDistributionGroupUserOutput, DisassociateTrafficDistributionGroupUserError, Self>, SdkError<DisassociateTrafficDistributionGroupUserError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DisassociateTrafficDistributionGroupUserOutput, DisassociateTrafficDistributionGroupUserError, Self>, SdkError<DisassociateTrafficDistributionGroupUserError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn traffic_distribution_group_id(self, input: impl Into<String>) -> Self
pub fn traffic_distribution_group_id(self, input: impl Into<String>) -> Self
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
sourcepub fn set_traffic_distribution_group_id(self, input: Option<String>) -> Self
pub fn set_traffic_distribution_group_id(self, input: Option<String>) -> Self
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
sourcepub fn get_traffic_distribution_group_id(&self) -> &Option<String>
pub fn get_traffic_distribution_group_id(&self) -> &Option<String>
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The identifier for the user. This can be the ID or the ARN of the user.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier for the user. This can be the ID or the ARN of the user.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The identifier for the user. This can be the ID or the ARN of the user.
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.
Trait Implementations§
source§impl Clone for DisassociateTrafficDistributionGroupUserFluentBuilder
impl Clone for DisassociateTrafficDistributionGroupUserFluentBuilder
source§fn clone(&self) -> DisassociateTrafficDistributionGroupUserFluentBuilder
fn clone(&self) -> DisassociateTrafficDistributionGroupUserFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more