Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns a list that contains the number of managed Contributor Insights rules in your account.
Synopsis
- data ListManagedInsightRules = ListManagedInsightRules' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- resourceARN :: Text
- newListManagedInsightRules :: Text -> ListManagedInsightRules
- listManagedInsightRules_maxResults :: Lens' ListManagedInsightRules (Maybe Natural)
- listManagedInsightRules_nextToken :: Lens' ListManagedInsightRules (Maybe Text)
- listManagedInsightRules_resourceARN :: Lens' ListManagedInsightRules Text
- data ListManagedInsightRulesResponse = ListManagedInsightRulesResponse' {}
- newListManagedInsightRulesResponse :: Int -> ListManagedInsightRulesResponse
- listManagedInsightRulesResponse_managedRules :: Lens' ListManagedInsightRulesResponse (Maybe [ManagedRuleDescription])
- listManagedInsightRulesResponse_nextToken :: Lens' ListManagedInsightRulesResponse (Maybe Text)
- listManagedInsightRulesResponse_httpStatus :: Lens' ListManagedInsightRulesResponse Int
Creating a Request
data ListManagedInsightRules Source #
See: newListManagedInsightRules
smart constructor.
ListManagedInsightRules' | |
|
Instances
newListManagedInsightRules Source #
Create a value of ListManagedInsightRules
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:ListManagedInsightRules'
, listManagedInsightRules_maxResults
- The maximum number of results to return in one operation. If you omit
this parameter, the default number is used. The default number is 100
.
ListManagedInsightRules
, listManagedInsightRules_nextToken
- Include this value to get the next set of rules if the value was
returned by the previous operation.
ListManagedInsightRules
, listManagedInsightRules_resourceARN
- The ARN of an Amazon Web Services resource that has managed Contributor
Insights rules.
Request Lenses
listManagedInsightRules_maxResults :: Lens' ListManagedInsightRules (Maybe Natural) Source #
The maximum number of results to return in one operation. If you omit
this parameter, the default number is used. The default number is 100
.
listManagedInsightRules_nextToken :: Lens' ListManagedInsightRules (Maybe Text) Source #
Include this value to get the next set of rules if the value was returned by the previous operation.
listManagedInsightRules_resourceARN :: Lens' ListManagedInsightRules Text Source #
The ARN of an Amazon Web Services resource that has managed Contributor Insights rules.
Destructuring the Response
data ListManagedInsightRulesResponse Source #
See: newListManagedInsightRulesResponse
smart constructor.
ListManagedInsightRulesResponse' | |
|
Instances
newListManagedInsightRulesResponse Source #
Create a value of ListManagedInsightRulesResponse
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:managedRules:ListManagedInsightRulesResponse'
, listManagedInsightRulesResponse_managedRules
- The managed rules that are available for the specified Amazon Web
Services resource.
ListManagedInsightRules
, listManagedInsightRulesResponse_nextToken
- Include this value to get the next set of rules if the value was
returned by the previous operation.
$sel:httpStatus:ListManagedInsightRulesResponse'
, listManagedInsightRulesResponse_httpStatus
- The response's http status code.
Response Lenses
listManagedInsightRulesResponse_managedRules :: Lens' ListManagedInsightRulesResponse (Maybe [ManagedRuleDescription]) Source #
The managed rules that are available for the specified Amazon Web Services resource.
listManagedInsightRulesResponse_nextToken :: Lens' ListManagedInsightRulesResponse (Maybe Text) Source #
Include this value to get the next set of rules if the value was returned by the previous operation.
listManagedInsightRulesResponse_httpStatus :: Lens' ListManagedInsightRulesResponse Int Source #
The response's http status code.