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

Description

Deletes the specified Config rule and all of its evaluation results.

Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException.

You can check the state of a rule by using the DescribeConfigRules request.

Synopsis

Creating a Request

data DeleteConfigRule Source #

See: newDeleteConfigRule smart constructor.

Constructors

DeleteConfigRule' 

Fields

Instances

Instances details
Eq DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

Read DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

Show DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

Generic DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

Associated Types

type Rep DeleteConfigRule :: Type -> Type #

NFData DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

Methods

rnf :: DeleteConfigRule -> () #

Hashable DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

ToJSON DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

AWSRequest DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

Associated Types

type AWSResponse DeleteConfigRule #

ToHeaders DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

ToPath DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

ToQuery DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

type Rep DeleteConfigRule Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

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

Defined in Amazonka.Config.DeleteConfigRule

newDeleteConfigRule Source #

Create a value of DeleteConfigRule 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:configRuleName:DeleteConfigRule', deleteConfigRule_configRuleName - The name of the Config rule that you want to delete.

Request Lenses

deleteConfigRule_configRuleName :: Lens' DeleteConfigRule Text Source #

The name of the Config rule that you want to delete.

Destructuring the Response

data DeleteConfigRuleResponse Source #

See: newDeleteConfigRuleResponse smart constructor.

Instances

Instances details
Eq DeleteConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

Read DeleteConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

Show DeleteConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

Generic DeleteConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

Associated Types

type Rep DeleteConfigRuleResponse :: Type -> Type #

NFData DeleteConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

type Rep DeleteConfigRuleResponse Source # 
Instance details

Defined in Amazonka.Config.DeleteConfigRule

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

newDeleteConfigRuleResponse :: DeleteConfigRuleResponse Source #

Create a value of DeleteConfigRuleResponse with all optional fields omitted.

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