Struct aws_sdk_config::types::ConformancePackStatusDetail
source · #[non_exhaustive]pub struct ConformancePackStatusDetail {
pub conformance_pack_name: String,
pub conformance_pack_id: String,
pub conformance_pack_arn: String,
pub conformance_pack_state: ConformancePackState,
pub stack_arn: String,
pub conformance_pack_status_reason: Option<String>,
pub last_update_requested_time: DateTime,
pub last_update_completed_time: Option<DateTime>,
}Expand description
Status details of a conformance pack.
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.conformance_pack_name: StringName of the conformance pack.
conformance_pack_id: StringID of the conformance pack.
conformance_pack_arn: StringAmazon Resource Name (ARN) of comformance pack.
conformance_pack_state: ConformancePackStateIndicates deployment status of conformance pack.
Config sets the state of the conformance pack to:
-
CREATE_IN_PROGRESS when a conformance pack creation is in progress for an account.
-
CREATE_COMPLETE when a conformance pack has been successfully created in your account.
-
CREATE_FAILED when a conformance pack creation failed in your account.
-
DELETE_IN_PROGRESS when a conformance pack deletion is in progress.
-
DELETE_FAILED when a conformance pack deletion failed in your account.
stack_arn: StringAmazon Resource Name (ARN) of CloudFormation stack.
conformance_pack_status_reason: Option<String>The reason of conformance pack creation failure.
last_update_requested_time: DateTimeLast time when conformation pack creation and update was requested.
last_update_completed_time: Option<DateTime>Last time when conformation pack creation and update was successful.
Implementations§
source§impl ConformancePackStatusDetail
impl ConformancePackStatusDetail
sourcepub fn conformance_pack_name(&self) -> &str
pub fn conformance_pack_name(&self) -> &str
Name of the conformance pack.
sourcepub fn conformance_pack_id(&self) -> &str
pub fn conformance_pack_id(&self) -> &str
ID of the conformance pack.
sourcepub fn conformance_pack_arn(&self) -> &str
pub fn conformance_pack_arn(&self) -> &str
Amazon Resource Name (ARN) of comformance pack.
sourcepub fn conformance_pack_state(&self) -> &ConformancePackState
pub fn conformance_pack_state(&self) -> &ConformancePackState
Indicates deployment status of conformance pack.
Config sets the state of the conformance pack to:
-
CREATE_IN_PROGRESS when a conformance pack creation is in progress for an account.
-
CREATE_COMPLETE when a conformance pack has been successfully created in your account.
-
CREATE_FAILED when a conformance pack creation failed in your account.
-
DELETE_IN_PROGRESS when a conformance pack deletion is in progress.
-
DELETE_FAILED when a conformance pack deletion failed in your account.
sourcepub fn conformance_pack_status_reason(&self) -> Option<&str>
pub fn conformance_pack_status_reason(&self) -> Option<&str>
The reason of conformance pack creation failure.
sourcepub fn last_update_requested_time(&self) -> &DateTime
pub fn last_update_requested_time(&self) -> &DateTime
Last time when conformation pack creation and update was requested.
sourcepub fn last_update_completed_time(&self) -> Option<&DateTime>
pub fn last_update_completed_time(&self) -> Option<&DateTime>
Last time when conformation pack creation and update was successful.
source§impl ConformancePackStatusDetail
impl ConformancePackStatusDetail
sourcepub fn builder() -> ConformancePackStatusDetailBuilder
pub fn builder() -> ConformancePackStatusDetailBuilder
Creates a new builder-style object to manufacture ConformancePackStatusDetail.
Trait Implementations§
source§impl Clone for ConformancePackStatusDetail
impl Clone for ConformancePackStatusDetail
source§fn clone(&self) -> ConformancePackStatusDetail
fn clone(&self) -> ConformancePackStatusDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConformancePackStatusDetail
impl Debug for ConformancePackStatusDetail
source§impl PartialEq for ConformancePackStatusDetail
impl PartialEq for ConformancePackStatusDetail
source§fn eq(&self, other: &ConformancePackStatusDetail) -> bool
fn eq(&self, other: &ConformancePackStatusDetail) -> bool
self and other values to be equal, and is used
by ==.