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 ==
.