Struct aws_sdk_macie2::model::UserPausedDetails
source · [−]#[non_exhaustive]pub struct UserPausedDetails {
pub job_expires_at: Option<DateTime>,
pub job_imminent_expiration_health_event_arn: Option<String>,
pub job_paused_at: Option<DateTime>,
}
Expand description
Provides information about when a classification job was paused. For a one-time job, this object also specifies when the job will expire and be cancelled if it isn't resumed. For a recurring job, this object also specifies when the paused job run will expire and be cancelled if it isn't resumed. This object is present only if a job's current status (jobStatus) is USER_PAUSED. The information in this object applies only to a job that was paused while it had a status of RUNNING.
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.job_expires_at: Option<DateTime>
The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if you don't resume it first.
job_imminent_expiration_health_event_arn: Option<String>
The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.
job_paused_at: Option<DateTime>
The date and time, in UTC and extended ISO 8601 format, when you paused the job.
Implementations
sourceimpl UserPausedDetails
impl UserPausedDetails
sourcepub fn job_expires_at(&self) -> Option<&DateTime>
pub fn job_expires_at(&self) -> Option<&DateTime>
The date and time, in UTC and extended ISO 8601 format, when the job or job run will expire and be cancelled if you don't resume it first.
sourcepub fn job_imminent_expiration_health_event_arn(&self) -> Option<&str>
pub fn job_imminent_expiration_health_event_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Health event that Amazon Macie sent to notify you of the job or job run's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.
sourcepub fn job_paused_at(&self) -> Option<&DateTime>
pub fn job_paused_at(&self) -> Option<&DateTime>
The date and time, in UTC and extended ISO 8601 format, when you paused the job.
sourceimpl UserPausedDetails
impl UserPausedDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UserPausedDetails
Trait Implementations
sourceimpl Clone for UserPausedDetails
impl Clone for UserPausedDetails
sourcefn clone(&self) -> UserPausedDetails
fn clone(&self) -> UserPausedDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UserPausedDetails
impl Debug for UserPausedDetails
sourceimpl PartialEq<UserPausedDetails> for UserPausedDetails
impl PartialEq<UserPausedDetails> for UserPausedDetails
sourcefn eq(&self, other: &UserPausedDetails) -> bool
fn eq(&self, other: &UserPausedDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UserPausedDetails) -> bool
fn ne(&self, other: &UserPausedDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for UserPausedDetails
Auto Trait Implementations
impl RefUnwindSafe for UserPausedDetails
impl Send for UserPausedDetails
impl Sync for UserPausedDetails
impl Unpin for UserPausedDetails
impl UnwindSafe for UserPausedDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more