From 74105e5d23ffec3415fc003ced659147b8a09a10 Mon Sep 17 00:00:00 2001 From: sagemaker-bot Date: Fri, 7 Nov 2025 10:10:15 +0000 Subject: [PATCH] Daily Sync with Botocore v1.40.68 on 2025/11/07 --- sample/sagemaker/2017-07-24/service-2.json | 18 +++++++++++++++++- .../main/code_injection/shape_dag.py | 6 ++++++ src/sagemaker_core/main/resources.py | 4 ++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/sample/sagemaker/2017-07-24/service-2.json b/sample/sagemaker/2017-07-24/service-2.json index eeefe00..df871a7 100644 --- a/sample/sagemaker/2017-07-24/service-2.json +++ b/sample/sagemaker/2017-07-24/service-2.json @@ -42642,7 +42642,15 @@ "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", - "ml.inf2.48xlarge" + "ml.inf2.48xlarge", + "ml.g6.xlarge", + "ml.g6.2xlarge", + "ml.g6.4xlarge", + "ml.g6.8xlarge", + "ml.g6.12xlarge", + "ml.g6.16xlarge", + "ml.g6.24xlarge", + "ml.g6.48xlarge" ] }, "TransformInstanceTypes":{ @@ -43801,6 +43809,10 @@ "shape":"ClusterInstanceGroupsToDelete", "documentation":"

Specify the names of the instance groups to delete. Use a single , as the separator between multiple names.

" }, + "NodeProvisioningMode":{ + "shape":"ClusterNodeProvisioningMode", + "documentation":"

Determines how instance provisioning is handled during cluster operations. In Continuous mode, the cluster provisions available instances incrementally and retries until the target count is reached. The cluster becomes operational once cluster-level resources are ready. Use CurrentCount and TargetCount in DescribeCluster to track provisioning progress.

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

The Amazon Resource Name (ARN) of the IAM role that HyperPod assumes for cluster autoscaling operations. Cannot be updated while autoscaling is enabled.

" @@ -44102,6 +44114,10 @@ "TagPropagation":{ "shape":"TagPropagation", "documentation":"

Indicates whether custom tag propagation is supported for the domain. Defaults to DISABLED.

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

The identifier for the VPC used by the domain for network communication. Use this field only when adding VPC configuration to a SageMaker AI domain used in Amazon SageMaker Unified Studio that was created without VPC settings. SageMaker AI doesn't automatically apply VPC updates to existing applications. Stop and restart your applications to apply the changes.

" } } }, diff --git a/src/sagemaker_core/main/code_injection/shape_dag.py b/src/sagemaker_core/main/code_injection/shape_dag.py index c6862a2..89c1f66 100644 --- a/src/sagemaker_core/main/code_injection/shape_dag.py +++ b/src/sagemaker_core/main/code_injection/shape_dag.py @@ -15910,6 +15910,11 @@ "shape": "ClusterInstanceGroupsToDelete", "type": "list", }, + { + "name": "NodeProvisioningMode", + "shape": "ClusterNodeProvisioningMode", + "type": "string", + }, {"name": "ClusterRole", "shape": "RoleArn", "type": "string"}, {"name": "AutoScaling", "shape": "ClusterAutoScalingConfig", "type": "structure"}, ], @@ -16052,6 +16057,7 @@ {"name": "SubnetIds", "shape": "Subnets", "type": "list"}, {"name": "AppNetworkAccessType", "shape": "AppNetworkAccessType", "type": "string"}, {"name": "TagPropagation", "shape": "TagPropagation", "type": "string"}, + {"name": "VpcId", "shape": "VpcId", "type": "string"}, ], "type": "structure", }, diff --git a/src/sagemaker_core/main/resources.py b/src/sagemaker_core/main/resources.py index bab959f..6dd7c35 100644 --- a/src/sagemaker_core/main/resources.py +++ b/src/sagemaker_core/main/resources.py @@ -3476,6 +3476,7 @@ def update( tiered_storage_config: Optional[shapes.ClusterTieredStorageConfig] = Unassigned(), node_recovery: Optional[str] = Unassigned(), instance_groups_to_delete: Optional[List[str]] = Unassigned(), + node_provisioning_mode: Optional[str] = Unassigned(), cluster_role: Optional[str] = Unassigned(), auto_scaling: Optional[shapes.ClusterAutoScalingConfig] = Unassigned(), ) -> Optional["Cluster"]: @@ -3513,6 +3514,7 @@ def update( "TieredStorageConfig": tiered_storage_config, "NodeRecovery": node_recovery, "InstanceGroupsToDelete": instance_groups_to_delete, + "NodeProvisioningMode": node_provisioning_mode, "ClusterRole": cluster_role, "AutoScaling": auto_scaling, } @@ -7644,6 +7646,7 @@ def update( subnet_ids: Optional[List[str]] = Unassigned(), app_network_access_type: Optional[str] = Unassigned(), tag_propagation: Optional[str] = Unassigned(), + vpc_id: Optional[str] = Unassigned(), ) -> Optional["Domain"]: """ Update a Domain resource @@ -7681,6 +7684,7 @@ def update( "SubnetIds": subnet_ids, "AppNetworkAccessType": app_network_access_type, "TagPropagation": tag_propagation, + "VpcId": vpc_id, } logger.debug(f"Input request: {operation_input_args}") # serialize the input request