1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetApplication`](crate::operation::get_application::builders::GetApplicationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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 identifier of the Amazon Q application.</p><br>
    /// - On success, responds with [`GetApplicationOutput`](crate::operation::get_application::GetApplicationOutput) with field(s):
    ///   - [`display_name(Option<String>)`](crate::operation::get_application::GetApplicationOutput::display_name): <p>The name of the Amazon Q application.</p>
    ///   - [`application_id(Option<String>)`](crate::operation::get_application::GetApplicationOutput::application_id): <p>The identifier of the Amazon Q application.</p>
    ///   - [`application_arn(Option<String>)`](crate::operation::get_application::GetApplicationOutput::application_arn): <p>The Amazon Resource Name (ARN) of the Amazon Q application.</p>
    ///   - [`role_arn(Option<String>)`](crate::operation::get_application::GetApplicationOutput::role_arn): <p>The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.</p>
    ///   - [`status(Option<ApplicationStatus>)`](crate::operation::get_application::GetApplicationOutput::status): <p>The status of the Amazon Q application.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_application::GetApplicationOutput::description): <p>A description for the Amazon Q application.</p>
    ///   - [`encryption_configuration(Option<EncryptionConfiguration>)`](crate::operation::get_application::GetApplicationOutput::encryption_configuration): <p>The identifier of the Amazon Web Services KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_application::GetApplicationOutput::created_at): <p>The Unix timestamp when the Amazon Q application was last updated.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_application::GetApplicationOutput::updated_at): <p>The Unix timestamp when the Amazon Q application was last updated.</p>
    ///   - [`error(Option<ErrorDetail>)`](crate::operation::get_application::GetApplicationOutput::error): <p>If the <code>Status</code> field is set to <code>ERROR</code>, the <code>ErrorMessage</code> field contains a description of the error that caused the synchronization to fail.</p>
    ///   - [`attachments_configuration(Option<AppliedAttachmentsConfiguration>)`](crate::operation::get_application::GetApplicationOutput::attachments_configuration): <p>Settings for whether end users can upload files directly during chat.</p>
    /// - On failure, responds with [`SdkError<GetApplicationError>`](crate::operation::get_application::GetApplicationError)
    pub fn get_application(&self) -> crate::operation::get_application::builders::GetApplicationFluentBuilder {
        crate::operation::get_application::builders::GetApplicationFluentBuilder::new(self.handle.clone())
    }
}