aws_sdk_datapipeline/client/
get_pipeline_definition.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetPipelineDefinition`](crate::operation::get_pipeline_definition::builders::GetPipelineDefinitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`pipeline_id(impl Into<String>)`](crate::operation::get_pipeline_definition::builders::GetPipelineDefinitionFluentBuilder::pipeline_id) / [`set_pipeline_id(Option<String>)`](crate::operation::get_pipeline_definition::builders::GetPipelineDefinitionFluentBuilder::set_pipeline_id):<br>required: **true**<br><p>The ID of the pipeline.</p><br>
    ///   - [`version(impl Into<String>)`](crate::operation::get_pipeline_definition::builders::GetPipelineDefinitionFluentBuilder::version) / [`set_version(Option<String>)`](crate::operation::get_pipeline_definition::builders::GetPipelineDefinitionFluentBuilder::set_version):<br>required: **false**<br><p>The version of the pipeline definition to retrieve. Set this parameter to <code>latest</code> (default) to use the last definition saved to the pipeline or <code>active</code> to use the last definition that was activated.</p><br>
    /// - On success, responds with [`GetPipelineDefinitionOutput`](crate::operation::get_pipeline_definition::GetPipelineDefinitionOutput) with field(s):
    ///   - [`pipeline_objects(Option<Vec::<PipelineObject>>)`](crate::operation::get_pipeline_definition::GetPipelineDefinitionOutput::pipeline_objects): <p>The objects defined in the pipeline.</p>
    ///   - [`parameter_objects(Option<Vec::<ParameterObject>>)`](crate::operation::get_pipeline_definition::GetPipelineDefinitionOutput::parameter_objects): <p>The parameter objects used in the pipeline definition.</p>
    ///   - [`parameter_values(Option<Vec::<ParameterValue>>)`](crate::operation::get_pipeline_definition::GetPipelineDefinitionOutput::parameter_values): <p>The parameter values used in the pipeline definition.</p>
    /// - On failure, responds with [`SdkError<GetPipelineDefinitionError>`](crate::operation::get_pipeline_definition::GetPipelineDefinitionError)
    pub fn get_pipeline_definition(&self) -> crate::operation::get_pipeline_definition::builders::GetPipelineDefinitionFluentBuilder {
        crate::operation::get_pipeline_definition::builders::GetPipelineDefinitionFluentBuilder::new(self.handle.clone())
    }
}