aws_sdk_iotmanagedintegrations/client/
update_ota_task.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 [`UpdateOtaTask`](crate::operation::update_ota_task::builders::UpdateOtaTaskFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::update_ota_task::builders::UpdateOtaTaskFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_ota_task::builders::UpdateOtaTaskFluentBuilder::set_identifier):<br>required: **true**<br><p>The over-the-air (OTA) task id.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::update_ota_task::builders::UpdateOtaTaskFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_ota_task::builders::UpdateOtaTaskFluentBuilder::set_description):<br>required: **false**<br><p>The description of the over-the-air (OTA) task.</p><br>
8    ///   - [`task_configuration_id(impl Into<String>)`](crate::operation::update_ota_task::builders::UpdateOtaTaskFluentBuilder::task_configuration_id) / [`set_task_configuration_id(Option<String>)`](crate::operation::update_ota_task::builders::UpdateOtaTaskFluentBuilder::set_task_configuration_id):<br>required: **false**<br><p>The identifier for the over-the-air (OTA) task configuration.</p><br>
9    /// - On success, responds with [`UpdateOtaTaskOutput`](crate::operation::update_ota_task::UpdateOtaTaskOutput)
10    /// - On failure, responds with [`SdkError<UpdateOtaTaskError>`](crate::operation::update_ota_task::UpdateOtaTaskError)
11    pub fn update_ota_task(&self) -> crate::operation::update_ota_task::builders::UpdateOtaTaskFluentBuilder {
12        crate::operation::update_ota_task::builders::UpdateOtaTaskFluentBuilder::new(self.handle.clone())
13    }
14}