Struct aws_sdk_quicksight::input::RestoreAnalysisInput
source · #[non_exhaustive]pub struct RestoreAnalysisInput { /* private fields */ }Implementations§
source§impl RestoreAnalysisInput
impl RestoreAnalysisInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RestoreAnalysis, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RestoreAnalysis, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RestoreAnalysis>
Examples found in repository?
src/client.rs (line 12240)
12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::RestoreAnalysis,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::RestoreAnalysisError>,
> {
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::RestoreAnalysisOutput,
aws_smithy_http::result::SdkError<crate::error::RestoreAnalysisError>,
> {
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 RestoreAnalysisInput.
source§impl RestoreAnalysisInput
impl RestoreAnalysisInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that contains the analysis.
sourcepub fn analysis_id(&self) -> Option<&str>
pub fn analysis_id(&self) -> Option<&str>
The ID of the analysis that you're restoring.
Trait Implementations§
source§impl Clone for RestoreAnalysisInput
impl Clone for RestoreAnalysisInput
source§fn clone(&self) -> RestoreAnalysisInput
fn clone(&self) -> RestoreAnalysisInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more