Struct aws_sdk_connect::operation::update_routing_profile_name::builders::UpdateRoutingProfileNameFluentBuilder
source · pub struct UpdateRoutingProfileNameFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateRoutingProfileName
.
Updates the name and description of a routing profile. The request accepts the following data in JSON format. At least Name
or Description
must be provided.
Implementations§
source§impl UpdateRoutingProfileNameFluentBuilder
impl UpdateRoutingProfileNameFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateRoutingProfileName, AwsResponseRetryClassifier>, SdkError<UpdateRoutingProfileNameError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateRoutingProfileName, AwsResponseRetryClassifier>, SdkError<UpdateRoutingProfileNameError>>
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<UpdateRoutingProfileNameOutput, SdkError<UpdateRoutingProfileNameError>>
pub async fn send( self ) -> Result<UpdateRoutingProfileNameOutput, SdkError<UpdateRoutingProfileNameError>>
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 routing_profile_id(self, input: impl Into<String>) -> Self
pub fn routing_profile_id(self, input: impl Into<String>) -> Self
The identifier of the routing profile.
sourcepub fn set_routing_profile_id(self, input: Option<String>) -> Self
pub fn set_routing_profile_id(self, input: Option<String>) -> Self
The identifier of the routing profile.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the routing profile. Must not be more than 127 characters.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the routing profile. Must not be more than 127 characters.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the routing profile. Must not be more than 250 characters.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the routing profile. Must not be more than 250 characters.
Trait Implementations§
source§impl Clone for UpdateRoutingProfileNameFluentBuilder
impl Clone for UpdateRoutingProfileNameFluentBuilder
source§fn clone(&self) -> UpdateRoutingProfileNameFluentBuilder
fn clone(&self) -> UpdateRoutingProfileNameFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more