aws_sdk_deadline/client/
get_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 [`GetStorageProfile`](crate::operation::get_storage_profile::builders::GetStorageProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`farm_id(impl Into<String>)`](crate::operation::get_storage_profile::builders::GetStorageProfileFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::get_storage_profile::builders::GetStorageProfileFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID for the storage profile.</p><br>
7    ///   - [`storage_profile_id(impl Into<String>)`](crate::operation::get_storage_profile::builders::GetStorageProfileFluentBuilder::storage_profile_id) / [`set_storage_profile_id(Option<String>)`](crate::operation::get_storage_profile::builders::GetStorageProfileFluentBuilder::set_storage_profile_id):<br>required: **true**<br><p>The storage profile ID.</p><br>
8    /// - On success, responds with [`GetStorageProfileOutput`](crate::operation::get_storage_profile::GetStorageProfileOutput) with field(s):
9    ///   - [`storage_profile_id(String)`](crate::operation::get_storage_profile::GetStorageProfileOutput::storage_profile_id): <p>The storage profile ID.</p>
10    ///   - [`display_name(String)`](crate::operation::get_storage_profile::GetStorageProfileOutput::display_name): <p>The display name of the storage profile.</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>
11    ///   - [`os_family(StorageProfileOperatingSystemFamily)`](crate::operation::get_storage_profile::GetStorageProfileOutput::os_family): <p>The operating system (OS) for the storage profile.</p>
12    ///   - [`created_at(DateTime)`](crate::operation::get_storage_profile::GetStorageProfileOutput::created_at): <p>The date and time the resource was created.</p>
13    ///   - [`created_by(String)`](crate::operation::get_storage_profile::GetStorageProfileOutput::created_by): <p>The user or system that created this resource.</p>
14    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_storage_profile::GetStorageProfileOutput::updated_at): <p>The date and time the resource was updated.</p>
15    ///   - [`updated_by(Option<String>)`](crate::operation::get_storage_profile::GetStorageProfileOutput::updated_by): <p>The user or system that updated this resource.</p>
16    ///   - [`file_system_locations(Option<Vec::<FileSystemLocation>>)`](crate::operation::get_storage_profile::GetStorageProfileOutput::file_system_locations): <p>The location of the files for the storage profile.</p>
17    /// - On failure, responds with [`SdkError<GetStorageProfileError>`](crate::operation::get_storage_profile::GetStorageProfileError)
18    pub fn get_storage_profile(&self) -> crate::operation::get_storage_profile::builders::GetStorageProfileFluentBuilder {
19        crate::operation::get_storage_profile::builders::GetStorageProfileFluentBuilder::new(self.handle.clone())
20    }
21}