Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists all available Inspector rules packages.
See: AWS API Reference for ListRulesPackages.
- listRulesPackages :: ListRulesPackages
- data ListRulesPackages
- lrpNextToken :: Lens' ListRulesPackages (Maybe Text)
- lrpMaxResults :: Lens' ListRulesPackages (Maybe Int)
- listRulesPackagesResponse :: Int -> ListRulesPackagesResponse
- data ListRulesPackagesResponse
- lrprsNextToken :: Lens' ListRulesPackagesResponse (Maybe Text)
- lrprsRulesPackageARNList :: Lens' ListRulesPackagesResponse [Text]
- lrprsResponseStatus :: Lens' ListRulesPackagesResponse Int
Creating a Request
listRulesPackages :: ListRulesPackages Source
Creates a value of ListRulesPackages
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListRulesPackages Source
See: listRulesPackages
smart constructor.
Request Lenses
lrpNextToken :: Lens' ListRulesPackages (Maybe Text) Source
You can use this parameter when paginating results. Set the value of this parameter to 'null' on your first call to the ListRulesPackages action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from previous response to continue listing data.
lrpMaxResults :: Lens' ListRulesPackages (Maybe Int) Source
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
Destructuring the Response
listRulesPackagesResponse Source
Creates a value of ListRulesPackagesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListRulesPackagesResponse Source
See: listRulesPackagesResponse
smart constructor.
Response Lenses
lrprsNextToken :: Lens' ListRulesPackagesResponse (Maybe Text) Source
When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the nextToken parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to 'null'.
lrprsRulesPackageARNList :: Lens' ListRulesPackagesResponse [Text] Source
The list of ARNs specifying the rules packages returned by the action.
lrprsResponseStatus :: Lens' ListRulesPackagesResponse Int Source
The response status code.