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

Description

Returns a list of all the Contributor Insights rules in your account.

For more information about Contributor Insights, see Using Contributor Insights to Analyze High-Cardinality Data.

Synopsis

Creating a Request

data DescribeInsightRules Source #

See: newDescribeInsightRules smart constructor.

Constructors

DescribeInsightRules' 

Fields

  • nextToken :: Maybe Text

    Include this value, if it was returned by the previous operation, to get the next set of rules.

  • maxResults :: Maybe Natural

    The maximum number of results to return in one operation. If you omit this parameter, the default of 500 is used.

Instances

Instances details
Eq DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Read DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Show DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Generic DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Associated Types

type Rep DescribeInsightRules :: Type -> Type #

NFData DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Methods

rnf :: DescribeInsightRules -> () #

Hashable DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

AWSRequest DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Associated Types

type AWSResponse DescribeInsightRules #

ToHeaders DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

ToPath DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

ToQuery DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

type Rep DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

type Rep DescribeInsightRules = D1 ('MetaData "DescribeInsightRules" "Amazonka.CloudWatch.DescribeInsightRules" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "DescribeInsightRules'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

newDescribeInsightRules :: DescribeInsightRules Source #

Create a value of DescribeInsightRules 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:nextToken:DescribeInsightRules', describeInsightRules_nextToken - Include this value, if it was returned by the previous operation, to get the next set of rules.

$sel:maxResults:DescribeInsightRules', describeInsightRules_maxResults - The maximum number of results to return in one operation. If you omit this parameter, the default of 500 is used.

Request Lenses

describeInsightRules_nextToken :: Lens' DescribeInsightRules (Maybe Text) Source #

Include this value, if it was returned by the previous operation, to get the next set of rules.

describeInsightRules_maxResults :: Lens' DescribeInsightRules (Maybe Natural) Source #

The maximum number of results to return in one operation. If you omit this parameter, the default of 500 is used.

Destructuring the Response

data DescribeInsightRulesResponse Source #

See: newDescribeInsightRulesResponse smart constructor.

Constructors

DescribeInsightRulesResponse' 

Fields

Instances

Instances details
Eq DescribeInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Read DescribeInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Show DescribeInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Generic DescribeInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Associated Types

type Rep DescribeInsightRulesResponse :: Type -> Type #

NFData DescribeInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

type Rep DescribeInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

type Rep DescribeInsightRulesResponse = D1 ('MetaData "DescribeInsightRulesResponse" "Amazonka.CloudWatch.DescribeInsightRules" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "DescribeInsightRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "insightRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightRule])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeInsightRulesResponse Source #

Create a value of DescribeInsightRulesResponse 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:nextToken:DescribeInsightRules', describeInsightRulesResponse_nextToken - If this parameter is present, it is a token that marks the start of the next batch of returned results.

$sel:insightRules:DescribeInsightRulesResponse', describeInsightRulesResponse_insightRules - The rules returned by the operation.

$sel:httpStatus:DescribeInsightRulesResponse', describeInsightRulesResponse_httpStatus - The response's http status code.

Response Lenses

describeInsightRulesResponse_nextToken :: Lens' DescribeInsightRulesResponse (Maybe Text) Source #

If this parameter is present, it is a token that marks the start of the next batch of returned results.