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 assessments attached to the rules package specified by the rules package ARN.
See: AWS API Reference for ListAttachedAssessments.
- listAttachedAssessments :: ListAttachedAssessments
- data ListAttachedAssessments
- laaNextToken :: Lens' ListAttachedAssessments (Maybe Text)
- laaRulesPackageARN :: Lens' ListAttachedAssessments (Maybe Text)
- laaFilter :: Lens' ListAttachedAssessments (Maybe AssessmentsFilter)
- laaMaxResults :: Lens' ListAttachedAssessments (Maybe Int)
- listAttachedAssessmentsResponse :: Int -> ListAttachedAssessmentsResponse
- data ListAttachedAssessmentsResponse
- laasrsAssessmentARNList :: Lens' ListAttachedAssessmentsResponse [Text]
- laasrsNextToken :: Lens' ListAttachedAssessmentsResponse (Maybe Text)
- laasrsResponseStatus :: Lens' ListAttachedAssessmentsResponse Int
Creating a Request
listAttachedAssessments :: ListAttachedAssessments Source
Creates a value of ListAttachedAssessments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListAttachedAssessments Source
See: listAttachedAssessments
smart constructor.
Request Lenses
laaNextToken :: Lens' ListAttachedAssessments (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 ListAttachedAssessments action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from previous response to continue listing data.
laaRulesPackageARN :: Lens' ListAttachedAssessments (Maybe Text) Source
The ARN specifying the rules package whose assessments you want to list.
laaFilter :: Lens' ListAttachedAssessments (Maybe AssessmentsFilter) Source
You can use this parameter to specify a subset of data to be included in the action's response.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
laaMaxResults :: Lens' ListAttachedAssessments (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
listAttachedAssessmentsResponse Source
Creates a value of ListAttachedAssessmentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListAttachedAssessmentsResponse Source
See: listAttachedAssessmentsResponse
smart constructor.
Response Lenses
laasrsAssessmentARNList :: Lens' ListAttachedAssessmentsResponse [Text] Source
A list of ARNs specifying the assessments returned by the action.
laasrsNextToken :: Lens' ListAttachedAssessmentsResponse (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'.
laasrsResponseStatus :: Lens' ListAttachedAssessmentsResponse Int Source
The response status code.