| 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 |
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 management 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
- data DeleteOrganizationConfigRule = DeleteOrganizationConfigRule' {}
- newDeleteOrganizationConfigRule :: Text -> DeleteOrganizationConfigRule
- deleteOrganizationConfigRule_organizationConfigRuleName :: Lens' DeleteOrganizationConfigRule Text
- data DeleteOrganizationConfigRuleResponse = DeleteOrganizationConfigRuleResponse' {
- newDeleteOrganizationConfigRuleResponse :: DeleteOrganizationConfigRuleResponse
Creating a Request
data DeleteOrganizationConfigRule Source #
See: newDeleteOrganizationConfigRule smart constructor.
Constructors
| DeleteOrganizationConfigRule' | |
Fields
| |
Instances
newDeleteOrganizationConfigRule Source #
Arguments
| :: Text | |
| -> DeleteOrganizationConfigRule |
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:
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 #
See: newDeleteOrganizationConfigRuleResponse smart constructor.
Constructors
| DeleteOrganizationConfigRuleResponse' | |
Instances
newDeleteOrganizationConfigRuleResponse :: DeleteOrganizationConfigRuleResponse Source #
Create a value of DeleteOrganizationConfigRuleResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.