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

Description

Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization.

Only a master account and a delegated administrator account can delete an organization config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added.

Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.

Synopsis

Creating a Request

data DeleteOrganizationConfigRule Source #

See: newDeleteOrganizationConfigRule smart constructor.

Constructors

DeleteOrganizationConfigRule' 

Fields

Instances

Instances details
Eq DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

Read DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

Show DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

Generic DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

Associated Types

type Rep DeleteOrganizationConfigRule :: Type -> Type #

NFData DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

Hashable DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

ToJSON DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

AWSRequest DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

ToHeaders DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

ToPath DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

ToQuery DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

type Rep DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

type Rep DeleteOrganizationConfigRule = D1 ('MetaData "DeleteOrganizationConfigRule" "Amazonka.Config.DeleteOrganizationConfigRule" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "DeleteOrganizationConfigRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationConfigRuleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteOrganizationConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

newDeleteOrganizationConfigRule Source #

Create a value of DeleteOrganizationConfigRule 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:organizationConfigRuleName:DeleteOrganizationConfigRule', deleteOrganizationConfigRule_organizationConfigRuleName - The name of organization config rule that you want to delete.

Request Lenses

deleteOrganizationConfigRule_organizationConfigRuleName :: Lens' DeleteOrganizationConfigRule Text Source #

The name of organization config rule that you want to delete.

Destructuring the Response

data DeleteOrganizationConfigRuleResponse Source #

Instances

Instances details
Eq DeleteOrganizationConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

Read DeleteOrganizationConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

Show DeleteOrganizationConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

Generic DeleteOrganizationConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

NFData DeleteOrganizationConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

type Rep DeleteOrganizationConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteOrganizationConfigRule

type Rep DeleteOrganizationConfigRuleResponse = D1 ('MetaData "DeleteOrganizationConfigRuleResponse" "Amazonka.Config.DeleteOrganizationConfigRule" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "DeleteOrganizationConfigRuleResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteOrganizationConfigRuleResponse :: DeleteOrganizationConfigRuleResponse Source #

Create a value of DeleteOrganizationConfigRuleResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.