amazonka-ssm-1.6.0: Amazon Simple Systems Manager (SSM) SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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 Source #

See: putInventory smart constructor.

Instances

Eq PutInventory Source # 
Data PutInventory Source # 

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 Source # 
Show PutInventory Source # 
Generic PutInventory Source # 

Associated Types

type Rep PutInventory :: * -> * #

Hashable PutInventory Source # 
ToJSON PutInventory Source # 
NFData PutInventory Source # 

Methods

rnf :: PutInventory -> () #

AWSRequest PutInventory Source # 
ToHeaders PutInventory Source # 
ToPath PutInventory Source # 
ToQuery PutInventory Source # 
type Rep PutInventory Source # 
type Rep PutInventory = D1 * (MetaData "PutInventory" "Network.AWS.SSM.PutInventory" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" 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 Source # 

Request Lenses

piInstanceId :: Lens' PutInventory Text Source #

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

piItems :: Lens' PutInventory (NonEmpty InventoryItem) Source #

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

Destructuring the Response

putInventoryResponse Source #

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 Source #

See: putInventoryResponse smart constructor.

Instances

Eq PutInventoryResponse Source # 
Data PutInventoryResponse Source # 

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

Methods

rnf :: PutInventoryResponse -> () #

type Rep PutInventoryResponse Source # 
type Rep PutInventoryResponse = D1 * (MetaData "PutInventoryResponse" "Network.AWS.SSM.PutInventory" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "PutInventoryResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pirsMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_pirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

pirsMessage :: Lens' PutInventoryResponse (Maybe Text) Source #

Information about the request.

pirsResponseStatus :: Lens' PutInventoryResponse Int Source #

  • - | The response status code.