aws_sdk_quicksight/client/create_account_customization.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 [`CreateAccountCustomization`](crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`aws_account_id(impl Into<String>)`](crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID for the Amazon Web Services account that you want to customize Amazon QuickSight for.</p><br>
7 /// - [`namespace(impl Into<String>)`](crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder::set_namespace):<br>required: **false**<br><p>The Amazon QuickSight namespace that you want to add customizations to.</p><br>
8 /// - [`account_customization(AccountCustomization)`](crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder::account_customization) / [`set_account_customization(Option<AccountCustomization>)`](crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder::set_account_customization):<br>required: **true**<br><p>The Amazon QuickSight customizations you're adding in the current Amazon Web Services Region. You can add these to an Amazon Web Services account and a QuickSight namespace.</p> <p>For example, you can add a default theme by setting <code>AccountCustomization</code> to the midnight theme: <code>"AccountCustomization": { "DefaultTheme": "arn:aws:quicksight::aws:theme/MIDNIGHT" }</code>. Or, you can add a custom theme by specifying <code>"AccountCustomization": { "DefaultTheme": "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" }</code>.</p><br>
9 /// - [`tags(Tag)`](crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder::set_tags):<br>required: **false**<br><p>A list of the tags that you want to attach to this resource.</p><br>
10 /// - On success, responds with [`CreateAccountCustomizationOutput`](crate::operation::create_account_customization::CreateAccountCustomizationOutput) with field(s):
11 /// - [`arn(Option<String>)`](crate::operation::create_account_customization::CreateAccountCustomizationOutput::arn): <p>The Amazon Resource Name (ARN) for the customization that you created for this Amazon Web Services account.</p>
12 /// - [`aws_account_id(Option<String>)`](crate::operation::create_account_customization::CreateAccountCustomizationOutput::aws_account_id): <p>The ID for the Amazon Web Services account that you want to customize Amazon QuickSight for.</p>
13 /// - [`namespace(Option<String>)`](crate::operation::create_account_customization::CreateAccountCustomizationOutput::namespace): <p>The namespace associated with the customization you're creating.</p>
14 /// - [`account_customization(Option<AccountCustomization>)`](crate::operation::create_account_customization::CreateAccountCustomizationOutput::account_customization): <p>The Amazon QuickSight customizations you're adding in the current Amazon Web Services Region.</p>
15 /// - [`request_id(Option<String>)`](crate::operation::create_account_customization::CreateAccountCustomizationOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
16 /// - [`status(i32)`](crate::operation::create_account_customization::CreateAccountCustomizationOutput::status): <p>The HTTP status of the request.</p>
17 /// - On failure, responds with [`SdkError<CreateAccountCustomizationError>`](crate::operation::create_account_customization::CreateAccountCustomizationError)
18 pub fn create_account_customization(&self) -> crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder {
19 crate::operation::create_account_customization::builders::CreateAccountCustomizationFluentBuilder::new(self.handle.clone())
20 }
21}