aws_sdk_iot/client/update_command.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 [`UpdateCommand`](crate::operation::update_command::builders::UpdateCommandFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`command_id(impl Into<String>)`](crate::operation::update_command::builders::UpdateCommandFluentBuilder::command_id) / [`set_command_id(Option<String>)`](crate::operation::update_command::builders::UpdateCommandFluentBuilder::set_command_id):<br>required: **true**<br><p>The unique identifier of the command to be updated.</p><br>
7 /// - [`display_name(impl Into<String>)`](crate::operation::update_command::builders::UpdateCommandFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_command::builders::UpdateCommandFluentBuilder::set_display_name):<br>required: **false**<br><p>The new user-friendly name to use in the console for the command.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_command::builders::UpdateCommandFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_command::builders::UpdateCommandFluentBuilder::set_description):<br>required: **false**<br><p>A short text description of the command.</p><br>
9 /// - [`deprecated(bool)`](crate::operation::update_command::builders::UpdateCommandFluentBuilder::deprecated) / [`set_deprecated(Option<bool>)`](crate::operation::update_command::builders::UpdateCommandFluentBuilder::set_deprecated):<br>required: **false**<br><p>A boolean that you can use to specify whether to deprecate a command.</p><br>
10 /// - On success, responds with [`UpdateCommandOutput`](crate::operation::update_command::UpdateCommandOutput) with field(s):
11 /// - [`command_id(Option<String>)`](crate::operation::update_command::UpdateCommandOutput::command_id): <p>The unique identifier of the command.</p>
12 /// - [`display_name(Option<String>)`](crate::operation::update_command::UpdateCommandOutput::display_name): <p>The updated user-friendly display name in the console for the command.</p>
13 /// - [`description(Option<String>)`](crate::operation::update_command::UpdateCommandOutput::description): <p>The updated text description of the command.</p>
14 /// - [`deprecated(Option<bool>)`](crate::operation::update_command::UpdateCommandOutput::deprecated): <p>The boolean that indicates whether the command was deprecated.</p>
15 /// - [`last_updated_at(Option<DateTime>)`](crate::operation::update_command::UpdateCommandOutput::last_updated_at): <p>The date and time (epoch timestamp in seconds) when the command was last updated.</p>
16 /// - On failure, responds with [`SdkError<UpdateCommandError>`](crate::operation::update_command::UpdateCommandError)
17 pub fn update_command(&self) -> crate::operation::update_command::builders::UpdateCommandFluentBuilder {
18 crate::operation::update_command::builders::UpdateCommandFluentBuilder::new(self.handle.clone())
19 }
20}