aws_sdk_connect/client/update_predefined_attribute.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdatePredefinedAttribute`](crate::operation::update_predefined_attribute::builders::UpdatePredefinedAttributeFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::update_predefined_attribute::builders::UpdatePredefinedAttributeFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_predefined_attribute::builders::UpdatePredefinedAttributeFluentBuilder::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>
/// - [`name(impl Into<String>)`](crate::operation::update_predefined_attribute::builders::UpdatePredefinedAttributeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_predefined_attribute::builders::UpdatePredefinedAttributeFluentBuilder::set_name):<br>required: **true**<br><p>The name of the predefined attribute.</p><br>
/// - [`values(PredefinedAttributeValues)`](crate::operation::update_predefined_attribute::builders::UpdatePredefinedAttributeFluentBuilder::values) / [`set_values(Option<PredefinedAttributeValues>)`](crate::operation::update_predefined_attribute::builders::UpdatePredefinedAttributeFluentBuilder::set_values):<br>required: **false**<br><p>The values of the predefined attribute.</p><br>
/// - On success, responds with [`UpdatePredefinedAttributeOutput`](crate::operation::update_predefined_attribute::UpdatePredefinedAttributeOutput)
/// - On failure, responds with [`SdkError<UpdatePredefinedAttributeError>`](crate::operation::update_predefined_attribute::UpdatePredefinedAttributeError)
pub fn update_predefined_attribute(&self) -> crate::operation::update_predefined_attribute::builders::UpdatePredefinedAttributeFluentBuilder {
crate::operation::update_predefined_attribute::builders::UpdatePredefinedAttributeFluentBuilder::new(self.handle.clone())
}
}