amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSM.PutInventory

Description

Bulk update custom inventory items on one or more managed nodes. 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

data PutInventory Source #

See: newPutInventory smart constructor.

Constructors

PutInventory' 

Fields

Instances

Instances details
ToJSON PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

ToHeaders PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

ToPath PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

ToQuery PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

AWSRequest PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Associated Types

type AWSResponse PutInventory #

Generic PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Associated Types

type Rep PutInventory :: Type -> Type #

Read PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Show PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

NFData PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Methods

rnf :: PutInventory -> () #

Eq PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Hashable PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

type AWSResponse PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

type Rep PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

type Rep PutInventory = D1 ('MetaData "PutInventory" "Amazonka.SSM.PutInventory" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "PutInventory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty InventoryItem))))

newPutInventory Source #

Create a value of PutInventory with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

PutInventory, putInventory_instanceId - An managed node ID where you want to add or update inventory items.

$sel:items:PutInventory', putInventory_items - The inventory items that you want to add or update on managed nodes.

Request Lenses

putInventory_instanceId :: Lens' PutInventory Text Source #

An managed node ID where you want to add or update inventory items.

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

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

Destructuring the Response

data PutInventoryResponse Source #

See: newPutInventoryResponse smart constructor.

Constructors

PutInventoryResponse' 

Fields

Instances

Instances details
Generic PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Associated Types

type Rep PutInventoryResponse :: Type -> Type #

Read PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Show PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

NFData PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Methods

rnf :: PutInventoryResponse -> () #

Eq PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

type Rep PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

type Rep PutInventoryResponse = D1 ('MetaData "PutInventoryResponse" "Amazonka.SSM.PutInventory" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "PutInventoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutInventoryResponse Source #

Create a value of PutInventoryResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

PutInventoryResponse, putInventoryResponse_message - Information about the request.

$sel:httpStatus:PutInventoryResponse', putInventoryResponse_httpStatus - The response's http status code.

Response Lenses