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 |
List all rulesets available in the current account or rulesets associated with a specific resource (dataset).
This operation returns paginated results.
Synopsis
- data ListRulesets = ListRulesets' {}
- newListRulesets :: ListRulesets
- listRulesets_maxResults :: Lens' ListRulesets (Maybe Natural)
- listRulesets_nextToken :: Lens' ListRulesets (Maybe Text)
- listRulesets_targetArn :: Lens' ListRulesets (Maybe Text)
- data ListRulesetsResponse = ListRulesetsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- rulesets :: [RulesetItem]
- newListRulesetsResponse :: Int -> ListRulesetsResponse
- listRulesetsResponse_nextToken :: Lens' ListRulesetsResponse (Maybe Text)
- listRulesetsResponse_httpStatus :: Lens' ListRulesetsResponse Int
- listRulesetsResponse_rulesets :: Lens' ListRulesetsResponse [RulesetItem]
Creating a Request
data ListRulesets Source #
See: newListRulesets
smart constructor.
ListRulesets' | |
|
Instances
newListRulesets :: ListRulesets Source #
Create a value of ListRulesets
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:ListRulesets'
, listRulesets_maxResults
- The maximum number of results to return in this request.
ListRulesets
, listRulesets_nextToken
- A token generated by DataBrew that specifies where to continue
pagination if a previous request was truncated. To get the next set of
pages, pass in the NextToken value from the response object of the
previous page call.
ListRulesets
, listRulesets_targetArn
- The Amazon Resource Name (ARN) of a resource (dataset). Using this
parameter indicates to return only those rulesets that are associated
with the specified resource.
Request Lenses
listRulesets_maxResults :: Lens' ListRulesets (Maybe Natural) Source #
The maximum number of results to return in this request.
listRulesets_nextToken :: Lens' ListRulesets (Maybe Text) Source #
A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the NextToken value from the response object of the previous page call.
listRulesets_targetArn :: Lens' ListRulesets (Maybe Text) Source #
The Amazon Resource Name (ARN) of a resource (dataset). Using this parameter indicates to return only those rulesets that are associated with the specified resource.
Destructuring the Response
data ListRulesetsResponse Source #
See: newListRulesetsResponse
smart constructor.
ListRulesetsResponse' | |
|
Instances
newListRulesetsResponse Source #
Create a value of ListRulesetsResponse
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:
ListRulesets
, listRulesetsResponse_nextToken
- A token that you can use in a subsequent call to retrieve the next set
of results.
$sel:httpStatus:ListRulesetsResponse'
, listRulesetsResponse_httpStatus
- The response's http status code.
$sel:rulesets:ListRulesetsResponse'
, listRulesetsResponse_rulesets
- A list of RulesetItem. RulesetItem contains meta data of a ruleset.
Response Lenses
listRulesetsResponse_nextToken :: Lens' ListRulesetsResponse (Maybe Text) Source #
A token that you can use in a subsequent call to retrieve the next set of results.
listRulesetsResponse_httpStatus :: Lens' ListRulesetsResponse Int Source #
The response's http status code.
listRulesetsResponse_rulesets :: Lens' ListRulesetsResponse [RulesetItem] Source #
A list of RulesetItem. RulesetItem contains meta data of a ruleset.