aws_sdk_connect/client/describe_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 [`DescribePredefinedAttribute`](crate::operation::describe_predefined_attribute::builders::DescribePredefinedAttributeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`DescribePredefinedAttributeOutput`](crate::operation::describe_predefined_attribute::DescribePredefinedAttributeOutput) with field(s):
9 /// - [`predefined_attribute(Option<PredefinedAttribute>)`](crate::operation::describe_predefined_attribute::DescribePredefinedAttributeOutput::predefined_attribute): <p>Information about the predefined attribute.</p>
10 /// - On failure, responds with [`SdkError<DescribePredefinedAttributeError>`](crate::operation::describe_predefined_attribute::DescribePredefinedAttributeError)
11 pub fn describe_predefined_attribute(
12 &self,
13 ) -> crate::operation::describe_predefined_attribute::builders::DescribePredefinedAttributeFluentBuilder {
14 crate::operation::describe_predefined_attribute::builders::DescribePredefinedAttributeFluentBuilder::new(self.handle.clone())
15 }
16}