aws_sdk_datapipeline/client/put_pipeline_definition.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutPipelineDefinition`](crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`pipeline_id(impl Into<String>)`](crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder::pipeline_id) / [`set_pipeline_id(Option<String>)`](crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder::set_pipeline_id):<br>required: **true**<br><p>The ID of the pipeline.</p><br>
/// - [`pipeline_objects(PipelineObject)`](crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder::pipeline_objects) / [`set_pipeline_objects(Option<Vec::<PipelineObject>>)`](crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder::set_pipeline_objects):<br>required: **true**<br><p>The objects that define the pipeline. These objects overwrite the existing pipeline definition.</p><br>
/// - [`parameter_objects(ParameterObject)`](crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder::parameter_objects) / [`set_parameter_objects(Option<Vec::<ParameterObject>>)`](crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder::set_parameter_objects):<br>required: **false**<br><p>The parameter objects used with the pipeline.</p><br>
/// - [`parameter_values(ParameterValue)`](crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder::parameter_values) / [`set_parameter_values(Option<Vec::<ParameterValue>>)`](crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder::set_parameter_values):<br>required: **false**<br><p>The parameter values used with the pipeline.</p><br>
/// - On success, responds with [`PutPipelineDefinitionOutput`](crate::operation::put_pipeline_definition::PutPipelineDefinitionOutput) with field(s):
/// - [`validation_errors(Option<Vec::<ValidationError>>)`](crate::operation::put_pipeline_definition::PutPipelineDefinitionOutput::validation_errors): <p>The validation errors that are associated with the objects defined in <code>pipelineObjects</code>.</p>
/// - [`validation_warnings(Option<Vec::<ValidationWarning>>)`](crate::operation::put_pipeline_definition::PutPipelineDefinitionOutput::validation_warnings): <p>The validation warnings that are associated with the objects defined in <code>pipelineObjects</code>.</p>
/// - [`errored(bool)`](crate::operation::put_pipeline_definition::PutPipelineDefinitionOutput::errored): <p>Indicates whether there were validation errors, and the pipeline definition is stored but cannot be activated until you correct the pipeline and call <code>PutPipelineDefinition</code> to commit the corrected pipeline.</p>
/// - On failure, responds with [`SdkError<PutPipelineDefinitionError>`](crate::operation::put_pipeline_definition::PutPipelineDefinitionError)
pub fn put_pipeline_definition(&self) -> crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder {
crate::operation::put_pipeline_definition::builders::PutPipelineDefinitionFluentBuilder::new(self.handle.clone())
}
}