aws_sdk_efs/client/
describe_account_preferences.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 [`DescribeAccountPreferences`](crate::operation::describe_account_preferences::builders::DescribeAccountPreferencesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_account_preferences::builders::DescribeAccountPreferencesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_account_preferences::builders::DescribeAccountPreferencesFluentBuilder::set_next_token):<br>required: **false**<br><p>(Optional) You can use <code>NextToken</code> in a subsequent request to fetch the next page of Amazon Web Services account preferences if the response payload was paginated.</p><br>
7    ///   - [`max_results(i32)`](crate::operation::describe_account_preferences::builders::DescribeAccountPreferencesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_account_preferences::builders::DescribeAccountPreferencesFluentBuilder::set_max_results):<br>required: **false**<br><p>(Optional) When retrieving account preferences, you can optionally specify the <code>MaxItems</code> parameter to limit the number of objects returned in a response. The default value is 100.</p><br>
8    /// - On success, responds with [`DescribeAccountPreferencesOutput`](crate::operation::describe_account_preferences::DescribeAccountPreferencesOutput) with field(s):
9    ///   - [`resource_id_preference(Option<ResourceIdPreference>)`](crate::operation::describe_account_preferences::DescribeAccountPreferencesOutput::resource_id_preference): <p>Describes the resource ID preference setting for the Amazon Web Services account associated with the user making the request, in the current Amazon Web Services Region.</p>
10    ///   - [`next_token(Option<String>)`](crate::operation::describe_account_preferences::DescribeAccountPreferencesOutput::next_token): <p>Present if there are more records than returned in the response. You can use the <code>NextToken</code> in the subsequent request to fetch the additional descriptions.</p>
11    /// - On failure, responds with [`SdkError<DescribeAccountPreferencesError>`](crate::operation::describe_account_preferences::DescribeAccountPreferencesError)
12    pub fn describe_account_preferences(&self) -> crate::operation::describe_account_preferences::builders::DescribeAccountPreferencesFluentBuilder {
13        crate::operation::describe_account_preferences::builders::DescribeAccountPreferencesFluentBuilder::new(self.handle.clone())
14    }
15}