Struct aws_sdk_backup::types::BackupJobSummary
source · #[non_exhaustive]pub struct BackupJobSummary {
pub region: Option<String>,
pub account_id: Option<String>,
pub state: Option<BackupJobStatus>,
pub resource_type: Option<String>,
pub message_category: Option<String>,
pub count: i32,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}
Expand description
This is a summary of jobs created or running within the most recent 30 days.
The returned summary may contain the following: Region, Account, State, RestourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
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.region: Option<String>
The Amazon Web Services Regions within the job summary.
account_id: Option<String>
The account ID that owns the jobs within the summary.
state: Option<BackupJobStatus>
This value is job count for jobs with the specified state.
resource_type: Option<String>
This value is the job count for the specified resource type. The request GetSupportedResourceTypes
returns strings for supported resource types.
message_category: Option<String>
This parameter is the job count for the specified message category.
Example strings include AccessDenied
, Success
, and InvalidParameters
. See Monitoring for a list of MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
count: i32
The value as a number of jobs in a job summary.
start_time: Option<DateTime>
The value of time in number format of a job start time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
end_time: Option<DateTime>
The value of time in number format of a job end time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
Implementations§
source§impl BackupJobSummary
impl BackupJobSummary
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The account ID that owns the jobs within the summary.
sourcepub fn state(&self) -> Option<&BackupJobStatus>
pub fn state(&self) -> Option<&BackupJobStatus>
This value is job count for jobs with the specified state.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
This value is the job count for the specified resource type. The request GetSupportedResourceTypes
returns strings for supported resource types.
sourcepub fn message_category(&self) -> Option<&str>
pub fn message_category(&self) -> Option<&str>
This parameter is the job count for the specified message category.
Example strings include AccessDenied
, Success
, and InvalidParameters
. See Monitoring for a list of MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The value of time in number format of a job start time.
This value is the time in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
source§impl BackupJobSummary
impl BackupJobSummary
sourcepub fn builder() -> BackupJobSummaryBuilder
pub fn builder() -> BackupJobSummaryBuilder
Creates a new builder-style object to manufacture BackupJobSummary
.
Trait Implementations§
source§impl Clone for BackupJobSummary
impl Clone for BackupJobSummary
source§fn clone(&self) -> BackupJobSummary
fn clone(&self) -> BackupJobSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackupJobSummary
impl Debug for BackupJobSummary
source§impl PartialEq for BackupJobSummary
impl PartialEq for BackupJobSummary
impl StructuralPartialEq for BackupJobSummary
Auto Trait Implementations§
impl Freeze for BackupJobSummary
impl RefUnwindSafe for BackupJobSummary
impl Send for BackupJobSummary
impl Sync for BackupJobSummary
impl Unpin for BackupJobSummary
impl UnwindSafe for BackupJobSummary
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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