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

Description

Enables the specified Contributor Insights rules. When rules are enabled, they immediately begin analyzing log data.

Synopsis

Creating a Request

data EnableInsightRules Source #

See: newEnableInsightRules smart constructor.

Constructors

EnableInsightRules' 

Fields

Instances

Instances details
Eq EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

Read EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

Show EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

Generic EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

Associated Types

type Rep EnableInsightRules :: Type -> Type #

NFData EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

Methods

rnf :: EnableInsightRules -> () #

Hashable EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

AWSRequest EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

Associated Types

type AWSResponse EnableInsightRules #

ToHeaders EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

ToPath EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

ToQuery EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

type Rep EnableInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

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

Defined in Amazonka.CloudWatch.EnableInsightRules

newEnableInsightRules :: EnableInsightRules Source #

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

Request Lenses

enableInsightRules_ruleNames :: Lens' EnableInsightRules [Text] Source #

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

Destructuring the Response

data EnableInsightRulesResponse Source #

See: newEnableInsightRulesResponse smart constructor.

Constructors

EnableInsightRulesResponse' 

Fields

Instances

Instances details
Eq EnableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

Read EnableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

Show EnableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

Generic EnableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

Associated Types

type Rep EnableInsightRulesResponse :: Type -> Type #

NFData EnableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

type Rep EnableInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.EnableInsightRules

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

newEnableInsightRulesResponse Source #

Create a value of EnableInsightRulesResponse 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:EnableInsightRulesResponse', enableInsightRulesResponse_failures - An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.

$sel:httpStatus:EnableInsightRulesResponse', enableInsightRulesResponse_httpStatus - The response's http status code.

Response Lenses

enableInsightRulesResponse_failures :: Lens' EnableInsightRulesResponse (Maybe [PartialFailure]) Source #

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