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 #

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 #

See: getInventory smart constructor.

Instances

Eq GetInventory # 
Data GetInventory # 

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 # 
Show GetInventory # 
Generic GetInventory # 

Associated Types

type Rep GetInventory :: * -> * #

Hashable GetInventory # 
ToJSON GetInventory # 
NFData GetInventory # 

Methods

rnf :: GetInventory -> () #

AWSRequest GetInventory # 
ToQuery GetInventory # 
ToPath GetInventory # 
ToHeaders GetInventory # 
type Rep GetInventory # 
type Rep GetInventory = D1 (MetaData "GetInventory" "Network.AWS.SSM.GetInventory" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" 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 # 

Request Lenses

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

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

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

The list of inventory item types to return.

giNextToken :: Lens' GetInventory (Maybe Text) #

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

giMaxResults :: Lens' GetInventory (Maybe Natural) #

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 #

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 #

See: getInventoryResponse smart constructor.

Instances

Eq GetInventoryResponse # 
Data GetInventoryResponse # 

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 # 
Show GetInventoryResponse # 
Generic GetInventoryResponse # 
NFData GetInventoryResponse # 

Methods

rnf :: GetInventoryResponse -> () #

type Rep GetInventoryResponse # 
type Rep GetInventoryResponse = D1 (MetaData "GetInventoryResponse" "Network.AWS.SSM.GetInventory" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" 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] #

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

girsNextToken :: Lens' GetInventoryResponse (Maybe Text) #

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 #

  • - | The response status code.