aws_sdk_datazone/client/delete_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 [`DeleteDataSource`](crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_identifier(impl Into<String>)`](crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which the data source is deleted.</p><br>
7 /// - [`identifier(impl Into<String>)`](crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the data source that is deleted.</p><br>
8 /// - [`client_token(impl Into<String>)`](crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.</p><br>
9 /// - [`retain_permissions_on_revoke_failure(bool)`](crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder::retain_permissions_on_revoke_failure) / [`set_retain_permissions_on_revoke_failure(Option<bool>)`](crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder::set_retain_permissions_on_revoke_failure):<br>required: **false**<br><p>Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.</p><br>
10 /// - On success, responds with [`DeleteDataSourceOutput`](crate::operation::delete_data_source::DeleteDataSourceOutput) with field(s):
11 /// - [`id(String)`](crate::operation::delete_data_source::DeleteDataSourceOutput::id): <p>The ID of the data source that is deleted.</p>
12 /// - [`status(Option<DataSourceStatus>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::status): <p>The status of this data source.</p>
13 /// - [`r#type(Option<String>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::type): <p>The type of this data source.</p>
14 /// - [`name(String)`](crate::operation::delete_data_source::DeleteDataSourceOutput::name): <p>The name of the data source that is deleted.</p>
15 /// - [`description(Option<String>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::description): <p>The description of the data source that is deleted.</p>
16 /// - [`domain_id(String)`](crate::operation::delete_data_source::DeleteDataSourceOutput::domain_id): <p>The ID of the Amazon DataZone domain in which the data source is deleted.</p>
17 /// - [`project_id(String)`](crate::operation::delete_data_source::DeleteDataSourceOutput::project_id): <p>The ID of the project in which this data source exists and from which it's deleted.</p>
18 /// - [`environment_id(Option<String>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::environment_id): <p>The ID of the environemnt associated with this data source.</p>
19 /// - [`connection_id(Option<String>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::connection_id): <p>The ID of the connection that is deleted.</p>
20 /// - [`configuration(Option<DataSourceConfigurationOutput>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::configuration): <p>The configuration of the data source that is deleted.</p>
21 /// - [`enable_setting(Option<EnableSetting>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::enable_setting): <p>The enable setting of the data source that specifies whether the data source is enabled or disabled.</p>
22 /// - [`publish_on_import(Option<bool>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::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>
23 /// - [`asset_forms_output(Option<Vec::<FormOutput>>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::asset_forms_output): <p>The asset data forms associated with this data source.</p>
24 /// - [`schedule(Option<ScheduleConfiguration>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::schedule): <p>The schedule of runs for this data source.</p>
25 /// - [`last_run_status(Option<DataSourceRunStatus>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::last_run_status): <p>The status of the last run of this data source.</p>
26 /// - [`last_run_at(Option<DateTime>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::last_run_at): <p>The timestamp of when the data source was last run.</p>
27 /// - [`last_run_error_message(Option<DataSourceErrorMessage>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::last_run_error_message): <p>Specifies the error message that is returned if the operation cannot be successfully completed.</p>
28 /// - [`error_message(Option<DataSourceErrorMessage>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::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::delete_data_source::DeleteDataSourceOutput::created_at): <p>The timestamp of when this data source was created.</p>
30 /// - [`updated_at(Option<DateTime>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::updated_at): <p>The timestamp of when this data source was updated.</p>
31 /// - [`self_grant_status(Option<SelfGrantStatusOutput>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::self_grant_status): <p>Specifies the status of the self-granting functionality.</p>
32 /// - [`retain_permissions_on_revoke_failure(Option<bool>)`](crate::operation::delete_data_source::DeleteDataSourceOutput::retain_permissions_on_revoke_failure): <p>Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.</p>
33 /// - On failure, responds with [`SdkError<DeleteDataSourceError>`](crate::operation::delete_data_source::DeleteDataSourceError)
34 pub fn delete_data_source(&self) -> crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder {
35 crate::operation::delete_data_source::builders::DeleteDataSourceFluentBuilder::new(self.handle.clone())
36 }
37}