Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data OrganizationConfigRuleStatus = OrganizationConfigRuleStatus' {}
- newOrganizationConfigRuleStatus :: Text -> OrganizationRuleStatus -> OrganizationConfigRuleStatus
- organizationConfigRuleStatus_errorCode :: Lens' OrganizationConfigRuleStatus (Maybe Text)
- organizationConfigRuleStatus_errorMessage :: Lens' OrganizationConfigRuleStatus (Maybe Text)
- organizationConfigRuleStatus_lastUpdateTime :: Lens' OrganizationConfigRuleStatus (Maybe UTCTime)
- organizationConfigRuleStatus_organizationConfigRuleName :: Lens' OrganizationConfigRuleStatus Text
- organizationConfigRuleStatus_organizationRuleStatus :: Lens' OrganizationConfigRuleStatus OrganizationRuleStatus
Documentation
data OrganizationConfigRuleStatus Source #
Returns the status for an organization Config rule in an organization.
See: newOrganizationConfigRuleStatus
smart constructor.
OrganizationConfigRuleStatus' | |
|
Instances
newOrganizationConfigRuleStatus Source #
:: Text |
|
-> OrganizationRuleStatus | |
-> OrganizationConfigRuleStatus |
Create a value of OrganizationConfigRuleStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:OrganizationConfigRuleStatus'
, organizationConfigRuleStatus_errorCode
- An error code that is returned when organization Config rule creation or
deletion has failed.
$sel:errorMessage:OrganizationConfigRuleStatus'
, organizationConfigRuleStatus_errorMessage
- An error message indicating that organization Config rule creation or
deletion failed due to an error.
$sel:lastUpdateTime:OrganizationConfigRuleStatus'
, organizationConfigRuleStatus_lastUpdateTime
- The timestamp of the last update.
$sel:organizationConfigRuleName:OrganizationConfigRuleStatus'
, organizationConfigRuleStatus_organizationConfigRuleName
- The name that you assign to organization Config rule.
$sel:organizationRuleStatus:OrganizationConfigRuleStatus'
, organizationConfigRuleStatus_organizationRuleStatus
- Indicates deployment status of an organization Config rule. When
management account calls PutOrganizationConfigRule action for the first
time, Config rule status is created in all the member accounts. When
management account calls PutOrganizationConfigRule action for the second
time, Config rule status is updated in all the member accounts.
Additionally, Config rule status is updated when one or more member
accounts join or leave an organization. Config rule status is deleted
when the management account deletes OrganizationConfigRule in all the
member accounts and disables service access for
config-multiaccountsetup.amazonaws.com
.
Config sets the state of the rule to:
CREATE_SUCCESSFUL
when an organization Config rule has been successfully created in all the member accounts.CREATE_IN_PROGRESS
when an organization Config rule creation is in progress.CREATE_FAILED
when an organization Config rule creation failed in one or more member accounts within that organization.DELETE_FAILED
when an organization Config rule deletion failed in one or more member accounts within that organization.DELETE_IN_PROGRESS
when an organization Config rule deletion is in progress.DELETE_SUCCESSFUL
when an organization Config rule has been successfully deleted from all the member accounts.UPDATE_SUCCESSFUL
when an organization Config rule has been successfully updated in all the member accounts.UPDATE_IN_PROGRESS
when an organization Config rule update is in progress.UPDATE_FAILED
when an organization Config rule update failed in one or more member accounts within that organization.
organizationConfigRuleStatus_errorCode :: Lens' OrganizationConfigRuleStatus (Maybe Text) Source #
An error code that is returned when organization Config rule creation or deletion has failed.
organizationConfigRuleStatus_errorMessage :: Lens' OrganizationConfigRuleStatus (Maybe Text) Source #
An error message indicating that organization Config rule creation or deletion failed due to an error.
organizationConfigRuleStatus_lastUpdateTime :: Lens' OrganizationConfigRuleStatus (Maybe UTCTime) Source #
The timestamp of the last update.
organizationConfigRuleStatus_organizationConfigRuleName :: Lens' OrganizationConfigRuleStatus Text Source #
The name that you assign to organization Config rule.
organizationConfigRuleStatus_organizationRuleStatus :: Lens' OrganizationConfigRuleStatus OrganizationRuleStatus Source #
Indicates deployment status of an organization Config rule. When
management account calls PutOrganizationConfigRule action for the first
time, Config rule status is created in all the member accounts. When
management account calls PutOrganizationConfigRule action for the second
time, Config rule status is updated in all the member accounts.
Additionally, Config rule status is updated when one or more member
accounts join or leave an organization. Config rule status is deleted
when the management account deletes OrganizationConfigRule in all the
member accounts and disables service access for
config-multiaccountsetup.amazonaws.com
.
Config sets the state of the rule to:
CREATE_SUCCESSFUL
when an organization Config rule has been successfully created in all the member accounts.CREATE_IN_PROGRESS
when an organization Config rule creation is in progress.CREATE_FAILED
when an organization Config rule creation failed in one or more member accounts within that organization.DELETE_FAILED
when an organization Config rule deletion failed in one or more member accounts within that organization.DELETE_IN_PROGRESS
when an organization Config rule deletion is in progress.DELETE_SUCCESSFUL
when an organization Config rule has been successfully deleted from all the member accounts.UPDATE_SUCCESSFUL
when an organization Config rule has been successfully updated in all the member accounts.UPDATE_IN_PROGRESS
when an organization Config rule update is in progress.UPDATE_FAILED
when an organization Config rule update failed in one or more member accounts within that organization.