aws_sdk_backupstorage/client/delete_object.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 [`DeleteObject`](crate::operation::delete_object::builders::DeleteObjectFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`backup_job_id(impl Into<String>)`](crate::operation::delete_object::builders::DeleteObjectFluentBuilder::backup_job_id) / [`set_backup_job_id(Option<String>)`](crate::operation::delete_object::builders::DeleteObjectFluentBuilder::set_backup_job_id):<br>required: **true**<br>Backup job Id for the in-progress backup.<br>
7 /// - [`object_name(impl Into<String>)`](crate::operation::delete_object::builders::DeleteObjectFluentBuilder::object_name) / [`set_object_name(Option<String>)`](crate::operation::delete_object::builders::DeleteObjectFluentBuilder::set_object_name):<br>required: **true**<br>The name of the Object.<br>
8 /// - On success, responds with [`DeleteObjectOutput`](crate::operation::delete_object::DeleteObjectOutput)
9 /// - On failure, responds with [`SdkError<DeleteObjectError>`](crate::operation::delete_object::DeleteObjectError)
10 pub fn delete_object(&self) -> crate::operation::delete_object::builders::DeleteObjectFluentBuilder {
11 crate::operation::delete_object::builders::DeleteObjectFluentBuilder::new(self.handle.clone())
12 }
13}