aws_sdk_ssm/client/
put_inventory.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`PutInventory`](crate::operation::put_inventory::builders::PutInventoryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::put_inventory::builders::PutInventoryFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::put_inventory::builders::PutInventoryFluentBuilder::set_instance_id):<br>required: **true**<br><p>An managed node ID where you want to add or update inventory items.</p><br>
7    ///   - [`items(InventoryItem)`](crate::operation::put_inventory::builders::PutInventoryFluentBuilder::items) / [`set_items(Option<Vec::<InventoryItem>>)`](crate::operation::put_inventory::builders::PutInventoryFluentBuilder::set_items):<br>required: **true**<br><p>The inventory items that you want to add or update on managed nodes.</p><br>
8    /// - On success, responds with [`PutInventoryOutput`](crate::operation::put_inventory::PutInventoryOutput) with field(s):
9    ///   - [`message(Option<String>)`](crate::operation::put_inventory::PutInventoryOutput::message): <p>Information about the request.</p>
10    /// - On failure, responds with [`SdkError<PutInventoryError>`](crate::operation::put_inventory::PutInventoryError)
11    pub fn put_inventory(&self) -> crate::operation::put_inventory::builders::PutInventoryFluentBuilder {
12        crate::operation::put_inventory::builders::PutInventoryFluentBuilder::new(self.handle.clone())
13    }
14}