aws_sdk_datazone/client/get_data_source.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 [`GetDataSource`](crate::operation::get_data_source::builders::GetDataSourceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_identifier(impl Into<String>)`](crate::operation::get_data_source::builders::GetDataSourceFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_data_source::builders::GetDataSourceFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which the data source exists.</p><br>
7 /// - [`identifier(impl Into<String>)`](crate::operation::get_data_source::builders::GetDataSourceFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_data_source::builders::GetDataSourceFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone data source.</p><br>
8 /// - On success, responds with [`GetDataSourceOutput`](crate::operation::get_data_source::GetDataSourceOutput) with field(s):
9 /// - [`id(String)`](crate::operation::get_data_source::GetDataSourceOutput::id): <p>The ID of the data source.</p>
10 /// - [`status(Option<DataSourceStatus>)`](crate::operation::get_data_source::GetDataSourceOutput::status): <p>The status of the data source.</p>
11 /// - [`r#type(Option<String>)`](crate::operation::get_data_source::GetDataSourceOutput::type): <p>The type of the data source.</p>
12 /// - [`name(String)`](crate::operation::get_data_source::GetDataSourceOutput::name): <p>The name of the data source.</p>
13 /// - [`description(Option<String>)`](crate::operation::get_data_source::GetDataSourceOutput::description): <p>The description of the data source.</p>
14 /// - [`domain_id(String)`](crate::operation::get_data_source::GetDataSourceOutput::domain_id): <p>The ID of the Amazon DataZone domain in which the data source exists.</p>
15 /// - [`project_id(String)`](crate::operation::get_data_source::GetDataSourceOutput::project_id): <p>The ID of the project where the data source creates and publishes assets.</p>
16 /// - [`environment_id(Option<String>)`](crate::operation::get_data_source::GetDataSourceOutput::environment_id): <p>The ID of the environment where this data source creates and publishes assets,</p>
17 /// - [`connection_id(Option<String>)`](crate::operation::get_data_source::GetDataSourceOutput::connection_id): <p>The ID of the connection.</p>
18 /// - [`configuration(Option<DataSourceConfigurationOutput>)`](crate::operation::get_data_source::GetDataSourceOutput::configuration): <p>The configuration of the data source.</p>
19 /// - [`recommendation(Option<RecommendationConfiguration>)`](crate::operation::get_data_source::GetDataSourceOutput::recommendation): <p>The recommendation configuration of the data source.</p>
20 /// - [`enable_setting(Option<EnableSetting>)`](crate::operation::get_data_source::GetDataSourceOutput::enable_setting): <p>Specifies whether this data source is enabled or not.</p>
21 /// - [`publish_on_import(Option<bool>)`](crate::operation::get_data_source::GetDataSourceOutput::publish_on_import): <p>Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.</p>
22 /// - [`asset_forms_output(Option<Vec::<FormOutput>>)`](crate::operation::get_data_source::GetDataSourceOutput::asset_forms_output): <p>The metadata forms attached to the assets created by this data source.</p>
23 /// - [`schedule(Option<ScheduleConfiguration>)`](crate::operation::get_data_source::GetDataSourceOutput::schedule): <p>The schedule of the data source runs.</p>
24 /// - [`last_run_status(Option<DataSourceRunStatus>)`](crate::operation::get_data_source::GetDataSourceOutput::last_run_status): <p>The status of the last run of the data source.</p>
25 /// - [`last_run_at(Option<DateTime>)`](crate::operation::get_data_source::GetDataSourceOutput::last_run_at): <p>The timestamp of the last run of the data source.</p>
26 /// - [`last_run_error_message(Option<DataSourceErrorMessage>)`](crate::operation::get_data_source::GetDataSourceOutput::last_run_error_message): <p>Specifies the error message that is returned if the operation cannot be successfully completed.</p>
27 /// - [`last_run_asset_count(Option<i32>)`](crate::operation::get_data_source::GetDataSourceOutput::last_run_asset_count): <p>The number of assets created by the data source during its last run.</p>
28 /// - [`error_message(Option<DataSourceErrorMessage>)`](crate::operation::get_data_source::GetDataSourceOutput::error_message): <p>Specifies the error message that is returned if the operation cannot be successfully completed.</p>
29 /// - [`created_at(Option<DateTime>)`](crate::operation::get_data_source::GetDataSourceOutput::created_at): <p>The timestamp of when the data source was created.</p>
30 /// - [`updated_at(Option<DateTime>)`](crate::operation::get_data_source::GetDataSourceOutput::updated_at): <p>The timestamp of when the data source was updated.</p>
31 /// - [`self_grant_status(Option<SelfGrantStatusOutput>)`](crate::operation::get_data_source::GetDataSourceOutput::self_grant_status): <p>Specifies the status of the self-granting functionality.</p>
32 /// - On failure, responds with [`SdkError<GetDataSourceError>`](crate::operation::get_data_source::GetDataSourceError)
33 pub fn get_data_source(&self) -> crate::operation::get_data_source::builders::GetDataSourceFluentBuilder {
34 crate::operation::get_data_source::builders::GetDataSourceFluentBuilder::new(self.handle.clone())
35 }
36}