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

Contents

Description

Bulk update custom inventory items on one more instance. The request adds an inventory item, if it doesn't already exist, or updates an inventory item, if it does exist.

Synopsis

Creating a Request

putInventory #

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

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

  • piInstanceId - One or more instance IDs where you want to add or update inventory items.
  • piItems - The inventory items that you want to add or update on instances.

data PutInventory #

See: putInventory smart constructor.

Instances

Eq PutInventory # 
Data PutInventory # 

Methods

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

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

toConstr :: PutInventory -> Constr #

dataTypeOf :: PutInventory -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutInventory # 
Show PutInventory # 
Generic PutInventory # 

Associated Types

type Rep PutInventory :: * -> * #

Hashable PutInventory # 
ToJSON PutInventory # 
NFData PutInventory # 

Methods

rnf :: PutInventory -> () #

AWSRequest PutInventory # 
ToQuery PutInventory # 
ToPath PutInventory # 
ToHeaders PutInventory # 
type Rep PutInventory # 
type Rep PutInventory = D1 (MetaData "PutInventory" "Network.AWS.SSM.PutInventory" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "PutInventory'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_piInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_piItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 InventoryItem)))))
type Rs PutInventory # 

Request Lenses

piInstanceId :: Lens' PutInventory Text #

One or more instance IDs where you want to add or update inventory items.

piItems :: Lens' PutInventory (NonEmpty InventoryItem) #

The inventory items that you want to add or update on instances.

Destructuring the Response

putInventoryResponse #

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

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

data PutInventoryResponse #

See: putInventoryResponse smart constructor.

Instances

Eq PutInventoryResponse # 
Data PutInventoryResponse # 

Methods

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

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

toConstr :: PutInventoryResponse -> Constr #

dataTypeOf :: PutInventoryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutInventoryResponse # 
Show PutInventoryResponse # 
Generic PutInventoryResponse # 
NFData PutInventoryResponse # 

Methods

rnf :: PutInventoryResponse -> () #

type Rep PutInventoryResponse # 
type Rep PutInventoryResponse = D1 (MetaData "PutInventoryResponse" "Network.AWS.SSM.PutInventory" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" True) (C1 (MetaCons "PutInventoryResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_pirsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

pirsResponseStatus :: Lens' PutInventoryResponse Int #

  • - | The response status code.