aws_sdk_iotfleetwise/client/
import_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 [`ImportDecoderManifest`](crate::operation::import_decoder_manifest::builders::ImportDecoderManifestFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::import_decoder_manifest::builders::ImportDecoderManifestFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::import_decoder_manifest::builders::ImportDecoderManifestFluentBuilder::set_name):<br>required: **true**<br><p>The name of the decoder manifest to import.</p><br>
7    ///   - [`network_file_definitions(NetworkFileDefinition)`](crate::operation::import_decoder_manifest::builders::ImportDecoderManifestFluentBuilder::network_file_definitions) / [`set_network_file_definitions(Option<Vec::<NetworkFileDefinition>>)`](crate::operation::import_decoder_manifest::builders::ImportDecoderManifestFluentBuilder::set_network_file_definitions):<br>required: **true**<br><p>The file to load into an Amazon Web Services account.</p><br>
8    /// - On success, responds with [`ImportDecoderManifestOutput`](crate::operation::import_decoder_manifest::ImportDecoderManifestOutput) with field(s):
9    ///   - [`name(String)`](crate::operation::import_decoder_manifest::ImportDecoderManifestOutput::name): <p>The name of the imported decoder manifest.</p>
10    ///   - [`arn(String)`](crate::operation::import_decoder_manifest::ImportDecoderManifestOutput::arn): <p>The Amazon Resource Name (ARN) of the decoder manifest that was imported.</p>
11    /// - On failure, responds with [`SdkError<ImportDecoderManifestError>`](crate::operation::import_decoder_manifest::ImportDecoderManifestError)
12    pub fn import_decoder_manifest(&self) -> crate::operation::import_decoder_manifest::builders::ImportDecoderManifestFluentBuilder {
13        crate::operation::import_decoder_manifest::builders::ImportDecoderManifestFluentBuilder::new(self.handle.clone())
14    }
15}