Struct aws_sdk_iot::input::DescribeRoleAliasInput
source · #[non_exhaustive]pub struct DescribeRoleAliasInput { /* private fields */ }
Implementations§
source§impl DescribeRoleAliasInput
impl DescribeRoleAliasInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeRoleAlias, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeRoleAlias, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeRoleAlias
>
Examples found in repository?
src/client.rs (line 13409)
13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeRoleAlias,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeRoleAliasError>,
> {
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::DescribeRoleAliasOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeRoleAliasError>,
> {
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 DescribeRoleAliasInput
.
source§impl DescribeRoleAliasInput
impl DescribeRoleAliasInput
sourcepub fn role_alias(&self) -> Option<&str>
pub fn role_alias(&self) -> Option<&str>
The role alias to describe.
Trait Implementations§
source§impl Clone for DescribeRoleAliasInput
impl Clone for DescribeRoleAliasInput
source§fn clone(&self) -> DescribeRoleAliasInput
fn clone(&self) -> DescribeRoleAliasInput
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