aws_sdk_migrationhubrefactorspaces/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    ///   - [`environment_identifier(impl Into<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::environment_identifier) / [`set_environment_identifier(Option<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::set_environment_identifier):<br>required: **true**<br><p>The ID of the environment.</p><br>
7    ///   - [`application_identifier(impl Into<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::application_identifier) / [`set_application_identifier(Option<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::set_application_identifier):<br>required: **true**<br><p>The ID of the application.</p><br>
8    /// - On success, responds with [`GetApplicationOutput`](crate::operation::get_application::GetApplicationOutput) with field(s):
9    ///   - [`name(Option<String>)`](crate::operation::get_application::GetApplicationOutput::name): <p>The name of the application.</p>
10    ///   - [`arn(Option<String>)`](crate::operation::get_application::GetApplicationOutput::arn): <p>The Amazon Resource Name (ARN) of the application.</p>
11    ///   - [`owner_account_id(Option<String>)`](crate::operation::get_application::GetApplicationOutput::owner_account_id): <p>The Amazon Web Services account ID of the application owner (which is always the same as the environment owner account ID).</p>
12    ///   - [`created_by_account_id(Option<String>)`](crate::operation::get_application::GetApplicationOutput::created_by_account_id): <p>The Amazon Web Services account ID of the application creator.</p>
13    ///   - [`application_id(Option<String>)`](crate::operation::get_application::GetApplicationOutput::application_id): <p>The unique identifier of the application.</p>
14    ///   - [`environment_id(Option<String>)`](crate::operation::get_application::GetApplicationOutput::environment_id): <p>The unique identifier of the environment.</p>
15    ///   - [`vpc_id(Option<String>)`](crate::operation::get_application::GetApplicationOutput::vpc_id): <p>The ID of the virtual private cloud (VPC).</p>
16    ///   - [`proxy_type(Option<ProxyType>)`](crate::operation::get_application::GetApplicationOutput::proxy_type): <p>The proxy type of the proxy created within the application.</p>
17    ///   - [`api_gateway_proxy(Option<ApiGatewayProxyConfig>)`](crate::operation::get_application::GetApplicationOutput::api_gateway_proxy): <p>The endpoint URL of the API Gateway proxy.</p>
18    ///   - [`state(Option<ApplicationState>)`](crate::operation::get_application::GetApplicationOutput::state): <p>The current state of the application.</p>
19    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_application::GetApplicationOutput::tags): <p>The tags assigned to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.</p>
20    ///   - [`error(Option<ErrorResponse>)`](crate::operation::get_application::GetApplicationOutput::error): <p>Any error associated with the application resource.</p>
21    ///   - [`last_updated_time(Option<DateTime>)`](crate::operation::get_application::GetApplicationOutput::last_updated_time): <p>A timestamp that indicates when the application was last updated.</p>
22    ///   - [`created_time(Option<DateTime>)`](crate::operation::get_application::GetApplicationOutput::created_time): <p>A timestamp that indicates when the application is created.</p>
23    /// - On failure, responds with [`SdkError<GetApplicationError>`](crate::operation::get_application::GetApplicationError)
24    pub fn get_application(&self) -> crate::operation::get_application::builders::GetApplicationFluentBuilder {
25        crate::operation::get_application::builders::GetApplicationFluentBuilder::new(self.handle.clone())
26    }
27}