aws_sdk_omics/client/
cancel_run.rs

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