Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DescribeInsightRules = DescribeInsightRules' {}
- newDescribeInsightRules :: DescribeInsightRules
- describeInsightRules_nextToken :: Lens' DescribeInsightRules (Maybe Text)
- describeInsightRules_maxResults :: Lens' DescribeInsightRules (Maybe Natural)
- data DescribeInsightRulesResponse = DescribeInsightRulesResponse' {
- nextToken :: Maybe Text
- insightRules :: Maybe [InsightRule]
- httpStatus :: Int
- newDescribeInsightRulesResponse :: Int -> DescribeInsightRulesResponse
- describeInsightRulesResponse_nextToken :: Lens' DescribeInsightRulesResponse (Maybe Text)
- describeInsightRulesResponse_insightRules :: Lens' DescribeInsightRulesResponse (Maybe [InsightRule])
- describeInsightRulesResponse_httpStatus :: Lens' DescribeInsightRulesResponse Int
Creating a Request
data DescribeInsightRules Source #
See: newDescribeInsightRules
smart constructor.
Instances
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.
DescribeInsightRulesResponse' | |
|
Instances
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.
describeInsightRulesResponse_insightRules :: Lens' DescribeInsightRulesResponse (Maybe [InsightRule]) Source #
The rules returned by the operation.
describeInsightRulesResponse_httpStatus :: Lens' DescribeInsightRulesResponse Int Source #
The response's http status code.