1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AddJobFlowSteps`](crate::operation::add_job_flow_steps::builders::AddJobFlowStepsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_flow_id(impl Into<String>)`](crate::operation::add_job_flow_steps::builders::AddJobFlowStepsFluentBuilder::job_flow_id) / [`set_job_flow_id(Option<String>)`](crate::operation::add_job_flow_steps::builders::AddJobFlowStepsFluentBuilder::set_job_flow_id):<br>required: **true**<br><p>A string that uniquely identifies the job flow. This identifier is returned by <code>RunJobFlow</code> and can also be obtained from <code>ListClusters</code>.</p><br>
    ///   - [`steps(StepConfig)`](crate::operation::add_job_flow_steps::builders::AddJobFlowStepsFluentBuilder::steps) / [`set_steps(Option<Vec::<StepConfig>>)`](crate::operation::add_job_flow_steps::builders::AddJobFlowStepsFluentBuilder::set_steps):<br>required: **true**<br><p>A list of <code>StepConfig</code> to be executed by the job flow.</p><br>
    ///   - [`execution_role_arn(impl Into<String>)`](crate::operation::add_job_flow_steps::builders::AddJobFlowStepsFluentBuilder::execution_role_arn) / [`set_execution_role_arn(Option<String>)`](crate::operation::add_job_flow_steps::builders::AddJobFlowStepsFluentBuilder::set_execution_role_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: <code>arn:partition:service:region:account:resource</code>.</p> <p>For example, <code>arn:aws:IAM::1234567890:role/ReadOnly</code> is a correctly formatted runtime role ARN.</p><br>
    /// - On success, responds with [`AddJobFlowStepsOutput`](crate::operation::add_job_flow_steps::AddJobFlowStepsOutput) with field(s):
    ///   - [`step_ids(Option<Vec::<String>>)`](crate::operation::add_job_flow_steps::AddJobFlowStepsOutput::step_ids): <p>The identifiers of the list of steps added to the job flow.</p>
    /// - On failure, responds with [`SdkError<AddJobFlowStepsError>`](crate::operation::add_job_flow_steps::AddJobFlowStepsError)
    pub fn add_job_flow_steps(&self) -> crate::operation::add_job_flow_steps::builders::AddJobFlowStepsFluentBuilder {
        crate::operation::add_job_flow_steps::builders::AddJobFlowStepsFluentBuilder::new(self.handle.clone())
    }
}