aws_sdk_comprehend/client/
start_flywheel_iteration.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 [`StartFlywheelIteration`](crate::operation::start_flywheel_iteration::builders::StartFlywheelIterationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`flywheel_arn(impl Into<String>)`](crate::operation::start_flywheel_iteration::builders::StartFlywheelIterationFluentBuilder::flywheel_arn) / [`set_flywheel_arn(Option<String>)`](crate::operation::start_flywheel_iteration::builders::StartFlywheelIterationFluentBuilder::set_flywheel_arn):<br>required: **true**<br><p>The ARN of the flywheel.</p><br>
7    ///   - [`client_request_token(impl Into<String>)`](crate::operation::start_flywheel_iteration::builders::StartFlywheelIterationFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::start_flywheel_iteration::builders::StartFlywheelIterationFluentBuilder::set_client_request_token):<br>required: **false**<br><p>A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.</p><br>
8    /// - On success, responds with [`StartFlywheelIterationOutput`](crate::operation::start_flywheel_iteration::StartFlywheelIterationOutput) with field(s):
9    ///   - [`flywheel_arn(Option<String>)`](crate::operation::start_flywheel_iteration::StartFlywheelIterationOutput::flywheel_arn): <p></p>
10    ///   - [`flywheel_iteration_id(Option<String>)`](crate::operation::start_flywheel_iteration::StartFlywheelIterationOutput::flywheel_iteration_id): <p></p>
11    /// - On failure, responds with [`SdkError<StartFlywheelIterationError>`](crate::operation::start_flywheel_iteration::StartFlywheelIterationError)
12    pub fn start_flywheel_iteration(&self) -> crate::operation::start_flywheel_iteration::builders::StartFlywheelIterationFluentBuilder {
13        crate::operation::start_flywheel_iteration::builders::StartFlywheelIterationFluentBuilder::new(self.handle.clone())
14    }
15}