aws_sdk_sagemaker/client/
delete_app.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 [`DeleteApp`](crate::operation::delete_app::builders::DeleteAppFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_id(impl Into<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_domain_id):<br>required: **true**<br><p>The domain ID.</p><br>
7    ///   - [`user_profile_name(impl Into<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::user_profile_name) / [`set_user_profile_name(Option<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_user_profile_name):<br>required: **false**<br><p>The user profile name. If this value is not set, then <code>SpaceName</code> must be set.</p><br>
8    ///   - [`space_name(impl Into<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_space_name):<br>required: **false**<br><p>The name of the space. If this value is not set, then <code>UserProfileName</code> must be set.</p><br>
9    ///   - [`app_type(AppType)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::app_type) / [`set_app_type(Option<AppType>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_app_type):<br>required: **true**<br><p>The type of app.</p><br>
10    ///   - [`app_name(impl Into<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::app_name) / [`set_app_name(Option<String>)`](crate::operation::delete_app::builders::DeleteAppFluentBuilder::set_app_name):<br>required: **true**<br><p>The name of the app.</p><br>
11    /// - On success, responds with [`DeleteAppOutput`](crate::operation::delete_app::DeleteAppOutput)
12    /// - On failure, responds with [`SdkError<DeleteAppError>`](crate::operation::delete_app::DeleteAppError)
13    pub fn delete_app(&self) -> crate::operation::delete_app::builders::DeleteAppFluentBuilder {
14        crate::operation::delete_app::builders::DeleteAppFluentBuilder::new(self.handle.clone())
15    }
16}