libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.PutInventory

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

data PutInventory Source #

See: newPutInventory smart constructor.

Constructors

PutInventory' 

Fields

Instances

Instances details
Eq PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Read PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Show PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Generic PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Associated Types

type Rep PutInventory :: Type -> Type #

NFData PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Methods

rnf :: PutInventory -> () #

Hashable PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

ToJSON PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

AWSRequest PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Associated Types

type AWSResponse 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

type Rep PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

type Rep PutInventory = D1 ('MetaData "PutInventory" "Amazonka.SSM.PutInventory" "libZSservicesZSamazonka-ssmZSamazonka-ssm" '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))))
type AWSResponse PutInventory Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

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:

$sel:instanceId:PutInventory', putInventory_instanceId - An instance 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 instances.

Request Lenses

putInventory_instanceId :: Lens' PutInventory Text Source #

An instance 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 instances.

Destructuring the Response

data PutInventoryResponse Source #

See: newPutInventoryResponse smart constructor.

Constructors

PutInventoryResponse' 

Fields

Instances

Instances details
Eq PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Read PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Show PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Generic PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Associated Types

type Rep PutInventoryResponse :: Type -> Type #

NFData PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

Methods

rnf :: PutInventoryResponse -> () #

type Rep PutInventoryResponse Source # 
Instance details

Defined in Amazonka.SSM.PutInventory

type Rep PutInventoryResponse = D1 ('MetaData "PutInventoryResponse" "Amazonka.SSM.PutInventory" "libZSservicesZSamazonka-ssmZSamazonka-ssm" '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:

$sel:message:PutInventoryResponse', putInventoryResponse_message - Information about the request.

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

Response Lenses