1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateDataSource`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::set_domain_identifier): <p>The identifier of the domain in which to update a data source.</p>
/// - [`identifier(impl Into<String>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::set_identifier): <p>The identifier of the data source to be updated.</p>
/// - [`name(impl Into<String>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::set_name): <p>The name to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`description(impl Into<String>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::set_description): <p>The description to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`enable_setting(EnableSetting)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::enable_setting) / [`set_enable_setting(Option<EnableSetting>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::set_enable_setting): <p>The enable setting to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`publish_on_import(bool)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::publish_on_import) / [`set_publish_on_import(Option<bool>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::set_publish_on_import): <p>The publish on import setting to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`asset_forms_input(FormInput)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::asset_forms_input) / [`set_asset_forms_input(Option<Vec<FormInput>>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::set_asset_forms_input): <p>The asset forms to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`schedule(ScheduleConfiguration)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::schedule) / [`set_schedule(Option<ScheduleConfiguration>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::set_schedule): <p>The schedule to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`configuration(DataSourceConfigurationInput)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::configuration) / [`set_configuration(Option<DataSourceConfigurationInput>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::set_configuration): <p>The configuration to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`recommendation(RecommendationConfiguration)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::recommendation) / [`set_recommendation(Option<RecommendationConfiguration>)`](crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::set_recommendation): <p>The recommendation to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - On success, responds with [`UpdateDataSourceOutput`](crate::operation::update_data_source::UpdateDataSourceOutput) with field(s):
/// - [`id(Option<String>)`](crate::operation::update_data_source::UpdateDataSourceOutput::id): <p>The identifier of the data source to be updated.</p>
/// - [`status(Option<DataSourceStatus>)`](crate::operation::update_data_source::UpdateDataSourceOutput::status): <p>The status to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`r#type(Option<String>)`](crate::operation::update_data_source::UpdateDataSourceOutput::type): <p>The type to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`name(Option<String>)`](crate::operation::update_data_source::UpdateDataSourceOutput::name): <p>The name to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`description(Option<String>)`](crate::operation::update_data_source::UpdateDataSourceOutput::description): <p>The description to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`domain_id(Option<String>)`](crate::operation::update_data_source::UpdateDataSourceOutput::domain_id): <p>The identifier of the Amazon DataZone domain in which a data source is to be updated.</p>
/// - [`project_id(Option<String>)`](crate::operation::update_data_source::UpdateDataSourceOutput::project_id): <p>The identifier of the project where data source is to be updated.</p>
/// - [`environment_id(Option<String>)`](crate::operation::update_data_source::UpdateDataSourceOutput::environment_id): <p>The identifier of the environment in which a data source is to be updated.</p>
/// - [`configuration(Option<DataSourceConfigurationOutput>)`](crate::operation::update_data_source::UpdateDataSourceOutput::configuration): <p>The configuration to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`recommendation(Option<RecommendationConfiguration>)`](crate::operation::update_data_source::UpdateDataSourceOutput::recommendation): <p>The recommendation to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`enable_setting(Option<EnableSetting>)`](crate::operation::update_data_source::UpdateDataSourceOutput::enable_setting): <p>The enable setting to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`publish_on_import(Option<bool>)`](crate::operation::update_data_source::UpdateDataSourceOutput::publish_on_import): <p>The publish on import setting to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`asset_forms_output(Option<Vec<FormOutput>>)`](crate::operation::update_data_source::UpdateDataSourceOutput::asset_forms_output): <p>The asset forms to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`schedule(Option<ScheduleConfiguration>)`](crate::operation::update_data_source::UpdateDataSourceOutput::schedule): <p>The schedule to be updated as part of the <code>UpdateDataSource</code> action.</p>
/// - [`last_run_status(Option<DataSourceRunStatus>)`](crate::operation::update_data_source::UpdateDataSourceOutput::last_run_status): <p>The last run status of the data source.</p>
/// - [`last_run_at(Option<DateTime>)`](crate::operation::update_data_source::UpdateDataSourceOutput::last_run_at): <p>The timestamp of when the data source was last run.</p>
/// - [`last_run_error_message(Option<DataSourceErrorMessage>)`](crate::operation::update_data_source::UpdateDataSourceOutput::last_run_error_message): <p>The last run error message of the data source.</p>
/// - [`error_message(Option<DataSourceErrorMessage>)`](crate::operation::update_data_source::UpdateDataSourceOutput::error_message): <p>Specifies the error message that is returned if the operation cannot be successfully completed.</p>
/// - [`created_at(Option<DateTime>)`](crate::operation::update_data_source::UpdateDataSourceOutput::created_at): <p>The timestamp of when the data source was updated.</p>
/// - [`updated_at(Option<DateTime>)`](crate::operation::update_data_source::UpdateDataSourceOutput::updated_at): <p>The timestamp of when the data source was updated.</p>
/// - On failure, responds with [`SdkError<UpdateDataSourceError>`](crate::operation::update_data_source::UpdateDataSourceError)
pub fn update_data_source(&self) -> crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder {
crate::operation::update_data_source::builders::UpdateDataSourceFluentBuilder::new(self.handle.clone())
}
}