amazonka-inspector-1.6.1: Amazon Inspector SDK.

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

Network.AWS.Inspector.ListFindings

Contents

Description

Lists findings that are generated by the assessment runs that are specified by the ARNs of the assessment runs.

This operation returns paginated results.

Synopsis

Creating a Request

listFindings :: ListFindings Source #

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

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

  • lfAssessmentRunARNs - The ARNs of the assessment runs that generate the findings that you want to list.
  • lfNextToken - You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
  • lfFilter - 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.
  • lfMaxResults - 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.

data ListFindings Source #

See: listFindings smart constructor.

Instances
Eq ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Data ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Methods

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

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

toConstr :: ListFindings -> Constr #

dataTypeOf :: ListFindings -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Show ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Generic ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Associated Types

type Rep ListFindings :: Type -> Type #

Hashable ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

ToJSON ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

AWSPager ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

AWSRequest ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Associated Types

type Rs ListFindings :: Type #

ToHeaders ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

ToPath ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

ToQuery ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

NFData ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Methods

rnf :: ListFindings -> () #

type Rep ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

type Rep ListFindings = D1 (MetaData "ListFindings" "Network.AWS.Inspector.ListFindings" "amazonka-inspector-1.6.1-1xH2ya8w5ZlLuhJEcN8K8C" False) (C1 (MetaCons "ListFindings'" PrefixI True) ((S1 (MetaSel (Just "_lfAssessmentRunARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_lfNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lfFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FindingFilter)) :*: S1 (MetaSel (Just "_lfMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))
type Rs ListFindings Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Request Lenses

lfAssessmentRunARNs :: Lens' ListFindings [Text] Source #

The ARNs of the assessment runs that generate the findings that you want to list.

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

lfFilter :: Lens' ListFindings (Maybe FindingFilter) 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.

lfMaxResults :: Lens' ListFindings (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

listFindingsResponse Source #

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

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

  • lfrsNextToken - 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.
  • lfrsResponseStatus - -- | The response status code.
  • lfrsFindingARNs - A list of ARNs that specifies the findings returned by the action.

data ListFindingsResponse Source #

See: listFindingsResponse smart constructor.

Instances
Eq ListFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Data ListFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Methods

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

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

toConstr :: ListFindingsResponse -> Constr #

dataTypeOf :: ListFindingsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Show ListFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Generic ListFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Associated Types

type Rep ListFindingsResponse :: Type -> Type #

NFData ListFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

Methods

rnf :: ListFindingsResponse -> () #

type Rep ListFindingsResponse Source # 
Instance details

Defined in Network.AWS.Inspector.ListFindings

type Rep ListFindingsResponse = D1 (MetaData "ListFindingsResponse" "Network.AWS.Inspector.ListFindings" "amazonka-inspector-1.6.1-1xH2ya8w5ZlLuhJEcN8K8C" False) (C1 (MetaCons "ListFindingsResponse'" PrefixI True) (S1 (MetaSel (Just "_lfrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_lfrsFindingARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))

Response Lenses

lfrsNextToken :: Lens' ListFindingsResponse (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.

lfrsResponseStatus :: Lens' ListFindingsResponse Int Source #

  • - | The response status code.

lfrsFindingARNs :: Lens' ListFindingsResponse [Text] Source #

A list of ARNs that specifies the findings returned by the action.