amazonka-ssm-1.6.1: 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 # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Data PutInventory Source # 
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 Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Show PutInventory Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Generic PutInventory Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Associated Types

type Rep PutInventory :: Type -> Type #

Hashable PutInventory Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

ToJSON PutInventory Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

AWSRequest PutInventory Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Associated Types

type Rs PutInventory :: Type #

ToHeaders PutInventory Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

ToPath PutInventory Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

ToQuery PutInventory Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

NFData PutInventory Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Methods

rnf :: PutInventory -> () #

type Rep PutInventory Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

type Rep PutInventory = D1 (MetaData "PutInventory" "Network.AWS.SSM.PutInventory" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" 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 Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

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

Defined in Network.AWS.SSM.PutInventory

Data PutInventoryResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Show PutInventoryResponse Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Generic PutInventoryResponse Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Associated Types

type Rep PutInventoryResponse :: Type -> Type #

NFData PutInventoryResponse Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

Methods

rnf :: PutInventoryResponse -> () #

type Rep PutInventoryResponse Source # 
Instance details

Defined in Network.AWS.SSM.PutInventory

type Rep PutInventoryResponse = D1 (MetaData "PutInventoryResponse" "Network.AWS.SSM.PutInventory" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" 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) Source #

Information about the request.

pirsResponseStatus :: Lens' PutInventoryResponse Int Source #

  • - | The response status code.