aws_sdk_devopsagent/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 /// - [`agent_space_id(impl Into<String>)`](crate::operation::delete_asset::builders::DeleteAssetFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::delete_asset::builders::DeleteAssetFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier for the agent space containing the asset</p><br>
7 /// - [`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 of the asset to delete</p><br>
8 /// - On success, responds with [`DeleteAssetOutput`](crate::operation::delete_asset::DeleteAssetOutput)
9 /// - On failure, responds with [`SdkError<DeleteAssetError>`](crate::operation::delete_asset::DeleteAssetError)
10 pub fn delete_asset(&self) -> crate::operation::delete_asset::builders::DeleteAssetFluentBuilder {
11 crate::operation::delete_asset::builders::DeleteAssetFluentBuilder::new(self.handle.clone())
12 }
13}