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.ListRulesPackages

Contents

Description

Lists all available Amazon Inspector rules packages.

Synopsis

Creating a Request

listRulesPackages :: ListRulesPackages Source #

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

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

data ListRulesPackages Source #

See: listRulesPackages smart constructor.

Instances

Eq ListRulesPackages Source # 
Data ListRulesPackages Source # 

Methods

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

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

toConstr :: ListRulesPackages -> Constr #

dataTypeOf :: ListRulesPackages -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListRulesPackages -> () #

AWSRequest ListRulesPackages Source # 
ToPath ListRulesPackages Source # 
ToHeaders ListRulesPackages Source # 
ToQuery ListRulesPackages Source # 
type Rep ListRulesPackages Source # 
type Rep ListRulesPackages = D1 (MetaData "ListRulesPackages" "Network.AWS.Inspector.ListRulesPackages" "amazonka-inspector-1.4.2-HqCZszWdIu9GCKPm2jM5fs" False) (C1 (MetaCons "ListRulesPackages'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrpNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrpMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))))
type Rs ListRulesPackages Source # 

Request Lenses

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

lrpMaxResults :: Lens' ListRulesPackages (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

listRulesPackagesResponse Source #

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

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

data ListRulesPackagesResponse Source #

See: listRulesPackagesResponse smart constructor.

Instances

Eq ListRulesPackagesResponse Source # 
Data ListRulesPackagesResponse Source # 

Methods

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

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

toConstr :: ListRulesPackagesResponse -> Constr #

dataTypeOf :: ListRulesPackagesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

lrprsNextToken :: Lens' ListRulesPackagesResponse (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.

lrprsRulesPackageARNs :: Lens' ListRulesPackagesResponse [Text] Source #

The list of ARNs that specifies the rules packages returned by the action.