SageMaker.Client.
update_app_image_config
(**kwargs)¶Updates the properties of an AppImageConfig.
See also: AWS API Documentation
Request Syntax
response = client.update_app_image_config(
AppImageConfigName='string',
KernelGatewayImageConfig={
'KernelSpecs': [
{
'Name': 'string',
'DisplayName': 'string'
},
],
'FileSystemConfig': {
'MountPath': 'string',
'DefaultUid': 123,
'DefaultGid': 123
}
}
)
[REQUIRED]
The name of the AppImageConfig to update.
The new KernelGateway app to run on the image.
The specification of the Jupyter kernels in the image.
The specification of a Jupyter kernel.
The name of the Jupyter kernel in the image. This value is case sensitive.
The display name of the kernel.
The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to /home/sagemaker-user .
The default POSIX user ID (UID). If not specified, defaults to 1000
.
The default POSIX group ID (GID). If not specified, defaults to 100
.
dict
Response Syntax
{
'AppImageConfigArn': 'string'
}
Response Structure
(dict) --
AppImageConfigArn (string) --
The Amazon Resource Name (ARN) for the AppImageConfig.
Exceptions
SageMaker.Client.exceptions.ResourceNotFound