amazonka-inspector-1.3.5: Amazon Inspector SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Inspector.ListAssessmentAgents

Contents

Description

Lists the agents of the assessment specified by the assessment ARN.

See: AWS API Reference for ListAssessmentAgents.

Synopsis

Creating a Request

listAssessmentAgents :: ListAssessmentAgents Source

Creates a value of ListAssessmentAgents with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

laasAssessmentARN :: Lens' ListAssessmentAgents (Maybe Text) Source

The ARN specifying the assessment whose agents you want to list.

laasNextToken :: Lens' ListAssessmentAgents (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 ListAssessmentAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from previous response to continue listing data.

laasFilter :: Lens' ListAssessmentAgents (Maybe AgentsFilter) 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.

laasMaxResults :: Lens' ListAssessmentAgents (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

listAssessmentAgentsResponse Source

Creates a value of ListAssessmentAgentsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

laarsAgentList :: Lens' ListAssessmentAgentsResponse [Agent] Source

A list of ARNs specifying the agents returned by the action.

laarsNextToken :: Lens' ListAssessmentAgentsResponse (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'.