#[non_exhaustive]pub struct UpdateAccountAuditConfigurationInput { /* private fields */ }
Implementations§
source§impl UpdateAccountAuditConfigurationInput
impl UpdateAccountAuditConfigurationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAccountAuditConfiguration, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAccountAuditConfiguration, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateAccountAuditConfiguration
>
Examples found in repository?
24845 24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 24857 24858 24859 24860 24861 24862 24863 24864 24865 24866 24867 24868 24869 24870 24871 24872 24873 24874 24875 24876 24877 24878 24879 24880 24881 24882 24883 24884 24885 24886 24887
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateAccountAuditConfiguration,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateAccountAuditConfigurationError>,
> {
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::UpdateAccountAuditConfigurationOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateAccountAuditConfigurationError>,
> {
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 UpdateAccountAuditConfigurationInput
.
source§impl UpdateAccountAuditConfigurationInput
impl UpdateAccountAuditConfigurationInput
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
sourcepub fn audit_notification_target_configurations(
&self
) -> Option<&HashMap<AuditNotificationType, AuditNotificationTarget>>
pub fn audit_notification_target_configurations(
&self
) -> Option<&HashMap<AuditNotificationType, AuditNotificationTarget>>
Information about the targets to which audit notifications are sent.
sourcepub fn audit_check_configurations(
&self
) -> Option<&HashMap<String, AuditCheckConfiguration>>
pub fn audit_check_configurations(
&self
) -> Option<&HashMap<String, AuditCheckConfiguration>>
Specifies which audit checks are enabled and disabled for this account. Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are currently enabled.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to UpdateAccountAuditConfiguration
, this parameter is required and must specify at least one enabled check.
Trait Implementations§
source§impl Clone for UpdateAccountAuditConfigurationInput
impl Clone for UpdateAccountAuditConfigurationInput
source§fn clone(&self) -> UpdateAccountAuditConfigurationInput
fn clone(&self) -> UpdateAccountAuditConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more