Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
- listAssessmentRunAgents :: Text -> ListAssessmentRunAgents
- data ListAssessmentRunAgents
- laraNextToken :: Lens' ListAssessmentRunAgents (Maybe Text)
- laraFilter :: Lens' ListAssessmentRunAgents (Maybe AgentFilter)
- laraMaxResults :: Lens' ListAssessmentRunAgents (Maybe Int)
- laraAssessmentRunARN :: Lens' ListAssessmentRunAgents Text
- listAssessmentRunAgentsResponse :: Int -> ListAssessmentRunAgentsResponse
- data ListAssessmentRunAgentsResponse
- lararsNextToken :: Lens' ListAssessmentRunAgentsResponse (Maybe Text)
- lararsResponseStatus :: Lens' ListAssessmentRunAgentsResponse Int
- lararsAssessmentRunAgents :: Lens' ListAssessmentRunAgentsResponse [AssessmentRunAgent]
Creating a Request
listAssessmentRunAgents Source #
Creates a value of ListAssessmentRunAgents
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
laraNextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentRunAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.laraFilter
- 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.laraMaxResults
- You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 10. The maximum value is 500.laraAssessmentRunARN
- The ARN that specifies the assessment run whose agents you want to list.
data ListAssessmentRunAgents Source #
See: listAssessmentRunAgents
smart constructor.
Request Lenses
laraNextToken :: Lens' ListAssessmentRunAgents (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 ListAssessmentRunAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
laraFilter :: Lens' ListAssessmentRunAgents (Maybe AgentFilter) 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.
laraMaxResults :: Lens' ListAssessmentRunAgents (Maybe Int) Source #
You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 10. The maximum value is 500.
laraAssessmentRunARN :: Lens' ListAssessmentRunAgents Text Source #
The ARN that specifies the assessment run whose agents you want to list.
Destructuring the Response
listAssessmentRunAgentsResponse Source #
Creates a value of ListAssessmentRunAgentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lararsNextToken
- 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.lararsResponseStatus
- -- | The response status code.lararsAssessmentRunAgents
- A list of ARNs that specifies the agents returned by the action.
data ListAssessmentRunAgentsResponse Source #
See: listAssessmentRunAgentsResponse
smart constructor.
Response Lenses
lararsNextToken :: Lens' ListAssessmentRunAgentsResponse (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.
lararsResponseStatus :: Lens' ListAssessmentRunAgentsResponse Int Source #
- - | The response status code.
lararsAssessmentRunAgents :: Lens' ListAssessmentRunAgentsResponse [AssessmentRunAgent] Source #
A list of ARNs that specifies the agents returned by the action.