#[non_exhaustive]pub struct DeleteAccountAuditConfigurationInput { /* private fields */ }
Implementations§
source§impl DeleteAccountAuditConfigurationInput
impl DeleteAccountAuditConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteAccountAuditConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteAccountAuditConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteAccountAuditConfiguration
>
Examples found in repository?
src/client.rs (line 8820)
8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteAccountAuditConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteAccountAuditConfigurationError>,
> {
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::DeleteAccountAuditConfigurationOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteAccountAuditConfigurationError>,
> {
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 DeleteAccountAuditConfigurationInput
.
source§impl DeleteAccountAuditConfigurationInput
impl DeleteAccountAuditConfigurationInput
sourcepub fn delete_scheduled_audits(&self) -> bool
pub fn delete_scheduled_audits(&self) -> bool
If true, all scheduled audits are deleted.
Trait Implementations§
source§impl Clone for DeleteAccountAuditConfigurationInput
impl Clone for DeleteAccountAuditConfigurationInput
source§fn clone(&self) -> DeleteAccountAuditConfigurationInput
fn clone(&self) -> DeleteAccountAuditConfigurationInput
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