Struct aws_sdk_quicksight::input::DeleteThemeAliasInput
source · #[non_exhaustive]pub struct DeleteThemeAliasInput { /* private fields */ }Implementations§
source§impl DeleteThemeAliasInput
impl DeleteThemeAliasInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteThemeAlias, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteThemeAlias, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteThemeAlias>
Examples found in repository?
src/client.rs (line 6220)
6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteThemeAlias,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteThemeAliasError>,
> {
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::DeleteThemeAliasOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteThemeAliasError>,
> {
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 DeleteThemeAliasInput.
source§impl DeleteThemeAliasInput
impl DeleteThemeAliasInput
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 theme alias to delete.
sourcepub fn alias_name(&self) -> Option<&str>
pub fn alias_name(&self) -> Option<&str>
The unique name for the theme alias to delete.
Trait Implementations§
source§impl Clone for DeleteThemeAliasInput
impl Clone for DeleteThemeAliasInput
source§fn clone(&self) -> DeleteThemeAliasInput
fn clone(&self) -> DeleteThemeAliasInput
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