1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreatePredefinedAttribute`](crate::operation::create_predefined_attribute::builders::CreatePredefinedAttributeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::create_predefined_attribute::builders::CreatePredefinedAttributeFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::create_predefined_attribute::builders::CreatePredefinedAttributeFluentBuilder::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::create_predefined_attribute::builders::CreatePredefinedAttributeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_predefined_attribute::builders::CreatePredefinedAttributeFluentBuilder::set_name):<br>required: **true**<br><p>The name of the predefined attribute.</p><br>
    ///   - [`values(PredefinedAttributeValues)`](crate::operation::create_predefined_attribute::builders::CreatePredefinedAttributeFluentBuilder::values) / [`set_values(Option<PredefinedAttributeValues>)`](crate::operation::create_predefined_attribute::builders::CreatePredefinedAttributeFluentBuilder::set_values):<br>required: **true**<br><p>The values of the predefined attribute.</p><br>
    /// - On success, responds with [`CreatePredefinedAttributeOutput`](crate::operation::create_predefined_attribute::CreatePredefinedAttributeOutput)
    /// - On failure, responds with [`SdkError<CreatePredefinedAttributeError>`](crate::operation::create_predefined_attribute::CreatePredefinedAttributeError)
    pub fn create_predefined_attribute(&self) -> crate::operation::create_predefined_attribute::builders::CreatePredefinedAttributeFluentBuilder {
        crate::operation::create_predefined_attribute::builders::CreatePredefinedAttributeFluentBuilder::new(self.handle.clone())
    }
}