#[non_exhaustive]pub struct AutomatedDiscoveryAccountUpdateError {
pub account_id: Option<String>,
pub error_code: Option<AutomatedDiscoveryAccountUpdateErrorCode>,
}
Expand description
Provides information about a request that failed to change the status of automated sensitive data discovery for an Amazon Macie account.
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.account_id: Option<String>
The Amazon Web Services account ID for the account that the request applied to.
error_code: Option<AutomatedDiscoveryAccountUpdateErrorCode>
The error code for the error that caused the request to fail for the account (accountId). Possible values are: ACCOUNT_NOT_FOUND, the account doesn’t exist or you're not the Amazon Macie administrator for the account; and, ACCOUNT_PAUSED, Macie isn’t enabled for the account in the current Amazon Web Services Region.
Implementations§
source§impl AutomatedDiscoveryAccountUpdateError
impl AutomatedDiscoveryAccountUpdateError
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID for the account that the request applied to.
sourcepub fn error_code(&self) -> Option<&AutomatedDiscoveryAccountUpdateErrorCode>
pub fn error_code(&self) -> Option<&AutomatedDiscoveryAccountUpdateErrorCode>
The error code for the error that caused the request to fail for the account (accountId). Possible values are: ACCOUNT_NOT_FOUND, the account doesn’t exist or you're not the Amazon Macie administrator for the account; and, ACCOUNT_PAUSED, Macie isn’t enabled for the account in the current Amazon Web Services Region.
source§impl AutomatedDiscoveryAccountUpdateError
impl AutomatedDiscoveryAccountUpdateError
sourcepub fn builder() -> AutomatedDiscoveryAccountUpdateErrorBuilder
pub fn builder() -> AutomatedDiscoveryAccountUpdateErrorBuilder
Creates a new builder-style object to manufacture AutomatedDiscoveryAccountUpdateError
.
Trait Implementations§
source§impl Clone for AutomatedDiscoveryAccountUpdateError
impl Clone for AutomatedDiscoveryAccountUpdateError
source§fn clone(&self) -> AutomatedDiscoveryAccountUpdateError
fn clone(&self) -> AutomatedDiscoveryAccountUpdateError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AutomatedDiscoveryAccountUpdateError
impl PartialEq for AutomatedDiscoveryAccountUpdateError
source§fn eq(&self, other: &AutomatedDiscoveryAccountUpdateError) -> bool
fn eq(&self, other: &AutomatedDiscoveryAccountUpdateError) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomatedDiscoveryAccountUpdateError
Auto Trait Implementations§
impl Freeze for AutomatedDiscoveryAccountUpdateError
impl RefUnwindSafe for AutomatedDiscoveryAccountUpdateError
impl Send for AutomatedDiscoveryAccountUpdateError
impl Sync for AutomatedDiscoveryAccountUpdateError
impl Unpin for AutomatedDiscoveryAccountUpdateError
impl UnwindSafe for AutomatedDiscoveryAccountUpdateError
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