aws_sdk_connect/client/describe_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 [`DescribePredefinedAttribute`](crate::operation::describe_predefined_attribute::builders::DescribePredefinedAttributeFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::describe_predefined_attribute::builders::DescribePredefinedAttributeFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::describe_predefined_attribute::builders::DescribePredefinedAttributeFluentBuilder::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::describe_predefined_attribute::builders::DescribePredefinedAttributeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::describe_predefined_attribute::builders::DescribePredefinedAttributeFluentBuilder::set_name):<br>required: **true**<br><p>The name of the predefined attribute.</p><br>
/// - On success, responds with [`DescribePredefinedAttributeOutput`](crate::operation::describe_predefined_attribute::DescribePredefinedAttributeOutput) with field(s):
/// - [`predefined_attribute(Option<PredefinedAttribute>)`](crate::operation::describe_predefined_attribute::DescribePredefinedAttributeOutput::predefined_attribute): <p>Information about the predefined attribute.</p>
/// - On failure, responds with [`SdkError<DescribePredefinedAttributeError>`](crate::operation::describe_predefined_attribute::DescribePredefinedAttributeError)
pub fn describe_predefined_attribute(
&self,
) -> crate::operation::describe_predefined_attribute::builders::DescribePredefinedAttributeFluentBuilder {
crate::operation::describe_predefined_attribute::builders::DescribePredefinedAttributeFluentBuilder::new(self.handle.clone())
}
}