Struct aws_sdk_iot::input::DescribeAuditFindingInput
source · #[non_exhaustive]pub struct DescribeAuditFindingInput { /* private fields */ }
Implementations§
source§impl DescribeAuditFindingInput
impl DescribeAuditFindingInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeAuditFinding, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeAuditFinding, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeAuditFinding
>
Examples found in repository?
src/client.rs (line 11533)
11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeAuditFinding,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeAuditFindingError>,
> {
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::DescribeAuditFindingOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeAuditFindingError>,
> {
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 DescribeAuditFindingInput
.
source§impl DescribeAuditFindingInput
impl DescribeAuditFindingInput
sourcepub fn finding_id(&self) -> Option<&str>
pub fn finding_id(&self) -> Option<&str>
A unique identifier for a single audit finding. You can use this identifier to apply mitigation actions to the finding.
Trait Implementations§
source§impl Clone for DescribeAuditFindingInput
impl Clone for DescribeAuditFindingInput
source§fn clone(&self) -> DescribeAuditFindingInput
fn clone(&self) -> DescribeAuditFindingInput
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