aws_sdk_emr/client/
describe_step.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 [`DescribeStep`](crate::operation::describe_step::builders::DescribeStepFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cluster_id(impl Into<String>)`](crate::operation::describe_step::builders::DescribeStepFluentBuilder::cluster_id) / [`set_cluster_id(Option<String>)`](crate::operation::describe_step::builders::DescribeStepFluentBuilder::set_cluster_id):<br>required: **true**<br><p>The identifier of the cluster with steps to describe.</p><br>
7    ///   - [`step_id(impl Into<String>)`](crate::operation::describe_step::builders::DescribeStepFluentBuilder::step_id) / [`set_step_id(Option<String>)`](crate::operation::describe_step::builders::DescribeStepFluentBuilder::set_step_id):<br>required: **true**<br><p>The identifier of the step to describe.</p><br>
8    /// - On success, responds with [`DescribeStepOutput`](crate::operation::describe_step::DescribeStepOutput) with field(s):
9    ///   - [`step(Option<Step>)`](crate::operation::describe_step::DescribeStepOutput::step): <p>The step details for the requested step identifier.</p>
10    /// - On failure, responds with [`SdkError<DescribeStepError>`](crate::operation::describe_step::DescribeStepError)
11    pub fn describe_step(&self) -> crate::operation::describe_step::builders::DescribeStepFluentBuilder {
12        crate::operation::describe_step::builders::DescribeStepFluentBuilder::new(self.handle.clone())
13    }
14}