amazonka-inspector-1.4.2: 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.ListAssessmentRuns

Contents

Description

Lists the assessment runs that correspond to the assessment templates that are specified by the ARNs of the assessment templates.

Synopsis

Creating a Request

listAssessmentRuns :: ListAssessmentRuns Source #

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

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

data ListAssessmentRuns Source #

See: listAssessmentRuns smart constructor.

Instances

Eq ListAssessmentRuns Source # 
Data ListAssessmentRuns Source # 

Methods

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

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

toConstr :: ListAssessmentRuns -> Constr #

dataTypeOf :: ListAssessmentRuns -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAssessmentRuns Source # 
Show ListAssessmentRuns Source # 
Generic ListAssessmentRuns Source # 
ToJSON ListAssessmentRuns Source # 
Hashable ListAssessmentRuns Source # 
NFData ListAssessmentRuns Source # 

Methods

rnf :: ListAssessmentRuns -> () #

AWSRequest ListAssessmentRuns Source # 
ToPath ListAssessmentRuns Source # 
ToHeaders ListAssessmentRuns Source # 
ToQuery ListAssessmentRuns Source # 
type Rep ListAssessmentRuns Source # 
type Rep ListAssessmentRuns = D1 (MetaData "ListAssessmentRuns" "Network.AWS.Inspector.ListAssessmentRuns" "amazonka-inspector-1.4.2-HqCZszWdIu9GCKPm2jM5fs" False) (C1 (MetaCons "ListAssessmentRuns'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_larNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_larFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssessmentRunFilter)))) ((:*:) (S1 (MetaSel (Just Symbol "_larAssessmentTemplateARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_larMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs ListAssessmentRuns Source # 

Request Lenses

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

larFilter :: Lens' ListAssessmentRuns (Maybe AssessmentRunFilter) 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.

larAssessmentTemplateARNs :: Lens' ListAssessmentRuns [Text] Source #

The ARNs that specify the assessment templates whose assessment runs you want to list.

larMaxResults :: Lens' ListAssessmentRuns (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.

Destructuring the Response

listAssessmentRunsResponse Source #

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

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

data ListAssessmentRunsResponse Source #

See: listAssessmentRunsResponse smart constructor.

Instances

Eq ListAssessmentRunsResponse Source # 
Data ListAssessmentRunsResponse Source # 

Methods

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

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

toConstr :: ListAssessmentRunsResponse -> Constr #

dataTypeOf :: ListAssessmentRunsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAssessmentRunsResponse Source # 
Show ListAssessmentRunsResponse Source # 
Generic ListAssessmentRunsResponse Source # 
NFData ListAssessmentRunsResponse Source # 
type Rep ListAssessmentRunsResponse Source # 
type Rep ListAssessmentRunsResponse = D1 (MetaData "ListAssessmentRunsResponse" "Network.AWS.Inspector.ListAssessmentRuns" "amazonka-inspector-1.4.2-HqCZszWdIu9GCKPm2jM5fs" False) (C1 (MetaCons "ListAssessmentRunsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_larrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_larrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_larrsAssessmentRunARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))))

Response Lenses

larrsNextToken :: Lens' ListAssessmentRunsResponse (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.

larrsAssessmentRunARNs :: Lens' ListAssessmentRunsResponse [Text] Source #

A list of ARNs that specifies the assessment runs that are returned by the action.