Copyright | (c) 2013-2016 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 assessment templates that correspond to the assessment targets that are specified by the ARNs of the assessment targets.
- listAssessmentTemplates :: ListAssessmentTemplates
- data ListAssessmentTemplates
- latNextToken :: Lens' ListAssessmentTemplates (Maybe Text)
- latFilter :: Lens' ListAssessmentTemplates (Maybe AssessmentTemplateFilter)
- latMaxResults :: Lens' ListAssessmentTemplates (Maybe Int)
- latAssessmentTargetARNs :: Lens' ListAssessmentTemplates [Text]
- listAssessmentTemplatesResponse :: Int -> ListAssessmentTemplatesResponse
- data ListAssessmentTemplatesResponse
- latrsNextToken :: Lens' ListAssessmentTemplatesResponse (Maybe Text)
- latrsResponseStatus :: Lens' ListAssessmentTemplatesResponse Int
- latrsAssessmentTemplateARNs :: Lens' ListAssessmentTemplatesResponse [Text]
Creating a Request
listAssessmentTemplates :: ListAssessmentTemplates Source #
Creates a value of ListAssessmentTemplates
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
latNextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.latFilter
- 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.latMaxResults
- 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.latAssessmentTargetARNs
- A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
data ListAssessmentTemplates Source #
See: listAssessmentTemplates
smart constructor.
Request Lenses
latNextToken :: Lens' ListAssessmentTemplates (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 ListAssessmentTemplates action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
latFilter :: Lens' ListAssessmentTemplates (Maybe AssessmentTemplateFilter) 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.
latMaxResults :: Lens' ListAssessmentTemplates (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.
latAssessmentTargetARNs :: Lens' ListAssessmentTemplates [Text] Source #
A list of ARNs that specifies the assessment targets whose assessment templates you want to list.
Destructuring the Response
listAssessmentTemplatesResponse Source #
Creates a value of ListAssessmentTemplatesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
latrsNextToken
- 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.latrsResponseStatus
- -- | The response status code.latrsAssessmentTemplateARNs
- A list of ARNs that specifies the assessment templates returned by the action.
data ListAssessmentTemplatesResponse Source #
See: listAssessmentTemplatesResponse
smart constructor.
Response Lenses
latrsNextToken :: Lens' ListAssessmentTemplatesResponse (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.
latrsResponseStatus :: Lens' ListAssessmentTemplatesResponse Int Source #
- - | The response status code.
latrsAssessmentTemplateARNs :: Lens' ListAssessmentTemplatesResponse [Text] Source #
A list of ARNs that specifies the assessment templates returned by the action.