aws_sdk_connect/client/
delete_predefined_attribute.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 [`DeletePredefinedAttribute`](crate::operation::delete_predefined_attribute::builders::DeletePredefinedAttributeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::delete_predefined_attribute::builders::DeletePredefinedAttributeFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_predefined_attribute::builders::DeletePredefinedAttributeFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.</p><br>
7    ///   - [`name(impl Into<String>)`](crate::operation::delete_predefined_attribute::builders::DeletePredefinedAttributeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_predefined_attribute::builders::DeletePredefinedAttributeFluentBuilder::set_name):<br>required: **true**<br><p>The name of the predefined attribute.</p><br>
8    /// - On success, responds with [`DeletePredefinedAttributeOutput`](crate::operation::delete_predefined_attribute::DeletePredefinedAttributeOutput)
9    /// - On failure, responds with [`SdkError<DeletePredefinedAttributeError>`](crate::operation::delete_predefined_attribute::DeletePredefinedAttributeError)
10    pub fn delete_predefined_attribute(&self) -> crate::operation::delete_predefined_attribute::builders::DeletePredefinedAttributeFluentBuilder {
11        crate::operation::delete_predefined_attribute::builders::DeletePredefinedAttributeFluentBuilder::new(self.handle.clone())
12    }
13}