aws_sdk_dataexchange/client/delete_asset.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 [`DeleteAsset`](crate::operation::delete_asset::builders::DeleteAssetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`asset_id(impl Into<String>)`](crate::operation::delete_asset::builders::DeleteAssetFluentBuilder::asset_id) / [`set_asset_id(Option<String>)`](crate::operation::delete_asset::builders::DeleteAssetFluentBuilder::set_asset_id):<br>required: **true**<br><p>The unique identifier for an asset.</p><br>
7 /// - [`data_set_id(impl Into<String>)`](crate::operation::delete_asset::builders::DeleteAssetFluentBuilder::data_set_id) / [`set_data_set_id(Option<String>)`](crate::operation::delete_asset::builders::DeleteAssetFluentBuilder::set_data_set_id):<br>required: **true**<br><p>The unique identifier for a data set.</p><br>
8 /// - [`revision_id(impl Into<String>)`](crate::operation::delete_asset::builders::DeleteAssetFluentBuilder::revision_id) / [`set_revision_id(Option<String>)`](crate::operation::delete_asset::builders::DeleteAssetFluentBuilder::set_revision_id):<br>required: **true**<br><p>The unique identifier for a revision.</p><br>
9 /// - On success, responds with [`DeleteAssetOutput`](crate::operation::delete_asset::DeleteAssetOutput)
10 /// - On failure, responds with [`SdkError<DeleteAssetError>`](crate::operation::delete_asset::DeleteAssetError)
11 pub fn delete_asset(&self) -> crate::operation::delete_asset::builders::DeleteAssetFluentBuilder {
12 crate::operation::delete_asset::builders::DeleteAssetFluentBuilder::new(self.handle.clone())
13 }
14}