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

Contents

Description

A list of inventory items returned by the request.

Synopsis

Creating a Request

listInventoryEntries Source #

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

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

  • lieFilters - One or more filters. Use a filter to return a more specific list of results.
  • lieNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • lieMaxResults - 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.
  • lieInstanceId - The instance ID for which you want inventory information.
  • lieTypeName - The type of inventory item for which you want information.

data ListInventoryEntries Source #

See: listInventoryEntries smart constructor.

Instances

Eq ListInventoryEntries Source # 
Data ListInventoryEntries Source # 

Methods

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

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

toConstr :: ListInventoryEntries -> Constr #

dataTypeOf :: ListInventoryEntries -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: ListInventoryEntries -> () #

AWSRequest ListInventoryEntries Source # 
ToPath ListInventoryEntries Source # 
ToHeaders ListInventoryEntries Source # 
ToQuery ListInventoryEntries Source # 
type Rep ListInventoryEntries Source # 
type Rep ListInventoryEntries = D1 (MetaData "ListInventoryEntries" "Network.AWS.SSM.ListInventoryEntries" "amazonka-ssm-1.4.5-B1a5iPTYqlbHaMCHVQ4GNL" False) (C1 (MetaCons "ListInventoryEntries'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lieFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 InventoryFilter)))) (S1 (MetaSel (Just Symbol "_lieNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lieMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_lieInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_lieTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs ListInventoryEntries Source # 

Request Lenses

lieFilters :: Lens' ListInventoryEntries (Maybe (NonEmpty InventoryFilter)) Source #

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

lieNextToken :: Lens' ListInventoryEntries (Maybe Text) Source #

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

lieMaxResults :: Lens' ListInventoryEntries (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.

lieInstanceId :: Lens' ListInventoryEntries Text Source #

The instance ID for which you want inventory information.

lieTypeName :: Lens' ListInventoryEntries Text Source #

The type of inventory item for which you want information.

Destructuring the Response

listInventoryEntriesResponse Source #

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

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

  • liersInstanceId - The instance ID targeted by the request to query inventory information.
  • liersTypeName - The type of inventory item returned by the request.
  • liersEntries - A list of inventory items on the instance(s).
  • liersSchemaVersion - The inventory schema version used by the instance(s).
  • liersCaptureTime - The time that inventory information was collected for the instance(s).
  • liersNextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
  • liersResponseStatus - -- | The response status code.

data ListInventoryEntriesResponse Source #

See: listInventoryEntriesResponse smart constructor.

Instances

Eq ListInventoryEntriesResponse Source # 
Data ListInventoryEntriesResponse Source # 

Methods

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

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

toConstr :: ListInventoryEntriesResponse -> Constr #

dataTypeOf :: ListInventoryEntriesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListInventoryEntriesResponse Source # 
Show ListInventoryEntriesResponse Source # 
Generic ListInventoryEntriesResponse Source # 
NFData ListInventoryEntriesResponse Source # 
type Rep ListInventoryEntriesResponse Source # 
type Rep ListInventoryEntriesResponse = D1 (MetaData "ListInventoryEntriesResponse" "Network.AWS.SSM.ListInventoryEntries" "amazonka-ssm-1.4.5-B1a5iPTYqlbHaMCHVQ4GNL" False) (C1 (MetaCons "ListInventoryEntriesResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_liersInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_liersTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_liersEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Map Text Text]))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_liersSchemaVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_liersCaptureTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_liersNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_liersResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

Response Lenses

liersInstanceId :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #

The instance ID targeted by the request to query inventory information.

liersTypeName :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #

The type of inventory item returned by the request.

liersEntries :: Lens' ListInventoryEntriesResponse [HashMap Text Text] Source #

A list of inventory items on the instance(s).

liersSchemaVersion :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #

The inventory schema version used by the instance(s).

liersCaptureTime :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #

The time that inventory information was collected for the instance(s).

liersNextToken :: Lens' ListInventoryEntriesResponse (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.