aws_sdk_iotanalytics/client/delete_dataset_content.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 [`DeleteDatasetContent`](crate::operation::delete_dataset_content::builders::DeleteDatasetContentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dataset_name(impl Into<String>)`](crate::operation::delete_dataset_content::builders::DeleteDatasetContentFluentBuilder::dataset_name) / [`set_dataset_name(Option<String>)`](crate::operation::delete_dataset_content::builders::DeleteDatasetContentFluentBuilder::set_dataset_name):<br>required: **true**<br><p>The name of the dataset whose content is deleted.</p><br>
7 /// - [`version_id(impl Into<String>)`](crate::operation::delete_dataset_content::builders::DeleteDatasetContentFluentBuilder::version_id) / [`set_version_id(Option<String>)`](crate::operation::delete_dataset_content::builders::DeleteDatasetContentFluentBuilder::set_version_id):<br>required: **false**<br><p>The version of the dataset whose content is deleted. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.</p><br>
8 /// - On success, responds with [`DeleteDatasetContentOutput`](crate::operation::delete_dataset_content::DeleteDatasetContentOutput)
9 /// - On failure, responds with [`SdkError<DeleteDatasetContentError>`](crate::operation::delete_dataset_content::DeleteDatasetContentError)
10 pub fn delete_dataset_content(&self) -> crate::operation::delete_dataset_content::builders::DeleteDatasetContentFluentBuilder {
11 crate::operation::delete_dataset_content::builders::DeleteDatasetContentFluentBuilder::new(self.handle.clone())
12 }
13}