Skip to main content

aws_sdk_devopsagent/client/
delete_asset_file.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 [`DeleteAssetFile`](crate::operation::delete_asset_file::builders::DeleteAssetFileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::delete_asset_file::builders::DeleteAssetFileFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::delete_asset_file::builders::DeleteAssetFileFluentBuilder::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_file::builders::DeleteAssetFileFluentBuilder::asset_id) / [`set_asset_id(Option<String>)`](crate::operation::delete_asset_file::builders::DeleteAssetFileFluentBuilder::set_asset_id):<br>required: **true**<br><p>The unique identifier of the asset containing the file</p><br>
8    ///   - [`path(impl Into<String>)`](crate::operation::delete_asset_file::builders::DeleteAssetFileFluentBuilder::path) / [`set_path(Option<String>)`](crate::operation::delete_asset_file::builders::DeleteAssetFileFluentBuilder::set_path):<br>required: **true**<br><p>The path of the file within the asset to delete</p><br>
9    /// - On success, responds with [`DeleteAssetFileOutput`](crate::operation::delete_asset_file::DeleteAssetFileOutput)
10    /// - On failure, responds with [`SdkError<DeleteAssetFileError>`](crate::operation::delete_asset_file::DeleteAssetFileError)
11    pub fn delete_asset_file(&self) -> crate::operation::delete_asset_file::builders::DeleteAssetFileFluentBuilder {
12        crate::operation::delete_asset_file::builders::DeleteAssetFileFluentBuilder::new(self.handle.clone())
13    }
14}