libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch
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.CloudWatch.DeleteInsightRules

Description

Permanently deletes the specified Contributor Insights rules.

If you create a rule, delete it, and then re-create it with the same name, historical data from the first time the rule was created might not be available.

Synopsis

Creating a Request

data DeleteInsightRules Source #

See: newDeleteInsightRules smart constructor.

Constructors

DeleteInsightRules' 

Fields

Instances

Instances details
Eq DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

Read DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

Show DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

Generic DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

Associated Types

type Rep DeleteInsightRules :: Type -> Type #

NFData DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

Methods

rnf :: DeleteInsightRules -> () #

Hashable DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

AWSRequest DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

Associated Types

type AWSResponse DeleteInsightRules #

ToHeaders DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

ToPath DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

ToQuery DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

type Rep DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

type Rep DeleteInsightRules = D1 ('MetaData "DeleteInsightRules" "Amazonka.CloudWatch.DeleteInsightRules" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "DeleteInsightRules'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse DeleteInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

newDeleteInsightRules :: DeleteInsightRules Source #

Create a value of DeleteInsightRules 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:ruleNames:DeleteInsightRules', deleteInsightRules_ruleNames - An array of the rule names to delete. If you need to find out the names of your rules, use DescribeInsightRules.

Request Lenses

deleteInsightRules_ruleNames :: Lens' DeleteInsightRules [Text] Source #

An array of the rule names to delete. If you need to find out the names of your rules, use DescribeInsightRules.

Destructuring the Response

data DeleteInsightRulesResponse Source #

See: newDeleteInsightRulesResponse smart constructor.

Constructors

DeleteInsightRulesResponse' 

Fields

Instances

Instances details
Eq DeleteInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

Read DeleteInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

Show DeleteInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

Generic DeleteInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

Associated Types

type Rep DeleteInsightRulesResponse :: Type -> Type #

NFData DeleteInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

type Rep DeleteInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DeleteInsightRules

type Rep DeleteInsightRulesResponse = D1 ('MetaData "DeleteInsightRulesResponse" "Amazonka.CloudWatch.DeleteInsightRules" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "DeleteInsightRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PartialFailure])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteInsightRulesResponse Source #

Create a value of DeleteInsightRulesResponse 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:failures:DeleteInsightRulesResponse', deleteInsightRulesResponse_failures - An array listing the rules that could not be deleted. You cannot delete built-in rules.

$sel:httpStatus:DeleteInsightRulesResponse', deleteInsightRulesResponse_httpStatus - The response's http status code.

Response Lenses

deleteInsightRulesResponse_failures :: Lens' DeleteInsightRulesResponse (Maybe [PartialFailure]) Source #

An array listing the rules that could not be deleted. You cannot delete built-in rules.