1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeReleaseLabel`](crate::operation::describe_release_label::builders::DescribeReleaseLabelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`release_label(impl Into<String>)`](crate::operation::describe_release_label::builders::DescribeReleaseLabelFluentBuilder::release_label) / [`set_release_label(Option<String>)`](crate::operation::describe_release_label::builders::DescribeReleaseLabelFluentBuilder::set_release_label):<br>required: **false**<br><p>The target release label to be described.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_release_label::builders::DescribeReleaseLabelFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_release_label::builders::DescribeReleaseLabelFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token. Reserved for future use. Currently set to null.</p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_release_label::builders::DescribeReleaseLabelFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_release_label::builders::DescribeReleaseLabelFluentBuilder::set_max_results):<br>required: **false**<br><p>Reserved for future use. Currently set to null.</p><br>
    /// - On success, responds with [`DescribeReleaseLabelOutput`](crate::operation::describe_release_label::DescribeReleaseLabelOutput) with field(s):
    ///   - [`release_label(Option<String>)`](crate::operation::describe_release_label::DescribeReleaseLabelOutput::release_label): <p>The target release label described in the response.</p>
    ///   - [`applications(Option<Vec::<SimplifiedApplication>>)`](crate::operation::describe_release_label::DescribeReleaseLabelOutput::applications): <p>The list of applications available for the target release label. <code>Name</code> is the name of the application. <code>Version</code> is the concise version of the application.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_release_label::DescribeReleaseLabelOutput::next_token): <p>The pagination token. Reserved for future use. Currently set to null.</p>
    ///   - [`available_os_releases(Option<Vec::<OsRelease>>)`](crate::operation::describe_release_label::DescribeReleaseLabelOutput::available_os_releases): <p>The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in <a href="https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-al2.html"> <i>Amazon Linux 2 Release Notes</i> </a>. For example, <a href="https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html">2.0.20220218.1</a>.</p>
    /// - On failure, responds with [`SdkError<DescribeReleaseLabelError>`](crate::operation::describe_release_label::DescribeReleaseLabelError)
    pub fn describe_release_label(&self) -> crate::operation::describe_release_label::builders::DescribeReleaseLabelFluentBuilder {
        crate::operation::describe_release_label::builders::DescribeReleaseLabelFluentBuilder::new(self.handle.clone())
    }
}