aws_sdk_serverlessapplicationrepository/client/get_application.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 [`GetApplication`](crate::operation::get_application::builders::GetApplicationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_id(impl Into<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::set_application_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the application.</p><br>
7 /// - [`semantic_version(impl Into<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::semantic_version) / [`set_semantic_version(Option<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::set_semantic_version):<br>required: **false**<br><p>The semantic version of the application to get.</p><br>
8 /// - On success, responds with [`GetApplicationOutput`](crate::operation::get_application::GetApplicationOutput) with field(s):
9 /// - [`application_id(Option<String>)`](crate::operation::get_application::GetApplicationOutput::application_id): <p>The application Amazon Resource Name (ARN).</p>
10 /// - [`author(Option<String>)`](crate::operation::get_application::GetApplicationOutput::author): <p>The name of the author publishing the app.</p> <p>Minimum length=1. Maximum length=127.</p> <p>Pattern "^\[a-z0-9\]((\[a-z0-9\]|-(?!-))*\[a-z0-9\])?$";</p>
11 /// - [`creation_time(Option<String>)`](crate::operation::get_application::GetApplicationOutput::creation_time): <p>The date and time this resource was created.</p>
12 /// - [`description(Option<String>)`](crate::operation::get_application::GetApplicationOutput::description): <p>The description of the application.</p> <p>Minimum length=1. Maximum length=256</p>
13 /// - [`home_page_url(Option<String>)`](crate::operation::get_application::GetApplicationOutput::home_page_url): <p>A URL with more information about the application, for example the location of your GitHub repository for the application.</p>
14 /// - [`is_verified_author(Option<bool>)`](crate::operation::get_application::GetApplicationOutput::is_verified_author): <p>Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.</p>
15 /// - [`labels(Option<Vec::<String>>)`](crate::operation::get_application::GetApplicationOutput::labels): <p>Labels to improve discovery of apps in search results.</p> <p>Minimum length=1. Maximum length=127. Maximum number of labels: 10</p> <p>Pattern: "^\[a-zA-Z0-9+\\-_:\\/@\]+$";</p>
16 /// - [`license_url(Option<String>)`](crate::operation::get_application::GetApplicationOutput::license_url): <p>A link to a license file of the app that matches the spdxLicenseID value of your application.</p> <p>Maximum size 5 MB</p>
17 /// - [`name(Option<String>)`](crate::operation::get_application::GetApplicationOutput::name): <p>The name of the application.</p> <p>Minimum length=1. Maximum length=140</p> <p>Pattern: "\[a-zA-Z0-9\\-\]+";</p>
18 /// - [`readme_url(Option<String>)`](crate::operation::get_application::GetApplicationOutput::readme_url): <p>A link to the readme file in Markdown language that contains a more detailed description of the application and how it works.</p> <p>Maximum size 5 MB</p>
19 /// - [`spdx_license_id(Option<String>)`](crate::operation::get_application::GetApplicationOutput::spdx_license_id): <p>A valid identifier from https://spdx.org/licenses/.</p>
20 /// - [`verified_author_url(Option<String>)`](crate::operation::get_application::GetApplicationOutput::verified_author_url): <p>The URL to the public profile of a verified author. This URL is submitted by the author.</p>
21 /// - [`version(Option<Version>)`](crate::operation::get_application::GetApplicationOutput::version): <p>Version information about the application.</p>
22 /// - On failure, responds with [`SdkError<GetApplicationError>`](crate::operation::get_application::GetApplicationError)
23 pub fn get_application(&self) -> crate::operation::get_application::builders::GetApplicationFluentBuilder {
24 crate::operation::get_application::builders::GetApplicationFluentBuilder::new(self.handle.clone())
25 }
26}