Struct aws_sdk_cloudformation::types::ResourceScanSummary
source · #[non_exhaustive]pub struct ResourceScanSummary {
pub resource_scan_id: Option<String>,
pub status: Option<ResourceScanStatus>,
pub status_reason: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub percentage_completed: Option<f64>,
}
Expand description
A summary of the resource scan. This is returned by the ListResourceScan
API action.
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.resource_scan_id: Option<String>
The Amazon Resource Name (ARN) of the resource scan.
status: Option<ResourceScanStatus>
Status of the resource scan.
- INPROGRESS
-
The resource scan is still in progress.
- COMPLETE
-
The resource scan is complete.
- EXPIRED
-
The resource scan has expired.
- FAILED
-
The resource scan has failed.
status_reason: Option<String>
The reason for the resource scan status, providing more information if a failure happened.
start_time: Option<DateTime>
The time that the resource scan was started.
end_time: Option<DateTime>
The time that the resource scan was finished.
percentage_completed: Option<f64>
The percentage of the resource scan that has been completed.
Implementations§
source§impl ResourceScanSummary
impl ResourceScanSummary
sourcepub fn resource_scan_id(&self) -> Option<&str>
pub fn resource_scan_id(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the resource scan.
sourcepub fn status(&self) -> Option<&ResourceScanStatus>
pub fn status(&self) -> Option<&ResourceScanStatus>
Status of the resource scan.
- INPROGRESS
-
The resource scan is still in progress.
- COMPLETE
-
The resource scan is complete.
- EXPIRED
-
The resource scan has expired.
- FAILED
-
The resource scan has failed.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The reason for the resource scan status, providing more information if a failure happened.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time that the resource scan was started.
sourcepub fn percentage_completed(&self) -> Option<f64>
pub fn percentage_completed(&self) -> Option<f64>
The percentage of the resource scan that has been completed.
source§impl ResourceScanSummary
impl ResourceScanSummary
sourcepub fn builder() -> ResourceScanSummaryBuilder
pub fn builder() -> ResourceScanSummaryBuilder
Creates a new builder-style object to manufacture ResourceScanSummary
.
Trait Implementations§
source§impl Clone for ResourceScanSummary
impl Clone for ResourceScanSummary
source§fn clone(&self) -> ResourceScanSummary
fn clone(&self) -> ResourceScanSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceScanSummary
impl Debug for ResourceScanSummary
source§impl PartialEq for ResourceScanSummary
impl PartialEq for ResourceScanSummary
source§fn eq(&self, other: &ResourceScanSummary) -> bool
fn eq(&self, other: &ResourceScanSummary) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceScanSummary
Auto Trait Implementations§
impl Freeze for ResourceScanSummary
impl RefUnwindSafe for ResourceScanSummary
impl Send for ResourceScanSummary
impl Sync for ResourceScanSummary
impl Unpin for ResourceScanSummary
impl UnwindSafe for ResourceScanSummary
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