diff --git a/sample/sagemaker/2017-07-24/service-2.json b/sample/sagemaker/2017-07-24/service-2.json index e6388932..6586ab6d 100644 --- a/sample/sagemaker/2017-07-24/service-2.json +++ b/sample/sagemaker/2017-07-24/service-2.json @@ -7690,6 +7690,10 @@ "AppLifecycleManagement":{ "shape":"AppLifecycleManagement", "documentation":"

Settings that are used to configure and manage the lifecycle of CodeEditor applications.

" + }, + "BuiltInLifecycleConfigArn":{ + "shape":"StudioLifecycleConfigArn", + "documentation":"

The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.

" } }, "documentation":"

The Code Editor application settings.

For more information about Code Editor, see Get started with Code Editor in Amazon SageMaker.

" @@ -12926,6 +12930,10 @@ "ResourceSpec":{ "shape":"ResourceSpec", "documentation":"

The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

" + }, + "BuiltInLifecycleConfigArn":{ + "shape":"StudioLifecycleConfigArn", + "documentation":"

The lifecycle configuration that runs before the default lifecycle configuration

" } } }, @@ -22380,6 +22388,10 @@ "EmrSettings":{ "shape":"EmrSettings", "documentation":"

The configuration parameters that specify the IAM roles assumed by the execution role of SageMaker (assumable roles) and the cluster instances or job execution environments (execution roles or runtime roles) to manage and access resources required for running Amazon EMR clusters or Amazon EMR Serverless applications.

" + }, + "BuiltInLifecycleConfigArn":{ + "shape":"StudioLifecycleConfigArn", + "documentation":"

The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.

" } }, "documentation":"

The settings for the JupyterLab application.

" diff --git a/src/sagemaker_core/main/code_injection/shape_dag.py b/src/sagemaker_core/main/code_injection/shape_dag.py index 99af07f0..5e7a5dd8 100644 --- a/src/sagemaker_core/main/code_injection/shape_dag.py +++ b/src/sagemaker_core/main/code_injection/shape_dag.py @@ -1380,6 +1380,11 @@ "shape": "AppLifecycleManagement", "type": "structure", }, + { + "name": "BuiltInLifecycleConfigArn", + "shape": "StudioLifecycleConfigArn", + "type": "string", + }, ], "type": "structure", }, @@ -3793,6 +3798,11 @@ {"name": "CreationTime", "shape": "Timestamp", "type": "timestamp"}, {"name": "FailureReason", "shape": "FailureReason", "type": "string"}, {"name": "ResourceSpec", "shape": "ResourceSpec", "type": "structure"}, + { + "name": "BuiltInLifecycleConfigArn", + "shape": "StudioLifecycleConfigArn", + "type": "string", + }, ], "type": "structure", }, @@ -7699,6 +7709,11 @@ "type": "structure", }, {"name": "EmrSettings", "shape": "EmrSettings", "type": "structure"}, + { + "name": "BuiltInLifecycleConfigArn", + "shape": "StudioLifecycleConfigArn", + "type": "string", + }, ], "type": "structure", }, diff --git a/src/sagemaker_core/main/resources.py b/src/sagemaker_core/main/resources.py index 5c63216b..47641842 100644 --- a/src/sagemaker_core/main/resources.py +++ b/src/sagemaker_core/main/resources.py @@ -979,6 +979,7 @@ class App(Base): creation_time: The creation time of the application. After an application has been shut down for 24 hours, SageMaker deletes all metadata for the application. To be considered an update and retain application metadata, applications must be restarted within 24 hours after the previous application has been shut down. After this time window, creation of an application is considered a new application rather than an update of the previous application. failure_reason: The failure reason. resource_spec: The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. + built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration """ @@ -994,6 +995,7 @@ class App(Base): creation_time: Optional[datetime.datetime] = Unassigned() failure_reason: Optional[str] = Unassigned() resource_spec: Optional[ResourceSpec] = Unassigned() + built_in_lifecycle_config_arn: Optional[str] = Unassigned() def get_name(self) -> str: attributes = vars(self) diff --git a/src/sagemaker_core/main/shapes.py b/src/sagemaker_core/main/shapes.py index 560015ec..31ab701c 100644 --- a/src/sagemaker_core/main/shapes.py +++ b/src/sagemaker_core/main/shapes.py @@ -3306,12 +3306,14 @@ class CodeEditorAppSettings(Base): custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app. lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration. app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications. + built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration. """ default_resource_spec: Optional[ResourceSpec] = Unassigned() custom_images: Optional[List[CustomImage]] = Unassigned() lifecycle_config_arns: Optional[List[str]] = Unassigned() app_lifecycle_management: Optional[AppLifecycleManagement] = Unassigned() + built_in_lifecycle_config_arn: Optional[str] = Unassigned() class CodeRepository(Base): @@ -4235,6 +4237,7 @@ class JupyterLabAppSettings(Base): code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application. app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications. emr_settings: The configuration parameters that specify the IAM roles assumed by the execution role of SageMaker (assumable roles) and the cluster instances or job execution environments (execution roles or runtime roles) to manage and access resources required for running Amazon EMR clusters or Amazon EMR Serverless applications. + built_in_lifecycle_config_arn: The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration. """ default_resource_spec: Optional[ResourceSpec] = Unassigned() @@ -4243,6 +4246,7 @@ class JupyterLabAppSettings(Base): code_repositories: Optional[List[CodeRepository]] = Unassigned() app_lifecycle_management: Optional[AppLifecycleManagement] = Unassigned() emr_settings: Optional[EmrSettings] = Unassigned() + built_in_lifecycle_config_arn: Optional[str] = Unassigned() class DefaultEbsStorageSettings(Base):