aws_sdk_quicksight/client/update_account_settings.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 [`UpdateAccountSettings`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`aws_account_id(impl Into<String>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID for the Amazon Web Services account that contains the QuickSight settings that you want to list.</p><br>
7 /// - [`default_namespace(impl Into<String>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::default_namespace) / [`set_default_namespace(Option<String>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::set_default_namespace):<br>required: **true**<br><p>The default namespace for this Amazon Web Services account. Currently, the default is <code>default</code>. IAM users that register for the first time with QuickSight provide an email address that becomes associated with the default namespace.</p><br>
8 /// - [`notification_email(impl Into<String>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::notification_email) / [`set_notification_email(Option<String>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::set_notification_email):<br>required: **false**<br><p>The email address that you want QuickSight to send notifications to regarding your Amazon Web Services account or QuickSight subscription.</p><br>
9 /// - [`termination_protection_enabled(bool)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::termination_protection_enabled) / [`set_termination_protection_enabled(Option<bool>)`](crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::set_termination_protection_enabled):<br>required: **false**<br><p>A boolean value that determines whether or not an QuickSight account can be deleted. A <code>True</code> value doesn't allow the account to be deleted and results in an error message if a user tries to make a <code>DeleteAccountSubscription</code> request. A <code>False</code> value will allow the account to be deleted.</p><br>
10 /// - On success, responds with [`UpdateAccountSettingsOutput`](crate::operation::update_account_settings::UpdateAccountSettingsOutput) with field(s):
11 /// - [`request_id(Option<String>)`](crate::operation::update_account_settings::UpdateAccountSettingsOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
12 /// - [`status(i32)`](crate::operation::update_account_settings::UpdateAccountSettingsOutput::status): <p>The HTTP status of the request.</p>
13 /// - On failure, responds with [`SdkError<UpdateAccountSettingsError>`](crate::operation::update_account_settings::UpdateAccountSettingsError)
14 pub fn update_account_settings(&self) -> crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder {
15 crate::operation::update_account_settings::builders::UpdateAccountSettingsFluentBuilder::new(self.handle.clone())
16 }
17}