From d67e55a474282c33b8ea5a173c98107c97575ac3 Mon Sep 17 00:00:00 2001 From: sagemaker-bot Date: Mon, 3 Nov 2025 10:10:57 +0000 Subject: [PATCH] Daily Sync with Botocore v1.40.64 on 2025/11/03 --- sample/sagemaker/2017-07-24/service-2.json | 4 ++++ src/sagemaker_core/main/code_injection/shape_dag.py | 1 + src/sagemaker_core/main/resources.py | 2 ++ 3 files changed, 7 insertions(+) diff --git a/sample/sagemaker/2017-07-24/service-2.json b/sample/sagemaker/2017-07-24/service-2.json index 793f9a6..53ca0e6 100644 --- a/sample/sagemaker/2017-07-24/service-2.json +++ b/sample/sagemaker/2017-07-24/service-2.json @@ -44798,6 +44798,10 @@ "shape":"IPAddressType", "documentation":"

The IP address type for the notebook instance. Specify ipv4 for IPv4-only connectivity or dualstack for both IPv4 and IPv6 connectivity. The notebook instance must be stopped before updating this setting. When you specify dualstack, the subnet must support IPv6 addressing.

" }, + "PlatformIdentifier":{ + "shape":"PlatformIdentifier", + "documentation":"

The platform identifier of the notebook instance runtime environment.

" + }, "RoleArn":{ "shape":"RoleArn", "documentation":"

The Amazon Resource Name (ARN) of the IAM role that SageMaker AI can assume to access the notebook instance. For more information, see SageMaker AI Roles.

To be able to pass this role to SageMaker AI, the caller of this API must have the iam:PassRole permission.

" diff --git a/src/sagemaker_core/main/code_injection/shape_dag.py b/src/sagemaker_core/main/code_injection/shape_dag.py index 9a6d08b..1415fe0 100644 --- a/src/sagemaker_core/main/code_injection/shape_dag.py +++ b/src/sagemaker_core/main/code_injection/shape_dag.py @@ -16379,6 +16379,7 @@ {"name": "NotebookInstanceName", "shape": "NotebookInstanceName", "type": "string"}, {"name": "InstanceType", "shape": "InstanceType", "type": "string"}, {"name": "IpAddressType", "shape": "IPAddressType", "type": "string"}, + {"name": "PlatformIdentifier", "shape": "PlatformIdentifier", "type": "string"}, {"name": "RoleArn", "shape": "RoleArn", "type": "string"}, { "name": "LifecycleConfigName", diff --git a/src/sagemaker_core/main/resources.py b/src/sagemaker_core/main/resources.py index 63fbdf7..cb54678 100644 --- a/src/sagemaker_core/main/resources.py +++ b/src/sagemaker_core/main/resources.py @@ -22835,6 +22835,7 @@ def update( self, instance_type: Optional[str] = Unassigned(), ip_address_type: Optional[str] = Unassigned(), + platform_identifier: Optional[str] = Unassigned(), role_arn: Optional[str] = Unassigned(), lifecycle_config_name: Optional[str] = Unassigned(), disassociate_lifecycle_config: Optional[bool] = Unassigned(), @@ -22883,6 +22884,7 @@ def update( "NotebookInstanceName": self.notebook_instance_name, "InstanceType": instance_type, "IpAddressType": ip_address_type, + "PlatformIdentifier": platform_identifier, "RoleArn": role_arn, "LifecycleConfigName": lifecycle_config_name, "DisassociateLifecycleConfig": disassociate_lifecycle_config,