aws_sdk_ssm/client/
put_inventory.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutInventory`](crate::operation::put_inventory::builders::PutInventoryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`PutInventoryOutput`](crate::operation::put_inventory::PutInventoryOutput) with field(s):
    ///   - [`message(Option<String>)`](crate::operation::put_inventory::PutInventoryOutput::message): <p>Information about the request.</p>
    /// - On failure, responds with [`SdkError<PutInventoryError>`](crate::operation::put_inventory::PutInventoryError)
    pub fn put_inventory(&self) -> crate::operation::put_inventory::builders::PutInventoryFluentBuilder {
        crate::operation::put_inventory::builders::PutInventoryFluentBuilder::new(self.handle.clone())
    }
}