![]() |
![]()
| ![]() |
![]()
NAMEPaws::SSM::PutInventory - Arguments for method PutInventory on Paws::SSM DESCRIPTIONThis class represents the parameters used for calling the method PutInventory on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method PutInventory. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutInventory. SYNOPSISmy $ssm = Paws->service('SSM'); my $PutInventoryResult = $ssm->PutInventory( InstanceId => 'MyInstanceId', Items => [ { CaptureTime => 'MyInventoryItemCaptureTime', SchemaVersion => 'MyInventoryItemSchemaVersion', TypeName => 'MyInventoryItemTypeName', # min: 1, max: 100 Content => [ { 'MyAttributeName' => 'MyAttributeValue', # key: min: 1, max: 64, value: max: 4096 }, ... # max: 50 ], # max: 10000; OPTIONAL ContentHash => 'MyInventoryItemContentHash', # max: 256; OPTIONAL Context => { 'MyAttributeName' => 'MyAttributeValue', # key: min: 1, max: 64, value: max: 4096 }, # max: 50; OPTIONAL }, ... ], ); # Results: my $Message = $PutInventoryResult->Message; # Returns a L<Paws::SSM::PutInventoryResult> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/ssm/PutInventory> ATTRIBUTESREQUIRED InstanceId => StrAn instance ID where you want to add or update inventory items. REQUIRED Items => ArrayRef[Paws::SSM::InventoryItem]The inventory items that you want to add or update on instances. SEE ALSOThis class forms part of Paws, documenting arguments for method PutInventory in Paws::SSM BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|