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 #

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 # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Data PutInventory # 
Instance details

Defined in Network.AWS.SSM.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 # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Show PutInventory # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Generic PutInventory # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Associated Types

type Rep PutInventory :: * -> * #

Hashable PutInventory # 
Instance details

Defined in Network.AWS.SSM.PutInventory

ToJSON PutInventory # 
Instance details

Defined in Network.AWS.SSM.PutInventory

AWSRequest PutInventory # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Associated Types

type Rs PutInventory :: * #

ToHeaders PutInventory # 
Instance details

Defined in Network.AWS.SSM.PutInventory

ToPath PutInventory # 
Instance details

Defined in Network.AWS.SSM.PutInventory

ToQuery PutInventory # 
Instance details

Defined in Network.AWS.SSM.PutInventory

NFData PutInventory # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Methods

rnf :: PutInventory -> () #

type Rep PutInventory # 
Instance details

Defined in Network.AWS.SSM.PutInventory

type Rep PutInventory = D1 (MetaData "PutInventory" "Network.AWS.SSM.PutInventory" "amazonka-ssm-1.6.0-2O4V6sSpPonKM5mzsQDhXT" False) (C1 (MetaCons "PutInventory'" PrefixI True) (S1 (MetaSel (Just "_piInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_piItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 InventoryItem))))
type Rs PutInventory # 
Instance details

Defined in Network.AWS.SSM.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 # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Data PutInventoryResponse # 
Instance details

Defined in Network.AWS.SSM.PutInventory

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 # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Show PutInventoryResponse # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Generic PutInventoryResponse # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Associated Types

type Rep PutInventoryResponse :: * -> * #

NFData PutInventoryResponse # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Methods

rnf :: PutInventoryResponse -> () #

type Rep PutInventoryResponse # 
Instance details

Defined in Network.AWS.SSM.PutInventory

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

Response Lenses

pirsMessage :: Lens' PutInventoryResponse (Maybe Text) #

Information about the request.

pirsResponseStatus :: Lens' PutInventoryResponse Int #

  • - | The response status code.