pub struct Builder { /* private fields */ }
Expand description

Implementations§

The name of the decoder manifest to update.

Examples found in repository?
src/client.rs (line 5256)
5255
5256
5257
5258
        pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.name(input.into());
            self
        }

The name of the decoder manifest to update.

Examples found in repository?
src/client.rs (line 5261)
5260
5261
5262
5263
        pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_name(input);
            self
        }

A brief description of the decoder manifest to update.

Examples found in repository?
src/client.rs (line 5266)
5265
5266
5267
5268
        pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.description(input.into());
            self
        }

A brief description of the decoder manifest to update.

Examples found in repository?
src/client.rs (line 5271)
5270
5271
5272
5273
        pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_description(input);
            self
        }

Appends an item to signal_decoders_to_add.

To override the contents of this collection use set_signal_decoders_to_add.

A list of information about decoding additional signals to add to the decoder manifest.

Examples found in repository?
src/client.rs (line 5280)
5279
5280
5281
5282
        pub fn signal_decoders_to_add(mut self, input: crate::model::SignalDecoder) -> Self {
            self.inner = self.inner.signal_decoders_to_add(input);
            self
        }

A list of information about decoding additional signals to add to the decoder manifest.

Examples found in repository?
src/client.rs (line 5288)
5284
5285
5286
5287
5288
5289
5290
        pub fn set_signal_decoders_to_add(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::SignalDecoder>>,
        ) -> Self {
            self.inner = self.inner.set_signal_decoders_to_add(input);
            self
        }

Appends an item to signal_decoders_to_update.

To override the contents of this collection use set_signal_decoders_to_update.

A list of updated information about decoding signals to update in the decoder manifest.

Examples found in repository?
src/client.rs (line 5297)
5296
5297
5298
5299
        pub fn signal_decoders_to_update(mut self, input: crate::model::SignalDecoder) -> Self {
            self.inner = self.inner.signal_decoders_to_update(input);
            self
        }

A list of updated information about decoding signals to update in the decoder manifest.

Examples found in repository?
src/client.rs (line 5305)
5301
5302
5303
5304
5305
5306
5307
        pub fn set_signal_decoders_to_update(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::SignalDecoder>>,
        ) -> Self {
            self.inner = self.inner.set_signal_decoders_to_update(input);
            self
        }

Appends an item to signal_decoders_to_remove.

To override the contents of this collection use set_signal_decoders_to_remove.

A list of signal decoders to remove from the decoder manifest.

Examples found in repository?
src/client.rs (line 5314)
5313
5314
5315
5316
        pub fn signal_decoders_to_remove(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.signal_decoders_to_remove(input.into());
            self
        }

A list of signal decoders to remove from the decoder manifest.

Examples found in repository?
src/client.rs (line 5322)
5318
5319
5320
5321
5322
5323
5324
        pub fn set_signal_decoders_to_remove(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_signal_decoders_to_remove(input);
            self
        }

Appends an item to network_interfaces_to_add.

To override the contents of this collection use set_network_interfaces_to_add.

A list of information about the network interfaces to add to the decoder manifest.

Examples found in repository?
src/client.rs (line 5331)
5330
5331
5332
5333
        pub fn network_interfaces_to_add(mut self, input: crate::model::NetworkInterface) -> Self {
            self.inner = self.inner.network_interfaces_to_add(input);
            self
        }

A list of information about the network interfaces to add to the decoder manifest.

Examples found in repository?
src/client.rs (line 5339)
5335
5336
5337
5338
5339
5340
5341
        pub fn set_network_interfaces_to_add(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::NetworkInterface>>,
        ) -> Self {
            self.inner = self.inner.set_network_interfaces_to_add(input);
            self
        }

Appends an item to network_interfaces_to_update.

To override the contents of this collection use set_network_interfaces_to_update.

A list of information about the network interfaces to update in the decoder manifest.

Examples found in repository?
src/client.rs (line 5351)
5347
5348
5349
5350
5351
5352
5353
        pub fn network_interfaces_to_update(
            mut self,
            input: crate::model::NetworkInterface,
        ) -> Self {
            self.inner = self.inner.network_interfaces_to_update(input);
            self
        }

A list of information about the network interfaces to update in the decoder manifest.

Examples found in repository?
src/client.rs (line 5359)
5355
5356
5357
5358
5359
5360
5361
        pub fn set_network_interfaces_to_update(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::NetworkInterface>>,
        ) -> Self {
            self.inner = self.inner.set_network_interfaces_to_update(input);
            self
        }

Appends an item to network_interfaces_to_remove.

To override the contents of this collection use set_network_interfaces_to_remove.

A list of network interfaces to remove from the decoder manifest.

Examples found in repository?
src/client.rs (line 5371)
5367
5368
5369
5370
5371
5372
5373
        pub fn network_interfaces_to_remove(
            mut self,
            input: impl Into<std::string::String>,
        ) -> Self {
            self.inner = self.inner.network_interfaces_to_remove(input.into());
            self
        }

A list of network interfaces to remove from the decoder manifest.

Examples found in repository?
src/client.rs (line 5379)
5375
5376
5377
5378
5379
5380
5381
        pub fn set_network_interfaces_to_remove(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_network_interfaces_to_remove(input);
            self
        }

The state of the decoder manifest. If the status is ACTIVE, the decoder manifest can't be edited. If the status is DRAFT, you can edit the decoder manifest.

Examples found in repository?
src/client.rs (line 5384)
5383
5384
5385
5386
        pub fn status(mut self, input: crate::model::ManifestStatus) -> Self {
            self.inner = self.inner.status(input);
            self
        }

The state of the decoder manifest. If the status is ACTIVE, the decoder manifest can't be edited. If the status is DRAFT, you can edit the decoder manifest.

Examples found in repository?
src/client.rs (line 5392)
5388
5389
5390
5391
5392
5393
5394
        pub fn set_status(
            mut self,
            input: std::option::Option<crate::model::ManifestStatus>,
        ) -> Self {
            self.inner = self.inner.set_status(input);
            self
        }

Consumes the builder and constructs a UpdateDecoderManifestInput.

Examples found in repository?
src/client.rs (line 5223)
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::UpdateDecoderManifest,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::UpdateDecoderManifestError>,
        > {
            let handle = self.handle.clone();
            let operation = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            Ok(crate::operation::customize::CustomizableOperation { handle, operation })
        }

        /// Sends the request and returns the response.
        ///
        /// If an error occurs, an `SdkError` will be returned with additional details that
        /// can be matched against.
        ///
        /// By default, any retryable failures will be retried twice. Retry behavior
        /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
        /// set when configuring the client.
        pub async fn send(
            self,
        ) -> std::result::Result<
            crate::output::UpdateDecoderManifestOutput,
            aws_smithy_http::result::SdkError<crate::error::UpdateDecoderManifestError>,
        > {
            let op = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&self.handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            self.handle.client.call(op).await
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more