Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient.PutInventory C# (CSharp) Метод

PutInventory() публичный Метод

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.
/// You have exceeded the limit for custom schemas. Delete one or more custom schemas /// and try again. /// /// An error occurred on the server side. /// /// The following problems can cause this exception: /// /// /// /// You do not have permission to access the instance. /// /// /// /// The SSM agent is not running. On managed instances and Linux instances, verify that /// the SSM agent is running. On EC2 Windows instances, verify that the EC2Config service /// is running. /// /// /// /// The SSM agent or EC2Config service is not registered to the SSM endpoint. Try reinstalling /// the SSM agent or EC2Config service. /// /// /// /// The instance is not in valid state. Valid states are: Running, Pending, Stopped, Stopping. /// Invalid states are: Shutting-down and Terminated. /// /// /// One or more content items is not valid. /// /// The parameter type name is not valid. /// /// The inventory item has invalid content. /// /// The inventory item size has exceeded the size limit. /// /// The size of inventory data has exceeded the total size limit for the resource. /// /// Inventory item type schema version has to match supported versions in the service. /// Check output of GetInventorySchema to see the available schema version /// for each type. ///
public PutInventory ( PutInventoryRequest request ) : PutInventoryResponse
request Amazon.SimpleSystemsManagement.Model.PutInventoryRequest Container for the necessary parameters to execute the PutInventory service method.
Результат PutInventoryResponse
        public PutInventoryResponse PutInventory(PutInventoryRequest request)
        {
            var marshaller = new PutInventoryRequestMarshaller();
            var unmarshaller = PutInventoryResponseUnmarshaller.Instance;

            return Invoke<PutInventoryRequest,PutInventoryResponse>(request, marshaller, unmarshaller);
        }
AmazonSimpleSystemsManagementClient