Struct aws_sdk_macie2::operation::update_automated_discovery_configuration::builders::UpdateAutomatedDiscoveryConfigurationFluentBuilder
source · pub struct UpdateAutomatedDiscoveryConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateAutomatedDiscoveryConfiguration
.
Enables or disables automated sensitive data discovery for an account.
Implementations§
source§impl UpdateAutomatedDiscoveryConfigurationFluentBuilder
impl UpdateAutomatedDiscoveryConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateAutomatedDiscoveryConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateAutomatedDiscoveryConfigurationInputBuilder
Access the UpdateAutomatedDiscoveryConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdateAutomatedDiscoveryConfigurationOutput, SdkError<UpdateAutomatedDiscoveryConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateAutomatedDiscoveryConfigurationOutput, SdkError<UpdateAutomatedDiscoveryConfigurationError, HttpResponse>>
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, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateAutomatedDiscoveryConfigurationOutput, UpdateAutomatedDiscoveryConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateAutomatedDiscoveryConfigurationOutput, UpdateAutomatedDiscoveryConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn status(self, input: AutomatedDiscoveryStatus) -> Self
pub fn status(self, input: AutomatedDiscoveryStatus) -> Self
The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, start or resume automated sensitive data discovery activities for the account; and, DISABLED, stop performing automated sensitive data discovery activities for the account.
When you enable automated sensitive data discovery for the first time, Amazon Macie uses default configuration settings to determine which data sources to analyze and which managed data identifiers to use. To change these settings, use the UpdateClassificationScope and UpdateSensitivityInspectionTemplate operations, respectively. If you change the settings and subsequently disable the configuration, Amazon Macie retains your changes.
sourcepub fn set_status(self, input: Option<AutomatedDiscoveryStatus>) -> Self
pub fn set_status(self, input: Option<AutomatedDiscoveryStatus>) -> Self
The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, start or resume automated sensitive data discovery activities for the account; and, DISABLED, stop performing automated sensitive data discovery activities for the account.
When you enable automated sensitive data discovery for the first time, Amazon Macie uses default configuration settings to determine which data sources to analyze and which managed data identifiers to use. To change these settings, use the UpdateClassificationScope and UpdateSensitivityInspectionTemplate operations, respectively. If you change the settings and subsequently disable the configuration, Amazon Macie retains your changes.
sourcepub fn get_status(&self) -> &Option<AutomatedDiscoveryStatus>
pub fn get_status(&self) -> &Option<AutomatedDiscoveryStatus>
The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, start or resume automated sensitive data discovery activities for the account; and, DISABLED, stop performing automated sensitive data discovery activities for the account.
When you enable automated sensitive data discovery for the first time, Amazon Macie uses default configuration settings to determine which data sources to analyze and which managed data identifiers to use. To change these settings, use the UpdateClassificationScope and UpdateSensitivityInspectionTemplate operations, respectively. If you change the settings and subsequently disable the configuration, Amazon Macie retains your changes.
Trait Implementations§
source§impl Clone for UpdateAutomatedDiscoveryConfigurationFluentBuilder
impl Clone for UpdateAutomatedDiscoveryConfigurationFluentBuilder
source§fn clone(&self) -> UpdateAutomatedDiscoveryConfigurationFluentBuilder
fn clone(&self) -> UpdateAutomatedDiscoveryConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more