aws_sdk_iotfleetwise/client/
update_decoder_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 [`UpdateDecoderManifest`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::set_name):<br>required: **true**<br><p>The name of the decoder manifest to update.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::set_description):<br>required: **false**<br><p>A brief description of the decoder manifest to update.</p><br>
8    ///   - [`signal_decoders_to_add(SignalDecoder)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::signal_decoders_to_add) / [`set_signal_decoders_to_add(Option<Vec::<SignalDecoder>>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::set_signal_decoders_to_add):<br>required: **false**<br><p>A list of information about decoding additional signals to add to the decoder manifest.</p><br>
9    ///   - [`signal_decoders_to_update(SignalDecoder)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::signal_decoders_to_update) / [`set_signal_decoders_to_update(Option<Vec::<SignalDecoder>>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::set_signal_decoders_to_update):<br>required: **false**<br><p>A list of updated information about decoding signals to update in the decoder manifest.</p><br>
10    ///   - [`signal_decoders_to_remove(impl Into<String>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::signal_decoders_to_remove) / [`set_signal_decoders_to_remove(Option<Vec::<String>>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::set_signal_decoders_to_remove):<br>required: **false**<br><p>A list of signal decoders to remove from the decoder manifest.</p><br>
11    ///   - [`network_interfaces_to_add(NetworkInterface)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::network_interfaces_to_add) / [`set_network_interfaces_to_add(Option<Vec::<NetworkInterface>>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::set_network_interfaces_to_add):<br>required: **false**<br><p>A list of information about the network interfaces to add to the decoder manifest.</p><br>
12    ///   - [`network_interfaces_to_update(NetworkInterface)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::network_interfaces_to_update) / [`set_network_interfaces_to_update(Option<Vec::<NetworkInterface>>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::set_network_interfaces_to_update):<br>required: **false**<br><p>A list of information about the network interfaces to update in the decoder manifest.</p><br>
13    ///   - [`network_interfaces_to_remove(impl Into<String>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::network_interfaces_to_remove) / [`set_network_interfaces_to_remove(Option<Vec::<String>>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::set_network_interfaces_to_remove):<br>required: **false**<br><p>A list of network interfaces to remove from the decoder manifest.</p><br>
14    ///   - [`status(ManifestStatus)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::status) / [`set_status(Option<ManifestStatus>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::set_status):<br>required: **false**<br><p>The state of the decoder manifest. If the status is <code>ACTIVE</code>, the decoder manifest can't be edited. If the status is <code>DRAFT</code>, you can edit the decoder manifest.</p><br>
15    ///   - [`default_for_unmapped_signals(DefaultForUnmappedSignalsType)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::default_for_unmapped_signals) / [`set_default_for_unmapped_signals(Option<DefaultForUnmappedSignalsType>)`](crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::set_default_for_unmapped_signals):<br>required: **false**<br><p>Use default decoders for all unmapped signals in the model. You don't need to provide any detailed decoding information.</p><important>  <p>Access to certain Amazon Web Services IoT FleetWise features is currently gated. For more information, see <a href="https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/fleetwise-regions.html">Amazon Web Services Region and feature availability</a> in the <i>Amazon Web Services IoT FleetWise Developer Guide</i>.</p> </important><br>
16    /// - On success, responds with [`UpdateDecoderManifestOutput`](crate::operation::update_decoder_manifest::UpdateDecoderManifestOutput) with field(s):
17    ///   - [`name(String)`](crate::operation::update_decoder_manifest::UpdateDecoderManifestOutput::name): <p>The name of the updated decoder manifest.</p>
18    ///   - [`arn(String)`](crate::operation::update_decoder_manifest::UpdateDecoderManifestOutput::arn): <p>The Amazon Resource Name (ARN) of the updated decoder manifest.</p>
19    /// - On failure, responds with [`SdkError<UpdateDecoderManifestError>`](crate::operation::update_decoder_manifest::UpdateDecoderManifestError)
20    pub fn update_decoder_manifest(&self) -> crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder {
21        crate::operation::update_decoder_manifest::builders::UpdateDecoderManifestFluentBuilder::new(self.handle.clone())
22    }
23}