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 [`GetPackage`](crate::operation::get_package::builders::GetPackageFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`package_name(impl Into<String>)`](crate::operation::get_package::builders::GetPackageFluentBuilder::package_name) / [`set_package_name(Option<String>)`](crate::operation::get_package::builders::GetPackageFluentBuilder::set_package_name):<br>required: **true**<br><p>The name of the target software package.</p><br>
    /// - On success, responds with [`GetPackageOutput`](crate::operation::get_package::GetPackageOutput) with field(s):
    ///   - [`package_name(Option<String>)`](crate::operation::get_package::GetPackageOutput::package_name): <p>The name of the software package.</p>
    ///   - [`package_arn(Option<String>)`](crate::operation::get_package::GetPackageOutput::package_arn): <p>The ARN for the package.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_package::GetPackageOutput::description): <p>The package description.</p>
    ///   - [`default_version_name(Option<String>)`](crate::operation::get_package::GetPackageOutput::default_version_name): <p>The name of the default package version.</p>
    ///   - [`creation_date(Option<DateTime>)`](crate::operation::get_package::GetPackageOutput::creation_date): <p>The date the package was created.</p>
    ///   - [`last_modified_date(Option<DateTime>)`](crate::operation::get_package::GetPackageOutput::last_modified_date): <p>The date when the package was last updated.</p>
    /// - On failure, responds with [`SdkError<GetPackageError>`](crate::operation::get_package::GetPackageError)
    pub fn get_package(&self) -> crate::operation::get_package::builders::GetPackageFluentBuilder {
        crate::operation::get_package::builders::GetPackageFluentBuilder::new(self.handle.clone())
    }
}