// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeDataSourceAttachment`](crate::operation::describe_data_source_attachment::builders::DescribeDataSourceAttachmentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::describe_data_source_attachment::builders::DescribeDataSourceAttachmentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::describe_data_source_attachment::builders::DescribeDataSourceAttachmentFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier or name of the OpenSearch application.</p><br>
/// - [`data_source_arn(impl Into<String>)`](crate::operation::describe_data_source_attachment::builders::DescribeDataSourceAttachmentFluentBuilder::data_source_arn) / [`set_data_source_arn(Option<String>)`](crate::operation::describe_data_source_attachment::builders::DescribeDataSourceAttachmentFluentBuilder::set_data_source_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the domain. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html">Identifiers for IAM Entities </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information.</p><br>
/// - On success, responds with [`DescribeDataSourceAttachmentOutput`](crate::operation::describe_data_source_attachment::DescribeDataSourceAttachmentOutput) with field(s):
/// - [`attachment_id(Option<String>)`](crate::operation::describe_data_source_attachment::DescribeDataSourceAttachmentOutput::attachment_id): <p>The unique identifier assigned to the data source attachment.</p>
/// - [`id(Option<String>)`](crate::operation::describe_data_source_attachment::DescribeDataSourceAttachmentOutput::id): <p>The unique identifier of the OpenSearch application.</p>
/// - [`arn(Option<String>)`](crate::operation::describe_data_source_attachment::DescribeDataSourceAttachmentOutput::arn): <p>The Amazon Resource Name (ARN) of the domain. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html">Identifiers for IAM Entities </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information.</p>
/// - [`data_source_arn(Option<String>)`](crate::operation::describe_data_source_attachment::DescribeDataSourceAttachmentOutput::data_source_arn): <p>The Amazon Resource Name (ARN) of the domain. See <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html">Identifiers for IAM Entities </a> in <i>Using Amazon Web Services Identity and Access Management</i> for more information.</p>
/// - [`status(Option<DataSourceAttachmentStatus>)`](crate::operation::describe_data_source_attachment::DescribeDataSourceAttachmentOutput::status): <p>The status of the data source attachment. Valid values are <code>PENDING</code>, <code>ATTACHED</code>, and <code>FAILED</code>.</p>
/// - On failure, responds with [`SdkError<DescribeDataSourceAttachmentError>`](crate::operation::describe_data_source_attachment::DescribeDataSourceAttachmentError)
pub fn describe_data_source_attachment(
&self,
) -> crate::operation::describe_data_source_attachment::builders::DescribeDataSourceAttachmentFluentBuilder {
crate::operation::describe_data_source_attachment::builders::DescribeDataSourceAttachmentFluentBuilder::new(self.handle.clone())
}
}