aws_sdk_datapipeline/client/
activate_pipeline.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ActivatePipeline`](crate::operation::activate_pipeline::builders::ActivatePipelineFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`pipeline_id(impl Into<String>)`](crate::operation::activate_pipeline::builders::ActivatePipelineFluentBuilder::pipeline_id) / [`set_pipeline_id(Option<String>)`](crate::operation::activate_pipeline::builders::ActivatePipelineFluentBuilder::set_pipeline_id):<br>required: **true**<br><p>The ID of the pipeline.</p><br>
    ///   - [`parameter_values(ParameterValue)`](crate::operation::activate_pipeline::builders::ActivatePipelineFluentBuilder::parameter_values) / [`set_parameter_values(Option<Vec::<ParameterValue>>)`](crate::operation::activate_pipeline::builders::ActivatePipelineFluentBuilder::set_parameter_values):<br>required: **false**<br><p>A list of parameter values to pass to the pipeline at activation.</p><br>
    ///   - [`start_timestamp(DateTime)`](crate::operation::activate_pipeline::builders::ActivatePipelineFluentBuilder::start_timestamp) / [`set_start_timestamp(Option<DateTime>)`](crate::operation::activate_pipeline::builders::ActivatePipelineFluentBuilder::set_start_timestamp):<br>required: **false**<br><p>The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.</p><br>
    /// - On success, responds with [`ActivatePipelineOutput`](crate::operation::activate_pipeline::ActivatePipelineOutput)
    /// - On failure, responds with [`SdkError<ActivatePipelineError>`](crate::operation::activate_pipeline::ActivatePipelineError)
    pub fn activate_pipeline(&self) -> crate::operation::activate_pipeline::builders::ActivatePipelineFluentBuilder {
        crate::operation::activate_pipeline::builders::ActivatePipelineFluentBuilder::new(self.handle.clone())
    }
}