aws_sdk_appintegrations/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    ///   - [`arn(impl Into<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_application::builders::GetApplicationFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the Application.</p><br>
7    /// - On success, responds with [`GetApplicationOutput`](crate::operation::get_application::GetApplicationOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::get_application::GetApplicationOutput::arn): <p>The Amazon Resource Name (ARN) of the Application.</p>
9    ///   - [`id(Option<String>)`](crate::operation::get_application::GetApplicationOutput::id): <p>A unique identifier for the Application.</p>
10    ///   - [`name(Option<String>)`](crate::operation::get_application::GetApplicationOutput::name): <p>The name of the application.</p>
11    ///   - [`namespace(Option<String>)`](crate::operation::get_application::GetApplicationOutput::namespace): <p>The namespace of the application.</p>
12    ///   - [`description(Option<String>)`](crate::operation::get_application::GetApplicationOutput::description): <p>The description of the application.</p>
13    ///   - [`application_source_config(Option<ApplicationSourceConfig>)`](crate::operation::get_application::GetApplicationOutput::application_source_config): <p>The configuration for where the application should be loaded from.</p>
14    ///   - [`subscriptions(Option<Vec::<Subscription>>)`](crate::operation::get_application::GetApplicationOutput::subscriptions): <p>The events that the application subscribes.</p>
15    ///   - [`publications(Option<Vec::<Publication>>)`](crate::operation::get_application::GetApplicationOutput::publications): <p>The events that the application publishes.</p>
16    ///   - [`created_time(Option<DateTime>)`](crate::operation::get_application::GetApplicationOutput::created_time): <p>The created time of the Application.</p>
17    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::get_application::GetApplicationOutput::last_modified_time): <p>The last modified time of the Application.</p>
18    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_application::GetApplicationOutput::tags): <p>The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.</p>
19    ///   - [`permissions(Option<Vec::<String>>)`](crate::operation::get_application::GetApplicationOutput::permissions): <p>The configuration of events or requests that the application has access to.</p>
20    /// - On failure, responds with [`SdkError<GetApplicationError>`](crate::operation::get_application::GetApplicationError)
21    pub fn get_application(&self) -> crate::operation::get_application::builders::GetApplicationFluentBuilder {
22        crate::operation::get_application::builders::GetApplicationFluentBuilder::new(self.handle.clone())
23    }
24}