libZSservicesZSamazonka-configZSamazonka-config
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Config.Types.OrganizationConfigRuleStatus

Description

 
Synopsis

Documentation

data OrganizationConfigRuleStatus Source #

Returns the status for an organization config rule in an organization.

See: newOrganizationConfigRuleStatus smart constructor.

Constructors

OrganizationConfigRuleStatus' 

Fields

  • errorCode :: Maybe Text

    An error code that is returned when organization config rule creation or deletion has failed.

  • errorMessage :: Maybe Text

    An error message indicating that organization config rule creation or deletion failed due to an error.

  • lastUpdateTime :: Maybe POSIX

    The timestamp of the last update.

  • organizationConfigRuleName :: Text

    The name that you assign to organization config rule.

  • organizationRuleStatus :: OrganizationRuleStatus

    Indicates deployment status of an organization config rule. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in all the member accounts. When master 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 master 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.

Instances

Instances details
Eq OrganizationConfigRuleStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConfigRuleStatus

Read OrganizationConfigRuleStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConfigRuleStatus

Show OrganizationConfigRuleStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConfigRuleStatus

Generic OrganizationConfigRuleStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConfigRuleStatus

Associated Types

type Rep OrganizationConfigRuleStatus :: Type -> Type #

NFData OrganizationConfigRuleStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConfigRuleStatus

Hashable OrganizationConfigRuleStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConfigRuleStatus

FromJSON OrganizationConfigRuleStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConfigRuleStatus

type Rep OrganizationConfigRuleStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConfigRuleStatus

type Rep OrganizationConfigRuleStatus = D1 ('MetaData "OrganizationConfigRuleStatus" "Amazonka.Config.Types.OrganizationConfigRuleStatus" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "OrganizationConfigRuleStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "organizationConfigRuleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "organizationRuleStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OrganizationRuleStatus)))))

newOrganizationConfigRuleStatus Source #

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 master account calls PutOrganizationConfigRule action for the first time, config rule status is created in all the member accounts. When master 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 master 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_organizationRuleStatus :: Lens' OrganizationConfigRuleStatus OrganizationRuleStatus Source #

Indicates deployment status of an organization config rule. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in all the member accounts. When master 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 master 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.