aws_sdk_iotmanagedintegrations/client/
get_ota_task_configuration.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 [`GetOtaTaskConfiguration`](crate::operation::get_ota_task_configuration::builders::GetOtaTaskConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::get_ota_task_configuration::builders::GetOtaTaskConfigurationFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_ota_task_configuration::builders::GetOtaTaskConfigurationFluentBuilder::set_identifier):<br>required: **true**<br><p>The over-the-air (OTA) task configuration id.</p><br>
7    /// - On success, responds with [`GetOtaTaskConfigurationOutput`](crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationOutput) with field(s):
8    ///   - [`task_configuration_id(Option<String>)`](crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationOutput::task_configuration_id): <p>The over-the-air (OTA) task configuration id.</p>
9    ///   - [`name(Option<String>)`](crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationOutput::name): <p>The name of the over-the-air (OTA) task configuration.</p>
10    ///   - [`push_config(Option<PushConfig>)`](crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationOutput::push_config): <p>Describes the type of configuration used for the over-the-air (OTA) task.</p>
11    ///   - [`description(Option<String>)`](crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationOutput::description): <p>A description of the over-the-air (OTA) task configuration.</p>
12    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationOutput::created_at): <p>The timestamp value of when the over-the-air (OTA) task configuration was created at.</p>
13    /// - On failure, responds with [`SdkError<GetOtaTaskConfigurationError>`](crate::operation::get_ota_task_configuration::GetOtaTaskConfigurationError)
14    pub fn get_ota_task_configuration(&self) -> crate::operation::get_ota_task_configuration::builders::GetOtaTaskConfigurationFluentBuilder {
15        crate::operation::get_ota_task_configuration::builders::GetOtaTaskConfigurationFluentBuilder::new(self.handle.clone())
16    }
17}