Struct aws_sdk_sagemaker::operation::create_app_image_config::builders::CreateAppImageConfigFluentBuilder
source · pub struct CreateAppImageConfigFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateAppImageConfig
.
Creates a configuration for running a SageMaker image as a KernelGateway app. The configuration specifies the Amazon Elastic File System (EFS) storage volume on the image, and a list of the kernels in the image.
Implementations§
source§impl CreateAppImageConfigFluentBuilder
impl CreateAppImageConfigFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateAppImageConfig, AwsResponseRetryClassifier>, SdkError<CreateAppImageConfigError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateAppImageConfig, AwsResponseRetryClassifier>, SdkError<CreateAppImageConfigError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateAppImageConfigOutput, SdkError<CreateAppImageConfigError>>
pub async fn send( self ) -> Result<CreateAppImageConfigOutput, SdkError<CreateAppImageConfigError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn app_image_config_name(self, input: impl Into<String>) -> Self
pub fn app_image_config_name(self, input: impl Into<String>) -> Self
The name of the AppImageConfig. Must be unique to your account.
sourcepub fn set_app_image_config_name(self, input: Option<String>) -> Self
pub fn set_app_image_config_name(self, input: Option<String>) -> Self
The name of the AppImageConfig. Must be unique to your account.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tags to apply to the AppImageConfig.
A list of tags to apply to the AppImageConfig.
sourcepub fn kernel_gateway_image_config(
self,
input: KernelGatewayImageConfig
) -> Self
pub fn kernel_gateway_image_config( self, input: KernelGatewayImageConfig ) -> Self
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.
sourcepub fn set_kernel_gateway_image_config(
self,
input: Option<KernelGatewayImageConfig>
) -> Self
pub fn set_kernel_gateway_image_config( self, input: Option<KernelGatewayImageConfig> ) -> Self
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.
Trait Implementations§
source§impl Clone for CreateAppImageConfigFluentBuilder
impl Clone for CreateAppImageConfigFluentBuilder
source§fn clone(&self) -> CreateAppImageConfigFluentBuilder
fn clone(&self) -> CreateAppImageConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more