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.OrganizationConformancePackDetailedStatus

Description

 
Synopsis

Documentation

data OrganizationConformancePackDetailedStatus Source #

Organization conformance pack creation or deletion status in each member account. This includes the name of the conformance pack, the status, error code and error message when the conformance pack creation or deletion failed.

See: newOrganizationConformancePackDetailedStatus smart constructor.

Constructors

OrganizationConformancePackDetailedStatus' 

Fields

  • errorCode :: Maybe Text

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

  • errorMessage :: Maybe Text

    An error message indicating that conformance pack account creation or deletion has failed due to an error in the member account.

  • lastUpdateTime :: Maybe POSIX

    The timestamp of the last status update.

  • accountId :: Text

    The 12-digit account ID of a member account.

  • conformancePackName :: Text

    The name of conformance pack deployed in the member account.

  • status :: OrganizationResourceDetailedStatus

    Indicates deployment status for conformance pack in a member account. When master account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When master account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the master account deletes OrganizationConformancePack and disables service access for config-multiaccountsetup.amazonaws.com.

    Config sets the state of the conformance pack to:

    • CREATE_SUCCESSFUL when conformance pack has been created in the member account.
    • CREATE_IN_PROGRESS when conformance pack is being created in the member account.
    • CREATE_FAILED when conformance pack creation has failed in the member account.
    • DELETE_FAILED when conformance pack deletion has failed in the member account.
    • DELETE_IN_PROGRESS when conformance pack is being deleted in the member account.
    • DELETE_SUCCESSFUL when conformance pack has been deleted in the member account.
    • UPDATE_SUCCESSFUL when conformance pack has been updated in the member account.
    • UPDATE_IN_PROGRESS when conformance pack is being updated in the member account.
    • UPDATE_FAILED when conformance pack deletion has failed in the member account.

Instances

Instances details
Eq OrganizationConformancePackDetailedStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackDetailedStatus

Read OrganizationConformancePackDetailedStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackDetailedStatus

Show OrganizationConformancePackDetailedStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackDetailedStatus

Generic OrganizationConformancePackDetailedStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackDetailedStatus

NFData OrganizationConformancePackDetailedStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackDetailedStatus

Hashable OrganizationConformancePackDetailedStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackDetailedStatus

FromJSON OrganizationConformancePackDetailedStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackDetailedStatus

type Rep OrganizationConformancePackDetailedStatus Source # 
Instance details

Defined in Amazonka.Config.Types.OrganizationConformancePackDetailedStatus

type Rep OrganizationConformancePackDetailedStatus = D1 ('MetaData "OrganizationConformancePackDetailedStatus" "Amazonka.Config.Types.OrganizationConformancePackDetailedStatus" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "OrganizationConformancePackDetailedStatus'" '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 "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "conformancePackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OrganizationResourceDetailedStatus)))))

newOrganizationConformancePackDetailedStatus Source #

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

$sel:errorMessage:OrganizationConformancePackDetailedStatus', organizationConformancePackDetailedStatus_errorMessage - An error message indicating that conformance pack account creation or deletion has failed due to an error in the member account.

$sel:lastUpdateTime:OrganizationConformancePackDetailedStatus', organizationConformancePackDetailedStatus_lastUpdateTime - The timestamp of the last status update.

$sel:accountId:OrganizationConformancePackDetailedStatus', organizationConformancePackDetailedStatus_accountId - The 12-digit account ID of a member account.

$sel:conformancePackName:OrganizationConformancePackDetailedStatus', organizationConformancePackDetailedStatus_conformancePackName - The name of conformance pack deployed in the member account.

$sel:status:OrganizationConformancePackDetailedStatus', organizationConformancePackDetailedStatus_status - Indicates deployment status for conformance pack in a member account. When master account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When master account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the master account deletes OrganizationConformancePack and disables service access for config-multiaccountsetup.amazonaws.com.

Config sets the state of the conformance pack to:

  • CREATE_SUCCESSFUL when conformance pack has been created in the member account.
  • CREATE_IN_PROGRESS when conformance pack is being created in the member account.
  • CREATE_FAILED when conformance pack creation has failed in the member account.
  • DELETE_FAILED when conformance pack deletion has failed in the member account.
  • DELETE_IN_PROGRESS when conformance pack is being deleted in the member account.
  • DELETE_SUCCESSFUL when conformance pack has been deleted in the member account.
  • UPDATE_SUCCESSFUL when conformance pack has been updated in the member account.
  • UPDATE_IN_PROGRESS when conformance pack is being updated in the member account.
  • UPDATE_FAILED when conformance pack deletion has failed in the member account.

organizationConformancePackDetailedStatus_errorCode :: Lens' OrganizationConformancePackDetailedStatus (Maybe Text) Source #

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

organizationConformancePackDetailedStatus_errorMessage :: Lens' OrganizationConformancePackDetailedStatus (Maybe Text) Source #

An error message indicating that conformance pack account creation or deletion has failed due to an error in the member account.

organizationConformancePackDetailedStatus_status :: Lens' OrganizationConformancePackDetailedStatus OrganizationResourceDetailedStatus Source #

Indicates deployment status for conformance pack in a member account. When master account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When master account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the master account deletes OrganizationConformancePack and disables service access for config-multiaccountsetup.amazonaws.com.

Config sets the state of the conformance pack to:

  • CREATE_SUCCESSFUL when conformance pack has been created in the member account.
  • CREATE_IN_PROGRESS when conformance pack is being created in the member account.
  • CREATE_FAILED when conformance pack creation has failed in the member account.
  • DELETE_FAILED when conformance pack deletion has failed in the member account.
  • DELETE_IN_PROGRESS when conformance pack is being deleted in the member account.
  • DELETE_SUCCESSFUL when conformance pack has been deleted in the member account.
  • UPDATE_SUCCESSFUL when conformance pack has been updated in the member account.
  • UPDATE_IN_PROGRESS when conformance pack is being updated in the member account.
  • UPDATE_FAILED when conformance pack deletion has failed in the member account.