amazonka-inspector-1.4.5: Amazon Inspector SDK.

Copyright(c) 2013-2016 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.PreviewAgents

Contents

Description

Previews the agents installed on the EC2 instances that are part of the specified assessment target.

Synopsis

Creating a Request

previewAgents Source #

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

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

  • paNextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
  • paMaxResults - 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.
  • paPreviewAgentsARN - The ARN of the assessment target whose agents you want to preview.

data PreviewAgents Source #

See: previewAgents smart constructor.

Instances

Eq PreviewAgents Source # 
Data PreviewAgents Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PreviewAgents -> c PreviewAgents #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PreviewAgents #

toConstr :: PreviewAgents -> Constr #

dataTypeOf :: PreviewAgents -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PreviewAgents) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PreviewAgents) #

gmapT :: (forall b. Data b => b -> b) -> PreviewAgents -> PreviewAgents #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PreviewAgents -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PreviewAgents -> r #

gmapQ :: (forall d. Data d => d -> u) -> PreviewAgents -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PreviewAgents -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PreviewAgents -> m PreviewAgents #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PreviewAgents -> m PreviewAgents #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PreviewAgents -> m PreviewAgents #

Read PreviewAgents Source # 
Show PreviewAgents Source # 
Generic PreviewAgents Source # 

Associated Types

type Rep PreviewAgents :: * -> * #

Hashable PreviewAgents Source # 
ToJSON PreviewAgents Source # 
NFData PreviewAgents Source # 

Methods

rnf :: PreviewAgents -> () #

AWSRequest PreviewAgents Source # 
ToPath PreviewAgents Source # 
ToHeaders PreviewAgents Source # 
ToQuery PreviewAgents Source # 
type Rep PreviewAgents Source # 
type Rep PreviewAgents = D1 (MetaData "PreviewAgents" "Network.AWS.Inspector.PreviewAgents" "amazonka-inspector-1.4.5-BnaqKobvF4QDYYHQ4DKRGB" False) (C1 (MetaCons "PreviewAgents'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_paNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_paMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_paPreviewAgentsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs PreviewAgents Source # 

Request Lenses

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

paMaxResults :: Lens' PreviewAgents (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.

paPreviewAgentsARN :: Lens' PreviewAgents Text Source #

The ARN of the assessment target whose agents you want to preview.

Destructuring the Response

previewAgentsResponse Source #

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

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

  • parsNextToken - 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.
  • parsResponseStatus - -- | The response status code.
  • parsAgentPreviews - The resulting list of agents.

data PreviewAgentsResponse Source #

See: previewAgentsResponse smart constructor.

Instances

Eq PreviewAgentsResponse Source # 
Data PreviewAgentsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PreviewAgentsResponse -> c PreviewAgentsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PreviewAgentsResponse #

toConstr :: PreviewAgentsResponse -> Constr #

dataTypeOf :: PreviewAgentsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PreviewAgentsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PreviewAgentsResponse) #

gmapT :: (forall b. Data b => b -> b) -> PreviewAgentsResponse -> PreviewAgentsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PreviewAgentsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PreviewAgentsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> PreviewAgentsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PreviewAgentsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PreviewAgentsResponse -> m PreviewAgentsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PreviewAgentsResponse -> m PreviewAgentsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PreviewAgentsResponse -> m PreviewAgentsResponse #

Read PreviewAgentsResponse Source # 
Show PreviewAgentsResponse Source # 
Generic PreviewAgentsResponse Source # 
NFData PreviewAgentsResponse Source # 

Methods

rnf :: PreviewAgentsResponse -> () #

type Rep PreviewAgentsResponse Source # 
type Rep PreviewAgentsResponse = D1 (MetaData "PreviewAgentsResponse" "Network.AWS.Inspector.PreviewAgents" "amazonka-inspector-1.4.5-BnaqKobvF4QDYYHQ4DKRGB" False) (C1 (MetaCons "PreviewAgentsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_parsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_parsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_parsAgentPreviews") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [AgentPreview])))))

Response Lenses

parsNextToken :: Lens' PreviewAgentsResponse (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.

parsResponseStatus :: Lens' PreviewAgentsResponse Int Source #

  • - | The response status code.