#[non_exhaustive]pub struct OrganizationConformancePackStatus {
pub organization_conformance_pack_name: String,
pub status: OrganizationResourceStatus,
pub error_code: Option<String>,
pub error_message: Option<String>,
pub last_update_time: Option<DateTime>,
}Expand description
Returns the status for an organization conformance pack in an organization.
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.organization_conformance_pack_name: StringThe name that you assign to organization conformance pack.
status: OrganizationResourceStatusIndicates deployment status of an organization conformance pack. When management account calls PutOrganizationConformancePack for the first time, conformance pack status is created in all the member accounts. When management account calls PutOrganizationConformancePack for the second time, conformance pack status is updated in all the member accounts. Additionally, conformance pack status is updated when one or more member accounts join or leave an organization. Conformance pack status is deleted when the management account deletes OrganizationConformancePack in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.
Config sets the state of the conformance pack to:
-
CREATE_SUCCESSFULwhen an organization conformance pack has been successfully created in all the member accounts. -
CREATE_IN_PROGRESSwhen an organization conformance pack creation is in progress. -
CREATE_FAILEDwhen an organization conformance pack creation failed in one or more member accounts within that organization. -
DELETE_FAILEDwhen an organization conformance pack deletion failed in one or more member accounts within that organization. -
DELETE_IN_PROGRESSwhen an organization conformance pack deletion is in progress. -
DELETE_SUCCESSFULwhen an organization conformance pack has been successfully deleted from all the member accounts. -
UPDATE_SUCCESSFULwhen an organization conformance pack has been successfully updated in all the member accounts. -
UPDATE_IN_PROGRESSwhen an organization conformance pack update is in progress. -
UPDATE_FAILEDwhen an organization conformance pack update failed in one or more member accounts within that organization.
error_code: Option<String>An error code that is returned when organization conformance pack creation or deletion has failed in a member account.
error_message: Option<String>An error message indicating that organization conformance pack creation or deletion failed due to an error.
last_update_time: Option<DateTime>The timestamp of the last update.
Implementations§
source§impl OrganizationConformancePackStatus
impl OrganizationConformancePackStatus
sourcepub fn organization_conformance_pack_name(&self) -> &str
pub fn organization_conformance_pack_name(&self) -> &str
The name that you assign to organization conformance pack.
sourcepub fn status(&self) -> &OrganizationResourceStatus
pub fn status(&self) -> &OrganizationResourceStatus
Indicates deployment status of an organization conformance pack. When management account calls PutOrganizationConformancePack for the first time, conformance pack status is created in all the member accounts. When management account calls PutOrganizationConformancePack for the second time, conformance pack status is updated in all the member accounts. Additionally, conformance pack status is updated when one or more member accounts join or leave an organization. Conformance pack status is deleted when the management account deletes OrganizationConformancePack in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.
Config sets the state of the conformance pack to:
-
CREATE_SUCCESSFULwhen an organization conformance pack has been successfully created in all the member accounts. -
CREATE_IN_PROGRESSwhen an organization conformance pack creation is in progress. -
CREATE_FAILEDwhen an organization conformance pack creation failed in one or more member accounts within that organization. -
DELETE_FAILEDwhen an organization conformance pack deletion failed in one or more member accounts within that organization. -
DELETE_IN_PROGRESSwhen an organization conformance pack deletion is in progress. -
DELETE_SUCCESSFULwhen an organization conformance pack has been successfully deleted from all the member accounts. -
UPDATE_SUCCESSFULwhen an organization conformance pack has been successfully updated in all the member accounts. -
UPDATE_IN_PROGRESSwhen an organization conformance pack update is in progress. -
UPDATE_FAILEDwhen an organization conformance pack update failed in one or more member accounts within that organization.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
An error code that is returned when organization conformance pack creation or deletion has failed in a member account.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
An error message indicating that organization conformance pack creation or deletion failed due to an error.
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The timestamp of the last update.
source§impl OrganizationConformancePackStatus
impl OrganizationConformancePackStatus
sourcepub fn builder() -> OrganizationConformancePackStatusBuilder
pub fn builder() -> OrganizationConformancePackStatusBuilder
Creates a new builder-style object to manufacture OrganizationConformancePackStatus.
Trait Implementations§
source§impl Clone for OrganizationConformancePackStatus
impl Clone for OrganizationConformancePackStatus
source§fn clone(&self) -> OrganizationConformancePackStatus
fn clone(&self) -> OrganizationConformancePackStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for OrganizationConformancePackStatus
impl PartialEq for OrganizationConformancePackStatus
source§fn eq(&self, other: &OrganizationConformancePackStatus) -> bool
fn eq(&self, other: &OrganizationConformancePackStatus) -> bool
self and other values to be equal, and is used
by ==.