aws_sdk_sagemaker/client/
create_app_image_config.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 [`CreateAppImageConfig`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`app_image_config_name(impl Into<String>)`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::app_image_config_name) / [`set_app_image_config_name(Option<String>)`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::set_app_image_config_name):<br>required: **true**<br><p>The name of the AppImageConfig. Must be unique to your account.</p><br>
7    ///   - [`tags(Tag)`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::set_tags):<br>required: **false**<br><p>A list of tags to apply to the AppImageConfig.</p><br>
8    ///   - [`kernel_gateway_image_config(KernelGatewayImageConfig)`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::kernel_gateway_image_config) / [`set_kernel_gateway_image_config(Option<KernelGatewayImageConfig>)`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::set_kernel_gateway_image_config):<br>required: **false**<br><p>The KernelGatewayImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel will be shown to users before the image starts. Once the image runs, all kernels are visible in JupyterLab.</p><br>
9    ///   - [`jupyter_lab_app_image_config(JupyterLabAppImageConfig)`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::jupyter_lab_app_image_config) / [`set_jupyter_lab_app_image_config(Option<JupyterLabAppImageConfig>)`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::set_jupyter_lab_app_image_config):<br>required: **false**<br><p>The <code>JupyterLabAppImageConfig</code>. You can only specify one image kernel in the <code>AppImageConfig</code> API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in JupyterLab.</p><br>
10    ///   - [`code_editor_app_image_config(CodeEditorAppImageConfig)`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::code_editor_app_image_config) / [`set_code_editor_app_image_config(Option<CodeEditorAppImageConfig>)`](crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::set_code_editor_app_image_config):<br>required: **false**<br><p>The <code>CodeEditorAppImageConfig</code>. You can only specify one image kernel in the AppImageConfig API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in Code Editor.</p><br>
11    /// - On success, responds with [`CreateAppImageConfigOutput`](crate::operation::create_app_image_config::CreateAppImageConfigOutput) with field(s):
12    ///   - [`app_image_config_arn(Option<String>)`](crate::operation::create_app_image_config::CreateAppImageConfigOutput::app_image_config_arn): <p>The ARN of the AppImageConfig.</p>
13    /// - On failure, responds with [`SdkError<CreateAppImageConfigError>`](crate::operation::create_app_image_config::CreateAppImageConfigError)
14    pub fn create_app_image_config(&self) -> crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder {
15        crate::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder::new(self.handle.clone())
16    }
17}