pub struct Builder { /* private fields */ }
Expand description

A builder for UpdateAnalysisInput.

Implementations§

The ID of the Amazon Web Services account that contains the analysis that you're updating.

Examples found in repository?
src/client.rs (line 13224)
13223
13224
13225
13226
        pub fn aws_account_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.aws_account_id(input.into());
            self
        }

The ID of the Amazon Web Services account that contains the analysis that you're updating.

Examples found in repository?
src/client.rs (line 13232)
13228
13229
13230
13231
13232
13233
13234
        pub fn set_aws_account_id(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_aws_account_id(input);
            self
        }

The ID for the analysis that you're updating. This ID displays in the URL of the analysis.

Examples found in repository?
src/client.rs (line 13237)
13236
13237
13238
13239
        pub fn analysis_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.analysis_id(input.into());
            self
        }

The ID for the analysis that you're updating. This ID displays in the URL of the analysis.

Examples found in repository?
src/client.rs (line 13242)
13241
13242
13243
13244
        pub fn set_analysis_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_analysis_id(input);
            self
        }

A descriptive name for the analysis that you're updating. This name displays for the analysis in the Amazon QuickSight console.

Examples found in repository?
src/client.rs (line 13247)
13246
13247
13248
13249
        pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.name(input.into());
            self
        }

A descriptive name for the analysis that you're updating. This name displays for the analysis in the Amazon QuickSight console.

Examples found in repository?
src/client.rs (line 13252)
13251
13252
13253
13254
        pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_name(input);
            self
        }

The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.

Examples found in repository?
src/client.rs (line 13257)
13256
13257
13258
13259
        pub fn parameters(mut self, input: crate::model::Parameters) -> Self {
            self.inner = self.inner.parameters(input);
            self
        }

The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.

Examples found in repository?
src/client.rs (line 13265)
13261
13262
13263
13264
13265
13266
13267
        pub fn set_parameters(
            mut self,
            input: std::option::Option<crate::model::Parameters>,
        ) -> Self {
            self.inner = self.inner.set_parameters(input);
            self
        }

A source entity to use for the analysis that you're updating. This metadata structure contains details that describe a source template and one or more datasets.

Examples found in repository?
src/client.rs (line 13270)
13269
13270
13271
13272
        pub fn source_entity(mut self, input: crate::model::AnalysisSourceEntity) -> Self {
            self.inner = self.inner.source_entity(input);
            self
        }

A source entity to use for the analysis that you're updating. This metadata structure contains details that describe a source template and one or more datasets.

Examples found in repository?
src/client.rs (line 13278)
13274
13275
13276
13277
13278
13279
13280
        pub fn set_source_entity(
            mut self,
            input: std::option::Option<crate::model::AnalysisSourceEntity>,
        ) -> Self {
            self.inner = self.inner.set_source_entity(input);
            self
        }

The Amazon Resource Name (ARN) for the theme to apply to the analysis that you're creating. To see the theme in the Amazon QuickSight console, make sure that you have access to it.

Examples found in repository?
src/client.rs (line 13283)
13282
13283
13284
13285
        pub fn theme_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.theme_arn(input.into());
            self
        }

The Amazon Resource Name (ARN) for the theme to apply to the analysis that you're creating. To see the theme in the Amazon QuickSight console, make sure that you have access to it.

Examples found in repository?
src/client.rs (line 13288)
13287
13288
13289
13290
        pub fn set_theme_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_theme_arn(input);
            self
        }

Consumes the builder and constructs a UpdateAnalysisInput.

Examples found in repository?
src/client.rs (line 13191)
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::UpdateAnalysis,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::UpdateAnalysisError>,
        > {
            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::UpdateAnalysisOutput,
            aws_smithy_http::result::SdkError<crate::error::UpdateAnalysisError>,
        > {
            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
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more