Copyright | (c) 2013-2021 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 |
Lists the agents of the assessment runs that are specified by the ARNs of the assessment runs.
This operation returns paginated results.
Synopsis
- data ListAssessmentRunAgents = ListAssessmentRunAgents' {}
- newListAssessmentRunAgents :: Text -> ListAssessmentRunAgents
- listAssessmentRunAgents_nextToken :: Lens' ListAssessmentRunAgents (Maybe Text)
- listAssessmentRunAgents_filter :: Lens' ListAssessmentRunAgents (Maybe AgentFilter)
- listAssessmentRunAgents_maxResults :: Lens' ListAssessmentRunAgents (Maybe Int)
- listAssessmentRunAgents_assessmentRunArn :: Lens' ListAssessmentRunAgents Text
- data ListAssessmentRunAgentsResponse = ListAssessmentRunAgentsResponse' {}
- newListAssessmentRunAgentsResponse :: Int -> ListAssessmentRunAgentsResponse
- listAssessmentRunAgentsResponse_nextToken :: Lens' ListAssessmentRunAgentsResponse (Maybe Text)
- listAssessmentRunAgentsResponse_httpStatus :: Lens' ListAssessmentRunAgentsResponse Int
- listAssessmentRunAgentsResponse_assessmentRunAgents :: Lens' ListAssessmentRunAgentsResponse [AssessmentRunAgent]
Creating a Request
data ListAssessmentRunAgents Source #
See: newListAssessmentRunAgents
smart constructor.
ListAssessmentRunAgents' | |
|
Instances
newListAssessmentRunAgents Source #
Create a value of ListAssessmentRunAgents
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListAssessmentRunAgents'
, listAssessmentRunAgents_nextToken
- 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.
$sel:filter':ListAssessmentRunAgents'
, listAssessmentRunAgents_filter
- 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.
$sel:maxResults:ListAssessmentRunAgents'
, listAssessmentRunAgents_maxResults
- 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.
$sel:assessmentRunArn:ListAssessmentRunAgents'
, listAssessmentRunAgents_assessmentRunArn
- The ARN that specifies the assessment run whose agents you want to list.
Request Lenses
listAssessmentRunAgents_nextToken :: 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.
listAssessmentRunAgents_filter :: 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.
listAssessmentRunAgents_maxResults :: 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.
listAssessmentRunAgents_assessmentRunArn :: Lens' ListAssessmentRunAgents Text Source #
The ARN that specifies the assessment run whose agents you want to list.
Destructuring the Response
data ListAssessmentRunAgentsResponse Source #
See: newListAssessmentRunAgentsResponse
smart constructor.
ListAssessmentRunAgentsResponse' | |
|
Instances
newListAssessmentRunAgentsResponse Source #
Create a value of ListAssessmentRunAgentsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListAssessmentRunAgents'
, listAssessmentRunAgentsResponse_nextToken
- 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.
$sel:httpStatus:ListAssessmentRunAgentsResponse'
, listAssessmentRunAgentsResponse_httpStatus
- The response's http status code.
$sel:assessmentRunAgents:ListAssessmentRunAgentsResponse'
, listAssessmentRunAgentsResponse_assessmentRunAgents
- A list of ARNs that specifies the agents returned by the action.
Response Lenses
listAssessmentRunAgentsResponse_nextToken :: 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.
listAssessmentRunAgentsResponse_httpStatus :: Lens' ListAssessmentRunAgentsResponse Int Source #
The response's http status code.
listAssessmentRunAgentsResponse_assessmentRunAgents :: Lens' ListAssessmentRunAgentsResponse [AssessmentRunAgent] Source #
A list of ARNs that specifies the agents returned by the action.