Struct aws_sdk_iot::input::DeleteRoleAliasInput
source · #[non_exhaustive]pub struct DeleteRoleAliasInput { /* private fields */ }
Implementations§
source§impl DeleteRoleAliasInput
impl DeleteRoleAliasInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteRoleAlias, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteRoleAlias, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteRoleAlias
>
Examples found in repository?
src/client.rs (line 10587)
10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteRoleAlias,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteRoleAliasError>,
> {
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::DeleteRoleAliasOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteRoleAliasError>,
> {
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 DeleteRoleAliasInput
.
source§impl DeleteRoleAliasInput
impl DeleteRoleAliasInput
sourcepub fn role_alias(&self) -> Option<&str>
pub fn role_alias(&self) -> Option<&str>
The role alias to delete.
Trait Implementations§
source§impl Clone for DeleteRoleAliasInput
impl Clone for DeleteRoleAliasInput
source§fn clone(&self) -> DeleteRoleAliasInput
fn clone(&self) -> DeleteRoleAliasInput
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