Struct aws_sdk_macie2::operation::update_automated_discovery_configuration::UpdateAutomatedDiscoveryConfigurationInput
source · #[non_exhaustive]pub struct UpdateAutomatedDiscoveryConfigurationInput {
pub auto_enable_organization_members: Option<AutoEnableMode>,
pub status: Option<AutomatedDiscoveryStatus>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.auto_enable_organization_members: Option<AutoEnableMode>Specifies whether to automatically enable automated sensitive data discovery for accounts in the organization. Valid values are: ALL (default), enable it for all existing accounts and new member accounts; NEW, enable it only for new member accounts; and, NONE, don't enable it for any accounts.
If you specify NEW or NONE, automated sensitive data discovery continues to be enabled for any existing accounts that it's currently enabled for. To enable or disable it for individual member accounts, specify NEW or NONE, and then enable or disable it for each account by using the BatchUpdateAutomatedDiscoveryAccounts operation.
status: Option<AutomatedDiscoveryStatus>The new status of automated sensitive data discovery for the organization or account. Valid values are: ENABLED, start or resume all automated sensitive data discovery activities; and, DISABLED, stop performing all automated sensitive data discovery activities.
If you specify DISABLED for an administrator account, you also disable automated sensitive data discovery for all member accounts in the organization.
Implementations§
source§impl UpdateAutomatedDiscoveryConfigurationInput
impl UpdateAutomatedDiscoveryConfigurationInput
sourcepub fn auto_enable_organization_members(&self) -> Option<&AutoEnableMode>
pub fn auto_enable_organization_members(&self) -> Option<&AutoEnableMode>
Specifies whether to automatically enable automated sensitive data discovery for accounts in the organization. Valid values are: ALL (default), enable it for all existing accounts and new member accounts; NEW, enable it only for new member accounts; and, NONE, don't enable it for any accounts.
If you specify NEW or NONE, automated sensitive data discovery continues to be enabled for any existing accounts that it's currently enabled for. To enable or disable it for individual member accounts, specify NEW or NONE, and then enable or disable it for each account by using the BatchUpdateAutomatedDiscoveryAccounts operation.
sourcepub fn status(&self) -> Option<&AutomatedDiscoveryStatus>
pub fn status(&self) -> Option<&AutomatedDiscoveryStatus>
The new status of automated sensitive data discovery for the organization or account. Valid values are: ENABLED, start or resume all automated sensitive data discovery activities; and, DISABLED, stop performing all automated sensitive data discovery activities.
If you specify DISABLED for an administrator account, you also disable automated sensitive data discovery for all member accounts in the organization.
source§impl UpdateAutomatedDiscoveryConfigurationInput
impl UpdateAutomatedDiscoveryConfigurationInput
sourcepub fn builder() -> UpdateAutomatedDiscoveryConfigurationInputBuilder
pub fn builder() -> UpdateAutomatedDiscoveryConfigurationInputBuilder
Creates a new builder-style object to manufacture UpdateAutomatedDiscoveryConfigurationInput.
Trait Implementations§
source§impl Clone for UpdateAutomatedDiscoveryConfigurationInput
impl Clone for UpdateAutomatedDiscoveryConfigurationInput
source§fn clone(&self) -> UpdateAutomatedDiscoveryConfigurationInput
fn clone(&self) -> UpdateAutomatedDiscoveryConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateAutomatedDiscoveryConfigurationInput
impl PartialEq for UpdateAutomatedDiscoveryConfigurationInput
source§fn eq(&self, other: &UpdateAutomatedDiscoveryConfigurationInput) -> bool
fn eq(&self, other: &UpdateAutomatedDiscoveryConfigurationInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAutomatedDiscoveryConfigurationInput
Auto Trait Implementations§
impl Freeze for UpdateAutomatedDiscoveryConfigurationInput
impl RefUnwindSafe for UpdateAutomatedDiscoveryConfigurationInput
impl Send for UpdateAutomatedDiscoveryConfigurationInput
impl Sync for UpdateAutomatedDiscoveryConfigurationInput
impl Unpin for UpdateAutomatedDiscoveryConfigurationInput
impl UnwindSafe for UpdateAutomatedDiscoveryConfigurationInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more