// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RollbackStage`](crate::operation::rollback_stage::builders::RollbackStageFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`pipeline_name(impl Into<String>)`](crate::operation::rollback_stage::builders::RollbackStageFluentBuilder::pipeline_name) / [`set_pipeline_name(Option<String>)`](crate::operation::rollback_stage::builders::RollbackStageFluentBuilder::set_pipeline_name):<br>required: **true**<br><p>The name of the pipeline for which the stage will be rolled back.</p><br>
/// - [`stage_name(impl Into<String>)`](crate::operation::rollback_stage::builders::RollbackStageFluentBuilder::stage_name) / [`set_stage_name(Option<String>)`](crate::operation::rollback_stage::builders::RollbackStageFluentBuilder::set_stage_name):<br>required: **true**<br><p>The name of the stage in the pipeline to be rolled back.</p><br>
/// - [`target_pipeline_execution_id(impl Into<String>)`](crate::operation::rollback_stage::builders::RollbackStageFluentBuilder::target_pipeline_execution_id) / [`set_target_pipeline_execution_id(Option<String>)`](crate::operation::rollback_stage::builders::RollbackStageFluentBuilder::set_target_pipeline_execution_id):<br>required: **true**<br><p>The pipeline execution ID for the stage to be rolled back to.</p><br>
/// - On success, responds with [`RollbackStageOutput`](crate::operation::rollback_stage::RollbackStageOutput) with field(s):
/// - [`pipeline_execution_id(String)`](crate::operation::rollback_stage::RollbackStageOutput::pipeline_execution_id): <p>The execution ID of the pipeline execution for the stage that has been rolled back.</p>
/// - On failure, responds with [`SdkError<RollbackStageError>`](crate::operation::rollback_stage::RollbackStageError)
pub fn rollback_stage(&self) -> crate::operation::rollback_stage::builders::RollbackStageFluentBuilder {
crate::operation::rollback_stage::builders::RollbackStageFluentBuilder::new(self.handle.clone())
}
}