amazonka-ssm-1.4.5: Amazon Simple Systems Manager (SSM) 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.SSM.GetInventory

Contents

Description

Query inventory information.

Synopsis

Creating a Request

getInventory :: GetInventory Source #

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

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

  • giFilters - One or more filters. Use a filter to return a more specific list of results.
  • giResultAttributes - The list of inventory item types to return.
  • giNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • giMaxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

data GetInventory Source #

See: getInventory smart constructor.

Instances

Eq GetInventory Source # 
Data GetInventory Source # 

Methods

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

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

toConstr :: GetInventory -> Constr #

dataTypeOf :: GetInventory -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInventory Source # 
Show GetInventory Source # 
Generic GetInventory Source # 

Associated Types

type Rep GetInventory :: * -> * #

Hashable GetInventory Source # 
ToJSON GetInventory Source # 
NFData GetInventory Source # 

Methods

rnf :: GetInventory -> () #

AWSRequest GetInventory Source # 
ToPath GetInventory Source # 
ToHeaders GetInventory Source # 
ToQuery GetInventory Source # 
type Rep GetInventory Source # 
type Rep GetInventory = D1 (MetaData "GetInventory" "Network.AWS.SSM.GetInventory" "amazonka-ssm-1.4.5-B1a5iPTYqlbHaMCHVQ4GNL" False) (C1 (MetaCons "GetInventory'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_giFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 InventoryFilter)))) (S1 (MetaSel (Just Symbol "_giResultAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 ResultAttribute))))) ((:*:) (S1 (MetaSel (Just Symbol "_giNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_giMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs GetInventory Source # 

Request Lenses

giFilters :: Lens' GetInventory (Maybe (NonEmpty InventoryFilter)) Source #

One or more filters. Use a filter to return a more specific list of results.

giResultAttributes :: Lens' GetInventory (Maybe (NonEmpty ResultAttribute)) Source #

The list of inventory item types to return.

giNextToken :: Lens' GetInventory (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

giMaxResults :: Lens' GetInventory (Maybe Natural) Source #

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Destructuring the Response

getInventoryResponse Source #

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

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

  • girsEntities - Collection of inventory entities such as a collection of instance inventory.
  • girsNextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
  • girsResponseStatus - -- | The response status code.

data GetInventoryResponse Source #

See: getInventoryResponse smart constructor.

Instances

Eq GetInventoryResponse Source # 
Data GetInventoryResponse Source # 

Methods

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

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

toConstr :: GetInventoryResponse -> Constr #

dataTypeOf :: GetInventoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInventoryResponse Source # 
Show GetInventoryResponse Source # 
Generic GetInventoryResponse Source # 
NFData GetInventoryResponse Source # 

Methods

rnf :: GetInventoryResponse -> () #

type Rep GetInventoryResponse Source # 
type Rep GetInventoryResponse = D1 (MetaData "GetInventoryResponse" "Network.AWS.SSM.GetInventory" "amazonka-ssm-1.4.5-B1a5iPTYqlbHaMCHVQ4GNL" False) (C1 (MetaCons "GetInventoryResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_girsEntities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InventoryResultEntity]))) ((:*:) (S1 (MetaSel (Just Symbol "_girsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_girsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

girsEntities :: Lens' GetInventoryResponse [InventoryResultEntity] Source #

Collection of inventory entities such as a collection of instance inventory.

girsNextToken :: Lens' GetInventoryResponse (Maybe Text) Source #

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

girsResponseStatus :: Lens' GetInventoryResponse Int Source #

  • - | The response status code.