amazonka-config-2.0: Amazon Config SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Config.Types.OrganizationConformancePackStatus

Description

 
Synopsis

Documentation

data OrganizationConformancePackStatus Source #

Returns the status for an organization conformance pack in an organization.

See: newOrganizationConformancePackStatus smart constructor.

Constructors

OrganizationConformancePackStatus' 

Fields

  • errorCode :: Maybe Text

    An error code that is returned when organization conformance pack creation or deletion has failed in a member account.

  • errorMessage :: Maybe Text

    An error message indicating that organization conformance pack creation or deletion failed due to an error.

  • lastUpdateTime :: Maybe POSIX

    The timestamp of the last update.

  • organizationConformancePackName :: Text

    The name that you assign to organization conformance pack.

  • status :: 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_SUCCESSFUL when an organization conformance pack has been successfully created in all the member accounts.
    • CREATE_IN_PROGRESS when an organization conformance pack creation is in progress.
    • CREATE_FAILED when an organization conformance pack creation failed in one or more member accounts within that organization.
    • DELETE_FAILED when an organization conformance pack deletion failed in one or more member accounts within that organization.
    • DELETE_IN_PROGRESS when an organization conformance pack deletion is in progress.
    • DELETE_SUCCESSFUL when an organization conformance pack has been successfully deleted from all the member accounts.
    • UPDATE_SUCCESSFUL when an organization conformance pack has been successfully updated in all the member accounts.
    • UPDATE_IN_PROGRESS when an organization conformance pack update is in progress.
    • UPDATE_FAILED when an organization conformance pack update failed in one or more member accounts within that organization.

Instances

Instances details
FromJSON OrganizationConformancePackStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackStatus

Generic OrganizationConformancePackStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackStatus

Associated Types

type Rep OrganizationConformancePackStatus :: Type -> Type #

Read OrganizationConformancePackStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackStatus

Show OrganizationConformancePackStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackStatus

NFData OrganizationConformancePackStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackStatus

Eq OrganizationConformancePackStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackStatus

Hashable OrganizationConformancePackStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackStatus

type Rep OrganizationConformancePackStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackStatus

type Rep OrganizationConformancePackStatus = D1 ('MetaData "OrganizationConformancePackStatus" "Amazonka.Config.Types.OrganizationConformancePackStatus" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "OrganizationConformancePackStatus'" '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 "organizationConformancePackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OrganizationResourceStatus)))))

newOrganizationConformancePackStatus Source #

Create a value of OrganizationConformancePackStatus 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:OrganizationConformancePackStatus', organizationConformancePackStatus_errorCode - An error code that is returned when organization conformance pack creation or deletion has failed in a member account.

$sel:errorMessage:OrganizationConformancePackStatus', organizationConformancePackStatus_errorMessage - An error message indicating that organization conformance pack creation or deletion failed due to an error.

$sel:lastUpdateTime:OrganizationConformancePackStatus', organizationConformancePackStatus_lastUpdateTime - The timestamp of the last update.

$sel:organizationConformancePackName:OrganizationConformancePackStatus', organizationConformancePackStatus_organizationConformancePackName - The name that you assign to organization conformance pack.

$sel:status:OrganizationConformancePackStatus', organizationConformancePackStatus_status - 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_SUCCESSFUL when an organization conformance pack has been successfully created in all the member accounts.
  • CREATE_IN_PROGRESS when an organization conformance pack creation is in progress.
  • CREATE_FAILED when an organization conformance pack creation failed in one or more member accounts within that organization.
  • DELETE_FAILED when an organization conformance pack deletion failed in one or more member accounts within that organization.
  • DELETE_IN_PROGRESS when an organization conformance pack deletion is in progress.
  • DELETE_SUCCESSFUL when an organization conformance pack has been successfully deleted from all the member accounts.
  • UPDATE_SUCCESSFUL when an organization conformance pack has been successfully updated in all the member accounts.
  • UPDATE_IN_PROGRESS when an organization conformance pack update is in progress.
  • UPDATE_FAILED when an organization conformance pack update failed in one or more member accounts within that organization.

organizationConformancePackStatus_errorCode :: Lens' OrganizationConformancePackStatus (Maybe Text) Source #

An error code that is returned when organization conformance pack creation or deletion has failed in a member account.

organizationConformancePackStatus_errorMessage :: Lens' OrganizationConformancePackStatus (Maybe Text) Source #

An error message indicating that organization conformance pack creation or deletion failed due to an error.

organizationConformancePackStatus_status :: Lens' OrganizationConformancePackStatus OrganizationResourceStatus Source #

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_SUCCESSFUL when an organization conformance pack has been successfully created in all the member accounts.
  • CREATE_IN_PROGRESS when an organization conformance pack creation is in progress.
  • CREATE_FAILED when an organization conformance pack creation failed in one or more member accounts within that organization.
  • DELETE_FAILED when an organization conformance pack deletion failed in one or more member accounts within that organization.
  • DELETE_IN_PROGRESS when an organization conformance pack deletion is in progress.
  • DELETE_SUCCESSFUL when an organization conformance pack has been successfully deleted from all the member accounts.
  • UPDATE_SUCCESSFUL when an organization conformance pack has been successfully updated in all the member accounts.
  • UPDATE_IN_PROGRESS when an organization conformance pack update is in progress.
  • UPDATE_FAILED when an organization conformance pack update failed in one or more member accounts within that organization.