#[non_exhaustive]pub struct CreateAccountCustomizationInput { /* private fields */ }Implementations§
source§impl CreateAccountCustomizationInput
impl CreateAccountCustomizationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateAccountCustomization, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateAccountCustomization, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateAccountCustomization>
Examples found in repository?
2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateAccountCustomization,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateAccountCustomizationError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::CreateAccountCustomizationOutput,
aws_smithy_http::result::SdkError<crate::error::CreateAccountCustomizationError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateAccountCustomizationInput.
source§impl CreateAccountCustomizationInput
impl CreateAccountCustomizationInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID for the Amazon Web Services account that you want to customize Amazon QuickSight for.
sourcepub fn namespace(&self) -> Option<&str>
pub fn namespace(&self) -> Option<&str>
The Amazon QuickSight namespace that you want to add customizations to.
sourcepub fn account_customization(&self) -> Option<&AccountCustomization>
pub fn account_customization(&self) -> Option<&AccountCustomization>
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.
For example, you can add a default theme by setting AccountCustomization to the midnight theme: "AccountCustomization": { "DefaultTheme": "arn:aws:quicksight::aws:theme/MIDNIGHT" }. Or, you can add a custom theme by specifying "AccountCustomization": { "DefaultTheme": "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" }.
A list of the tags that you want to attach to this resource.
Trait Implementations§
source§impl Clone for CreateAccountCustomizationInput
impl Clone for CreateAccountCustomizationInput
source§fn clone(&self) -> CreateAccountCustomizationInput
fn clone(&self) -> CreateAccountCustomizationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more