aws_sdk_iotfleetwise/client/update_model_manifest.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 [`UpdateModelManifest`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::set_name):<br>required: **true**<br><p>The name of the vehicle model to update.</p><br>
7 /// - [`description(impl Into<String>)`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::set_description):<br>required: **false**<br><p>A brief description of the vehicle model.</p><br>
8 /// - [`nodes_to_add(impl Into<String>)`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::nodes_to_add) / [`set_nodes_to_add(Option<Vec::<String>>)`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::set_nodes_to_add):<br>required: **false**<br><p>A list of <code>fullyQualifiedName</code> of nodes, which are a general abstraction of signals, to add to the vehicle model.</p><br>
9 /// - [`nodes_to_remove(impl Into<String>)`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::nodes_to_remove) / [`set_nodes_to_remove(Option<Vec::<String>>)`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::set_nodes_to_remove):<br>required: **false**<br><p>A list of <code>fullyQualifiedName</code> of nodes, which are a general abstraction of signals, to remove from the vehicle model.</p><br>
10 /// - [`status(ManifestStatus)`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::status) / [`set_status(Option<ManifestStatus>)`](crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::set_status):<br>required: **false**<br><p>The state of the vehicle model. If the status is <code>ACTIVE</code>, the vehicle model can't be edited. If the status is <code>DRAFT</code>, you can edit the vehicle model.</p><br>
11 /// - On success, responds with [`UpdateModelManifestOutput`](crate::operation::update_model_manifest::UpdateModelManifestOutput) with field(s):
12 /// - [`name(String)`](crate::operation::update_model_manifest::UpdateModelManifestOutput::name): <p>The name of the updated vehicle model.</p>
13 /// - [`arn(String)`](crate::operation::update_model_manifest::UpdateModelManifestOutput::arn): <p>The Amazon Resource Name (ARN) of the updated vehicle model.</p>
14 /// - On failure, responds with [`SdkError<UpdateModelManifestError>`](crate::operation::update_model_manifest::UpdateModelManifestError)
15 pub fn update_model_manifest(&self) -> crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder {
16 crate::operation::update_model_manifest::builders::UpdateModelManifestFluentBuilder::new(self.handle.clone())
17 }
18}