aws_sdk_connect/client/
delete_routing_profile.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteRoutingProfile`](crate::operation::delete_routing_profile::builders::DeleteRoutingProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::delete_routing_profile::builders::DeleteRoutingProfileFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_routing_profile::builders::DeleteRoutingProfileFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
7    ///   - [`routing_profile_id(impl Into<String>)`](crate::operation::delete_routing_profile::builders::DeleteRoutingProfileFluentBuilder::routing_profile_id) / [`set_routing_profile_id(Option<String>)`](crate::operation::delete_routing_profile::builders::DeleteRoutingProfileFluentBuilder::set_routing_profile_id):<br>required: **true**<br><p>The identifier of the routing profile.</p><br>
8    /// - On success, responds with [`DeleteRoutingProfileOutput`](crate::operation::delete_routing_profile::DeleteRoutingProfileOutput)
9    /// - On failure, responds with [`SdkError<DeleteRoutingProfileError>`](crate::operation::delete_routing_profile::DeleteRoutingProfileError)
10    pub fn delete_routing_profile(&self) -> crate::operation::delete_routing_profile::builders::DeleteRoutingProfileFluentBuilder {
11        crate::operation::delete_routing_profile::builders::DeleteRoutingProfileFluentBuilder::new(self.handle.clone())
12    }
13}