amazonka-cloudwatch-2.0: Amazon CloudWatch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • maxResults :: Maybe Natural

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

  • nextToken :: Maybe Text

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

Instances

Instances details
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

AWSRequest DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Associated Types

type AWSResponse DescribeInsightRules #

Generic DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Associated Types

type Rep DescribeInsightRules :: Type -> Type #

Read DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Show DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

NFData DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Methods

rnf :: DescribeInsightRules -> () #

Eq DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Hashable DescribeInsightRules Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

type AWSResponse 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" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "DescribeInsightRules'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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

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

Request Lenses

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.

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.

Destructuring the Response

data DescribeInsightRulesResponse Source #

See: newDescribeInsightRulesResponse smart constructor.

Constructors

DescribeInsightRulesResponse' 

Fields

Instances

Instances details
Generic DescribeInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Associated Types

type Rep DescribeInsightRulesResponse :: Type -> Type #

Read DescribeInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Show DescribeInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

NFData DescribeInsightRulesResponse Source # 
Instance details

Defined in Amazonka.CloudWatch.DescribeInsightRules

Eq 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" "amazonka-cloudwatch-2.0-9xq2AWTkbYo3pEtgQNn4jD" 'False) (C1 ('MetaCons "DescribeInsightRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insightRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InsightRule])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:insightRules:DescribeInsightRulesResponse', describeInsightRulesResponse_insightRules - The rules returned by the operation.

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

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