Struct aws_sdk_iot::input::DescribeAuditTaskInput
source · #[non_exhaustive]pub struct DescribeAuditTaskInput { /* private fields */ }
Implementations§
source§impl DescribeAuditTaskInput
impl DescribeAuditTaskInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeAuditTask, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeAuditTask, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeAuditTask
>
Examples found in repository?
src/client.rs (line 11770)
11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeAuditTask,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeAuditTaskError>,
> {
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::DescribeAuditTaskOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeAuditTaskError>,
> {
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 DescribeAuditTaskInput
.
Trait Implementations§
source§impl Clone for DescribeAuditTaskInput
impl Clone for DescribeAuditTaskInput
source§fn clone(&self) -> DescribeAuditTaskInput
fn clone(&self) -> DescribeAuditTaskInput
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