aws_sdk_deadline/client/
update_storage_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateStorageProfile`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::set_client_token):<br>required: **false**<br><p>The unique token which the server uses to recognize retries of the same request.</p><br>
    ///   - [`farm_id(impl Into<String>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID to update.</p><br>
    ///   - [`storage_profile_id(impl Into<String>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::storage_profile_id) / [`set_storage_profile_id(Option<String>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::set_storage_profile_id):<br>required: **true**<br><p>The storage profile ID to update.</p><br>
    ///   - [`display_name(impl Into<String>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::set_display_name):<br>required: **false**<br><p>The display name of the storage profile to update.</p><important>  <p>This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.</p> </important><br>
    ///   - [`os_family(StorageProfileOperatingSystemFamily)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::os_family) / [`set_os_family(Option<StorageProfileOperatingSystemFamily>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::set_os_family):<br>required: **false**<br><p>The OS system to update.</p><br>
    ///   - [`file_system_locations_to_add(FileSystemLocation)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::file_system_locations_to_add) / [`set_file_system_locations_to_add(Option<Vec::<FileSystemLocation>>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::set_file_system_locations_to_add):<br>required: **false**<br><p>The file system location names to add.</p><br>
    ///   - [`file_system_locations_to_remove(FileSystemLocation)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::file_system_locations_to_remove) / [`set_file_system_locations_to_remove(Option<Vec::<FileSystemLocation>>)`](crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::set_file_system_locations_to_remove):<br>required: **false**<br><p>The file system location names to remove.</p><br>
    /// - On success, responds with [`UpdateStorageProfileOutput`](crate::operation::update_storage_profile::UpdateStorageProfileOutput)
    /// - On failure, responds with [`SdkError<UpdateStorageProfileError>`](crate::operation::update_storage_profile::UpdateStorageProfileError)
    pub fn update_storage_profile(&self) -> crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder {
        crate::operation::update_storage_profile::builders::UpdateStorageProfileFluentBuilder::new(self.handle.clone())
    }
}