1 2 3 4 5 6 7 8 9 10 11 12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CancelRun`](crate::operation::cancel_run::builders::CancelRunFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::cancel_run::builders::CancelRunFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::cancel_run::builders::CancelRunFluentBuilder::set_id): <p>The run's ID.</p>
/// - On success, responds with [`CancelRunOutput`](crate::operation::cancel_run::CancelRunOutput)
/// - On failure, responds with [`SdkError<CancelRunError>`](crate::operation::cancel_run::CancelRunError)
pub fn cancel_run(&self) -> crate::operation::cancel_run::builders::CancelRunFluentBuilder {
crate::operation::cancel_run::builders::CancelRunFluentBuilder::new(self.handle.clone())
}
}