aws_sdk_deadline/client/delete_storage_profile.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 [`DeleteStorageProfile`](crate::operation::delete_storage_profile::builders::DeleteStorageProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`farm_id(impl Into<String>)`](crate::operation::delete_storage_profile::builders::DeleteStorageProfileFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::delete_storage_profile::builders::DeleteStorageProfileFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID of the farm from which to remove the storage profile.</p><br>
7 /// - [`storage_profile_id(impl Into<String>)`](crate::operation::delete_storage_profile::builders::DeleteStorageProfileFluentBuilder::storage_profile_id) / [`set_storage_profile_id(Option<String>)`](crate::operation::delete_storage_profile::builders::DeleteStorageProfileFluentBuilder::set_storage_profile_id):<br>required: **true**<br><p>The storage profile ID of the storage profile to delete.</p><br>
8 /// - On success, responds with [`DeleteStorageProfileOutput`](crate::operation::delete_storage_profile::DeleteStorageProfileOutput)
9 /// - On failure, responds with [`SdkError<DeleteStorageProfileError>`](crate::operation::delete_storage_profile::DeleteStorageProfileError)
10 pub fn delete_storage_profile(&self) -> crate::operation::delete_storage_profile::builders::DeleteStorageProfileFluentBuilder {
11 crate::operation::delete_storage_profile::builders::DeleteStorageProfileFluentBuilder::new(self.handle.clone())
12 }
13}