Struct aws_sdk_quicksight::input::DeleteAnalysisInput
source · #[non_exhaustive]pub struct DeleteAnalysisInput { /* private fields */ }Implementations§
source§impl DeleteAnalysisInput
impl DeleteAnalysisInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteAnalysis, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteAnalysis, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteAnalysis>
Examples found in repository?
src/client.rs (line 4968)
4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteAnalysis,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteAnalysisError>,
> {
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::DeleteAnalysisOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteAnalysisError>,
> {
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 DeleteAnalysisInput.
source§impl DeleteAnalysisInput
impl DeleteAnalysisInput
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The ID of the Amazon Web Services account where you want to delete an analysis.
sourcepub fn analysis_id(&self) -> Option<&str>
pub fn analysis_id(&self) -> Option<&str>
The ID of the analysis that you're deleting.
sourcepub fn recovery_window_in_days(&self) -> Option<i64>
pub fn recovery_window_in_days(&self) -> Option<i64>
A value that specifies the number of days that Amazon QuickSight waits before it deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery option in the same API call. The default value is 30.
sourcepub fn force_delete_without_recovery(&self) -> bool
pub fn force_delete_without_recovery(&self) -> bool
This option defaults to the value NoForceDeleteWithoutRecovery. To immediately delete the analysis, add the ForceDeleteWithoutRecovery option. You can't restore an analysis after it's deleted.
Trait Implementations§
source§impl Clone for DeleteAnalysisInput
impl Clone for DeleteAnalysisInput
source§fn clone(&self) -> DeleteAnalysisInput
fn clone(&self) -> DeleteAnalysisInput
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