aws-sdk-efs 1.56.0

AWS SDK for Amazon Elastic File System
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutAccountPreferences`](crate::operation::put_account_preferences::builders::PutAccountPreferencesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_id_type(ResourceIdType)`](crate::operation::put_account_preferences::builders::PutAccountPreferencesFluentBuilder::resource_id_type) / [`set_resource_id_type(Option<ResourceIdType>)`](crate::operation::put_account_preferences::builders::PutAccountPreferencesFluentBuilder::set_resource_id_type):<br>required: **true**<br><p>Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, either <code>LONG_ID</code> (17 characters), or <code>SHORT_ID</code> (8 characters).</p><note>  <p>Starting in October, 2021, you will receive an error when setting the account preference to <code>SHORT_ID</code>. Contact Amazon Web Services support if you receive an error and must use short IDs for file system and mount target resources.</p> </note><br>
    /// - On success, responds with [`PutAccountPreferencesOutput`](crate::operation::put_account_preferences::PutAccountPreferencesOutput) with field(s):
    ///   - [`resource_id_preference(Option<ResourceIdPreference>)`](crate::operation::put_account_preferences::PutAccountPreferencesOutput::resource_id_preference): <p>Describes the resource type and its ID preference for the user's Amazon Web Services account, in the current Amazon Web Services Region.</p>
    /// - On failure, responds with [`SdkError<PutAccountPreferencesError>`](crate::operation::put_account_preferences::PutAccountPreferencesError)
    pub fn put_account_preferences(&self) -> crate::operation::put_account_preferences::builders::PutAccountPreferencesFluentBuilder {
        crate::operation::put_account_preferences::builders::PutAccountPreferencesFluentBuilder::new(self.handle.clone())
    }
}