Struct aws_sdk_iot::input::DescribeDefaultAuthorizerInput
source · #[non_exhaustive]pub struct DescribeDefaultAuthorizerInput {}
Implementations§
source§impl DescribeDefaultAuthorizerInput
impl DescribeDefaultAuthorizerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeDefaultAuthorizer, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeDefaultAuthorizer, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeDefaultAuthorizer
>
Examples found in repository?
src/client.rs (line 12226)
12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeDefaultAuthorizer,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeDefaultAuthorizerError>,
> {
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::DescribeDefaultAuthorizerOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeDefaultAuthorizerError>,
> {
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 DescribeDefaultAuthorizerInput
.
Trait Implementations§
source§impl Clone for DescribeDefaultAuthorizerInput
impl Clone for DescribeDefaultAuthorizerInput
source§fn clone(&self) -> DescribeDefaultAuthorizerInput
fn clone(&self) -> DescribeDefaultAuthorizerInput
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