amazonka-inspector-1.3.6: 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.PreviewAgentsForResourceGroup

Contents

Description

Previews the agents installed on the EC2 instances that are included in the application created with the specified resource group.

See: AWS API Reference for PreviewAgentsForResourceGroup.

Synopsis

Creating a Request

previewAgentsForResourceGroup :: PreviewAgentsForResourceGroup Source

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

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

Request Lenses

pafrgResourceGroupARN :: Lens' PreviewAgentsForResourceGroup (Maybe Text) Source

The ARN of the resource group that is used to create an application.

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

pafrgMaxResults :: Lens' PreviewAgentsForResourceGroup (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

previewAgentsForResourceGroupResponse Source

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

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

Response Lenses

pafrgrsNextToken :: Lens' PreviewAgentsForResourceGroupResponse (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'.