1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetLicense`](crate::operation::get_license::builders::GetLicenseFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`license_arn(impl Into<String>)`](crate::operation::get_license::builders::GetLicenseFluentBuilder::license_arn) / [`set_license_arn(Option<String>)`](crate::operation::get_license::builders::GetLicenseFluentBuilder::set_license_arn): <p>Amazon Resource Name (ARN) of the license.</p>
    ///   - [`version(impl Into<String>)`](crate::operation::get_license::builders::GetLicenseFluentBuilder::version) / [`set_version(Option<String>)`](crate::operation::get_license::builders::GetLicenseFluentBuilder::set_version): <p>License version.</p>
    /// - On success, responds with [`GetLicenseOutput`](crate::operation::get_license::GetLicenseOutput) with field(s):
    ///   - [`license(Option<License>)`](crate::operation::get_license::GetLicenseOutput::license): <p>License details.</p>
    /// - On failure, responds with [`SdkError<GetLicenseError>`](crate::operation::get_license::GetLicenseError)
    pub fn get_license(&self) -> crate::operation::get_license::builders::GetLicenseFluentBuilder {
        crate::operation::get_license::builders::GetLicenseFluentBuilder::new(self.handle.clone())
    }
}