aws_sdk_iotanalytics/client/
start_pipeline_reprocessing.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 [`StartPipelineReprocessing`](crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`pipeline_name(impl Into<String>)`](crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder::pipeline_name) / [`set_pipeline_name(Option<String>)`](crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder::set_pipeline_name):<br>required: **true**<br><p>The name of the pipeline on which to start reprocessing.</p><br>
7    ///   - [`start_time(DateTime)`](crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder::set_start_time):<br>required: **false**<br><p>The start time (inclusive) of raw message data that is reprocessed.</p> <p>If you specify a value for the <code>startTime</code> parameter, you must not use the <code>channelMessages</code> object.</p><br>
8    ///   - [`end_time(DateTime)`](crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder::set_end_time):<br>required: **false**<br><p>The end time (exclusive) of raw message data that is reprocessed.</p> <p>If you specify a value for the <code>endTime</code> parameter, you must not use the <code>channelMessages</code> object.</p><br>
9    ///   - [`channel_messages(ChannelMessages)`](crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder::channel_messages) / [`set_channel_messages(Option<ChannelMessages>)`](crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder::set_channel_messages):<br>required: **false**<br><p>Specifies one or more sets of channel messages that you want to reprocess.</p> <p>If you use the <code>channelMessages</code> object, you must not specify a value for <code>startTime</code> and <code>endTime</code>.</p><br>
10    /// - On success, responds with [`StartPipelineReprocessingOutput`](crate::operation::start_pipeline_reprocessing::StartPipelineReprocessingOutput) with field(s):
11    ///   - [`reprocessing_id(Option<String>)`](crate::operation::start_pipeline_reprocessing::StartPipelineReprocessingOutput::reprocessing_id): <p>The ID of the pipeline reprocessing activity that was started.</p>
12    /// - On failure, responds with [`SdkError<StartPipelineReprocessingError>`](crate::operation::start_pipeline_reprocessing::StartPipelineReprocessingError)
13    pub fn start_pipeline_reprocessing(&self) -> crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder {
14        crate::operation::start_pipeline_reprocessing::builders::StartPipelineReprocessingFluentBuilder::new(self.handle.clone())
15    }
16}