Struct aws_sdk_auditmanager::types::DeregistrationPolicy
source · #[non_exhaustive]pub struct DeregistrationPolicy {
pub delete_resources: Option<DeleteResources>,
}Expand description
The deregistration policy for the data that's stored in Audit Manager. You can use this attribute to determine how your data is handled when you deregister Audit Manager.
By default, Audit Manager retains evidence data for two years from the time of its creation. Other Audit Manager resources (including assessments, custom controls, and custom frameworks) remain in Audit Manager indefinitely, and are available if you re-register Audit Manager in the future. For more information about data retention, see Data Protection in the Audit Manager User Guide.
If you choose to delete all data, this action permanently deletes all evidence data in your account within seven days. It also deletes all of the Audit Manager resources that you created, including assessments, custom controls, and custom frameworks. Your data will not be available if you re-register Audit Manager in the future.
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.delete_resources: Option<DeleteResources>Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
-
If you set the value to
ALL, all of your data is deleted within seven days of deregistration. -
If you set the value to
DEFAULT, none of your data is deleted at the time of deregistration. However, keep in mind that the Audit Manager data retention policy still applies. As a result, any evidence data will be deleted two years after its creation date. Your other Audit Manager resources will continue to exist indefinitely.
Implementations§
source§impl DeregistrationPolicy
impl DeregistrationPolicy
sourcepub fn delete_resources(&self) -> Option<&DeleteResources>
pub fn delete_resources(&self) -> Option<&DeleteResources>
Specifies which Audit Manager data will be deleted when you deregister Audit Manager.
-
If you set the value to
ALL, all of your data is deleted within seven days of deregistration. -
If you set the value to
DEFAULT, none of your data is deleted at the time of deregistration. However, keep in mind that the Audit Manager data retention policy still applies. As a result, any evidence data will be deleted two years after its creation date. Your other Audit Manager resources will continue to exist indefinitely.
source§impl DeregistrationPolicy
impl DeregistrationPolicy
sourcepub fn builder() -> DeregistrationPolicyBuilder
pub fn builder() -> DeregistrationPolicyBuilder
Creates a new builder-style object to manufacture DeregistrationPolicy.
Trait Implementations§
source§impl Clone for DeregistrationPolicy
impl Clone for DeregistrationPolicy
source§fn clone(&self) -> DeregistrationPolicy
fn clone(&self) -> DeregistrationPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeregistrationPolicy
impl Debug for DeregistrationPolicy
source§impl PartialEq for DeregistrationPolicy
impl PartialEq for DeregistrationPolicy
source§fn eq(&self, other: &DeregistrationPolicy) -> bool
fn eq(&self, other: &DeregistrationPolicy) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeregistrationPolicy
Auto Trait Implementations§
impl Freeze for DeregistrationPolicy
impl RefUnwindSafe for DeregistrationPolicy
impl Send for DeregistrationPolicy
impl Sync for DeregistrationPolicy
impl Unpin for DeregistrationPolicy
impl UnwindSafe for DeregistrationPolicy
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> 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