aws_sdk_accountaccess/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_arn(impl Into<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::application_arn) / [`set_application_arn(Option<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::set_application_arn):<br>required: **true**<br><p>Specifies the ARN of the application to retrieve.</p><br>
7 /// - On success, responds with [`GetApplicationOutput`](crate::operation::get_application::GetApplicationOutput) with field(s):
8 /// - [`identity_source(Option<IdentitySourceDetails>)`](crate::operation::get_application::GetApplicationOutput::identity_source): <p>The identity source details for the application, including the IAM Identity Center instance configuration.</p>
9 /// - [`status(Status)`](crate::operation::get_application::GetApplicationOutput::status): <p>The current status of the application.</p>
10 /// - [`tenant_id(Option<String>)`](crate::operation::get_application::GetApplicationOutput::tenant_id): <p>The tenant identifier associated with the application.</p>
11 /// - [`created_at(DateTime)`](crate::operation::get_application::GetApplicationOutput::created_at): <p>The date and time when the application was created.</p>
12 /// - [`updated_at(DateTime)`](crate::operation::get_application::GetApplicationOutput::updated_at): <p>The date and time when the application was last updated.</p>
13 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_application::GetApplicationOutput::tags): <p>The tags associated with the application.</p>
14 /// - [`error(Option<ErrorDetails>)`](crate::operation::get_application::GetApplicationOutput::error): <p>The error details if the application is in a failed state.</p>
15 /// - On failure, responds with [`SdkError<GetApplicationError>`](crate::operation::get_application::GetApplicationError)
16 pub fn get_application(&self) -> crate::operation::get_application::builders::GetApplicationFluentBuilder {
17 crate::operation::get_application::builders::GetApplicationFluentBuilder::new(self.handle.clone())
18 }
19}