1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeApp`](crate::operation::describe_app::builders::DescribeAppFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_id(impl ::std::convert::Into<String>)`](crate::operation::describe_app::builders::DescribeAppFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::describe_app::builders::DescribeAppFluentBuilder::set_domain_id): <p>The domain ID.</p>
    ///   - [`user_profile_name(impl ::std::convert::Into<String>)`](crate::operation::describe_app::builders::DescribeAppFluentBuilder::user_profile_name) / [`set_user_profile_name(Option<String>)`](crate::operation::describe_app::builders::DescribeAppFluentBuilder::set_user_profile_name): <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be set.</p>
    ///   - [`app_type(AppType)`](crate::operation::describe_app::builders::DescribeAppFluentBuilder::app_type) / [`set_app_type(Option<AppType>)`](crate::operation::describe_app::builders::DescribeAppFluentBuilder::set_app_type): <p>The type of app.</p>
    ///   - [`app_name(impl ::std::convert::Into<String>)`](crate::operation::describe_app::builders::DescribeAppFluentBuilder::app_name) / [`set_app_name(Option<String>)`](crate::operation::describe_app::builders::DescribeAppFluentBuilder::set_app_name): <p>The name of the app.</p>
    ///   - [`space_name(impl ::std::convert::Into<String>)`](crate::operation::describe_app::builders::DescribeAppFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::describe_app::builders::DescribeAppFluentBuilder::set_space_name): <p>The name of the space.</p>
    /// - On success, responds with [`DescribeAppOutput`](crate::operation::describe_app::DescribeAppOutput) with field(s):
    ///   - [`app_arn(Option<String>)`](crate::operation::describe_app::DescribeAppOutput::app_arn): <p>The Amazon Resource Name (ARN) of the app.</p>
    ///   - [`app_type(Option<AppType>)`](crate::operation::describe_app::DescribeAppOutput::app_type): <p>The type of app.</p>
    ///   - [`app_name(Option<String>)`](crate::operation::describe_app::DescribeAppOutput::app_name): <p>The name of the app.</p>
    ///   - [`domain_id(Option<String>)`](crate::operation::describe_app::DescribeAppOutput::domain_id): <p>The domain ID.</p>
    ///   - [`user_profile_name(Option<String>)`](crate::operation::describe_app::DescribeAppOutput::user_profile_name): <p>The user profile name.</p>
    ///   - [`status(Option<AppStatus>)`](crate::operation::describe_app::DescribeAppOutput::status): <p>The status.</p>
    ///   - [`last_health_check_timestamp(Option<DateTime>)`](crate::operation::describe_app::DescribeAppOutput::last_health_check_timestamp): <p>The timestamp of the last health check.</p>
    ///   - [`last_user_activity_timestamp(Option<DateTime>)`](crate::operation::describe_app::DescribeAppOutput::last_user_activity_timestamp): <p>The timestamp of the last user's activity. <code>LastUserActivityTimestamp</code> is also updated when SageMaker performs health checks without user activity. As a result, this value is set to the same value as <code>LastHealthCheckTimestamp</code>.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_app::DescribeAppOutput::creation_time): <p>The creation time.</p>
    ///   - [`failure_reason(Option<String>)`](crate::operation::describe_app::DescribeAppOutput::failure_reason): <p>The failure reason.</p>
    ///   - [`resource_spec(Option<ResourceSpec>)`](crate::operation::describe_app::DescribeAppOutput::resource_spec): <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.</p>
    ///   - [`space_name(Option<String>)`](crate::operation::describe_app::DescribeAppOutput::space_name): <p>The name of the space. If this value is not set, then <code>UserProfileName</code> must be set.</p>
    /// - On failure, responds with [`SdkError<DescribeAppError>`](crate::operation::describe_app::DescribeAppError)
    pub fn describe_app(&self) -> crate::operation::describe_app::builders::DescribeAppFluentBuilder {
        crate::operation::describe_app::builders::DescribeAppFluentBuilder::new(self.handle.clone())
    }
}