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

Description

Disables the specified Contributor Insights rules. When rules are disabled, they do not analyze log groups and do not incur costs.

Synopsis

Creating a Request

data DisableInsightRules Source #

See: newDisableInsightRules smart constructor.

Constructors

DisableInsightRules' 

Fields

Instances

Instances details
Eq DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

Read DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

Show DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

Generic DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

Associated Types

type Rep DisableInsightRules :: Type -> Type #

NFData DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

Methods

rnf :: DisableInsightRules -> () #

Hashable DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

AWSRequest DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

Associated Types

type AWSResponse DisableInsightRules #

ToHeaders DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

ToPath DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

ToQuery DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

type Rep DisableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

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

Defined in Amazonka.CloudWatch.DisableInsightRules

newDisableInsightRules :: DisableInsightRules Source #

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

Request Lenses

disableInsightRules_ruleNames :: Lens' DisableInsightRules [Text] Source #

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

Destructuring the Response

data DisableInsightRulesResponse Source #

See: newDisableInsightRulesResponse smart constructor.

Constructors

DisableInsightRulesResponse' 

Fields

Instances

Instances details
Eq DisableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

Read DisableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

Show DisableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

Generic DisableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

Associated Types

type Rep DisableInsightRulesResponse :: Type -> Type #

NFData DisableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

type Rep DisableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DisableInsightRules

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

newDisableInsightRulesResponse Source #

Create a value of DisableInsightRulesResponse 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:DisableInsightRulesResponse', disableInsightRulesResponse_failures - An array listing the rules that could not be disabled. You cannot disable built-in rules.

$sel:httpStatus:DisableInsightRulesResponse', disableInsightRulesResponse_httpStatus - The response's http status code.

Response Lenses

disableInsightRulesResponse_failures :: Lens' DisableInsightRulesResponse (Maybe [PartialFailure]) Source #

An array listing the rules that could not be disabled. You cannot disable built-in rules.