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 the rules packages attached to the assessment specified by the assessment ARN.
See: AWS API Reference for ListAttachedRulesPackages.
- listAttachedRulesPackages :: ListAttachedRulesPackages
- data ListAttachedRulesPackages
- larpAssessmentARN :: Lens' ListAttachedRulesPackages (Maybe Text)
- larpNextToken :: Lens' ListAttachedRulesPackages (Maybe Text)
- larpMaxResults :: Lens' ListAttachedRulesPackages (Maybe Int)
- listAttachedRulesPackagesResponse :: Int -> ListAttachedRulesPackagesResponse
- data ListAttachedRulesPackagesResponse
- larprsNextToken :: Lens' ListAttachedRulesPackagesResponse (Maybe Text)
- larprsRulesPackageARNList :: Lens' ListAttachedRulesPackagesResponse [Text]
- larprsResponseStatus :: Lens' ListAttachedRulesPackagesResponse Int
Creating a Request
listAttachedRulesPackages :: ListAttachedRulesPackages Source
Creates a value of ListAttachedRulesPackages
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListAttachedRulesPackages Source
See: listAttachedRulesPackages
smart constructor.
Request Lenses
larpAssessmentARN :: Lens' ListAttachedRulesPackages (Maybe Text) Source
The ARN specifying the assessment whose rules packages you want to list.
larpNextToken :: Lens' ListAttachedRulesPackages (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 ListAttachedRulesPackages action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from previous response to continue listing data.
larpMaxResults :: Lens' ListAttachedRulesPackages (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
listAttachedRulesPackagesResponse Source
Creates a value of ListAttachedRulesPackagesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListAttachedRulesPackagesResponse Source
See: listAttachedRulesPackagesResponse
smart constructor.
Response Lenses
larprsNextToken :: Lens' ListAttachedRulesPackagesResponse (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'.
larprsRulesPackageARNList :: Lens' ListAttachedRulesPackagesResponse [Text] Source
A list of ARNs specifying the rules packages returned by the action.
larprsResponseStatus :: Lens' ListAttachedRulesPackagesResponse Int Source
The response status code.