1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDataSource`](crate::operation::get_data_source::builders::GetDataSourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::get_data_source::builders::GetDataSourceFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_data_source::builders::GetDataSourceFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the domain.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::get_data_source::builders::GetDataSourceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_data_source::builders::GetDataSourceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the data source to get information about.</p><br>
    /// - On success, responds with [`GetDataSourceOutput`](crate::operation::get_data_source::GetDataSourceOutput) with field(s):
    ///   - [`data_source_type(Option<DataSourceType>)`](crate::operation::get_data_source::GetDataSourceOutput::data_source_type): <p>The type of data source.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_data_source::GetDataSourceOutput::name): <p>The name of the data source.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_data_source::GetDataSourceOutput::description): <p>A description of the data source.</p>
    /// - On failure, responds with [`SdkError<GetDataSourceError>`](crate::operation::get_data_source::GetDataSourceError)
    pub fn get_data_source(&self) -> crate::operation::get_data_source::builders::GetDataSourceFluentBuilder {
        crate::operation::get_data_source::builders::GetDataSourceFluentBuilder::new(self.handle.clone())
    }
}