Struct aws_sdk_iot::input::DescribeAuthorizerInput
source · #[non_exhaustive]pub struct DescribeAuthorizerInput { /* private fields */ }
Implementations§
source§impl DescribeAuthorizerInput
impl DescribeAuthorizerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeAuthorizer, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeAuthorizer, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeAuthorizer
>
Examples found in repository?
src/client.rs (line 11844)
11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeAuthorizer,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeAuthorizerError>,
> {
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::DescribeAuthorizerOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeAuthorizerError>,
> {
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 DescribeAuthorizerInput
.
source§impl DescribeAuthorizerInput
impl DescribeAuthorizerInput
The name of the authorizer to describe.
Trait Implementations§
source§impl Clone for DescribeAuthorizerInput
impl Clone for DescribeAuthorizerInput
source§fn clone(&self) -> DescribeAuthorizerInput
fn clone(&self) -> DescribeAuthorizerInput
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