From 48a932aa0d234f1c2dddc0892a2c72cbc4369caa Mon Sep 17 00:00:00 2001 From: sagemaker-bot Date: Thu, 8 May 2025 10:09:58 +0000 Subject: [PATCH] Daily Sync with Botocore v1.38.11 on 2025/05/08 --- sample/sagemaker/2017-07-24/service-2.json | 69 +++++++++++++++++-- .../main/code_injection/shape_dag.py | 23 +++++++ src/sagemaker_core/main/config_schema.py | 3 + src/sagemaker_core/main/shapes.py | 35 +++++++++- 4 files changed, 124 insertions(+), 6 deletions(-) diff --git a/sample/sagemaker/2017-07-24/service-2.json b/sample/sagemaker/2017-07-24/service-2.json index f7f5be43..46fad457 100644 --- a/sample/sagemaker/2017-07-24/service-2.json +++ b/sample/sagemaker/2017-07-24/service-2.json @@ -8041,7 +8041,7 @@ }, "LastSoftwareUpdateTime":{ "shape":"Timestamp", - "documentation":"

The time of when the cluster was last updated.

" + "documentation":"

The time when the cluster was last updated.

" }, "LifeCycleConfig":{ "shape":"ClusterLifeCycleConfig", @@ -8129,7 +8129,7 @@ }, "LastSoftwareUpdateTime":{ "shape":"Timestamp", - "documentation":"

The time of when SageMaker last updated the software of the instances in the cluster.

" + "documentation":"

The time when SageMaker last updated the software of the instances in the cluster.

" }, "InstanceStatus":{ "shape":"ClusterInstanceStatusDetails", @@ -18954,6 +18954,10 @@ "AmazonQSettings":{ "shape":"AmazonQSettings", "documentation":"

A collection of settings that configure the Amazon Q experience within the domain. The AuthMode that you use to create the domain must be SSO.

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

The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.

" } }, "documentation":"

A collection of settings that apply to the SageMaker Domain. These settings are specified through the CreateDomain API call.

" @@ -18980,6 +18984,10 @@ "AmazonQSettings":{ "shape":"AmazonQSettings", "documentation":"

A collection of settings that configure the Amazon Q experience within the domain.

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

The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.

" } }, "documentation":"

A collection of Domain configuration settings to update.

" @@ -35444,6 +35452,11 @@ "min":5, "pattern":"^\\d{1,4}.\\d{1,4}.\\d{1,4}$" }, + "RegionName":{ + "type":"string", + "max":24, + "min":1 + }, "RegisterDevicesRequest":{ "type":"structure", "required":[ @@ -36622,8 +36635,6 @@ "SearchTrainingPlanOfferingsRequest":{ "type":"structure", "required":[ - "InstanceType", - "InstanceCount", "DurationHours", "TargetResources" ], @@ -37323,6 +37334,10 @@ "shape":"SpaceStorageSettings", "documentation":"

The storage settings for a space.

" }, + "SpaceManagedResources":{ + "shape":"FeatureStatus", + "documentation":"

If you enable this option, SageMaker AI creates the following resources on your behalf when you create the space:

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

A file system, created by you, that you assign to a space for an Amazon SageMaker AI Domain. Permitted users can access this file system in Amazon SageMaker AI Studio.

" @@ -40543,6 +40558,52 @@ "max":4000000, "min":10000 }, + "UnifiedStudioDomainId":{ + "type":"string", + "pattern":"^dzd[-_][a-zA-Z0-9_-]{1,36}$" + }, + "UnifiedStudioEnvironmentId":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, + "UnifiedStudioProjectId":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, + "UnifiedStudioSettings":{ + "type":"structure", + "members":{ + "StudioWebPortalAccess":{ + "shape":"FeatureStatus", + "documentation":"

Sets whether you can access the domain in Amazon SageMaker Studio:

ENABLED

You can access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it in both studio interfaces.

DISABLED

You can't access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it only in that studio interface.

To migrate a domain to Amazon SageMaker Unified Studio, you specify the UnifiedStudioSettings data type when you use the UpdateDomain action.

" + }, + "DomainAccountId":{ + "shape":"AccountId", + "documentation":"

The ID of the Amazon Web Services account that has the Amazon SageMaker Unified Studio domain. The default value, if you don't specify an ID, is the ID of the account that has the Amazon SageMaker AI domain.

" + }, + "DomainRegion":{ + "shape":"RegionName", + "documentation":"

The Amazon Web Services Region where the domain is located in Amazon SageMaker Unified Studio. The default value, if you don't specify a Region, is the Region where the Amazon SageMaker AI domain is located.

" + }, + "DomainId":{ + "shape":"UnifiedStudioDomainId", + "documentation":"

The ID of the Amazon SageMaker Unified Studio domain associated with this domain.

" + }, + "ProjectId":{ + "shape":"UnifiedStudioProjectId", + "documentation":"

The ID of the Amazon SageMaker Unified Studio project that corresponds to the domain.

" + }, + "EnvironmentId":{ + "shape":"UnifiedStudioEnvironmentId", + "documentation":"

The ID of the environment that Amazon SageMaker Unified Studio associates with the domain.

" + }, + "ProjectS3Path":{ + "shape":"S3Uri", + "documentation":"

The location where Amazon S3 stores temporary execution data and other artifacts for the project that corresponds to the domain.

" + } + }, + "documentation":"

The settings that apply to an Amazon SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.

" + }, "UpdateActionRequest":{ "type":"structure", "required":["ActionName"], diff --git a/src/sagemaker_core/main/code_injection/shape_dag.py b/src/sagemaker_core/main/code_injection/shape_dag.py index 766babff..df87df20 100644 --- a/src/sagemaker_core/main/code_injection/shape_dag.py +++ b/src/sagemaker_core/main/code_injection/shape_dag.py @@ -6182,6 +6182,11 @@ }, {"name": "DockerSettings", "shape": "DockerSettings", "type": "structure"}, {"name": "AmazonQSettings", "shape": "AmazonQSettings", "type": "structure"}, + { + "name": "UnifiedStudioSettings", + "shape": "UnifiedStudioSettings", + "type": "structure", + }, ], "type": "structure", }, @@ -6200,6 +6205,11 @@ {"name": "SecurityGroupIds", "shape": "DomainSecurityGroupIds", "type": "list"}, {"name": "DockerSettings", "shape": "DockerSettings", "type": "structure"}, {"name": "AmazonQSettings", "shape": "AmazonQSettings", "type": "structure"}, + { + "name": "UnifiedStudioSettings", + "shape": "UnifiedStudioSettings", + "type": "structure", + }, ], "type": "structure", }, @@ -13689,6 +13699,7 @@ }, {"name": "AppType", "shape": "AppType", "type": "string"}, {"name": "SpaceStorageSettings", "shape": "SpaceStorageSettings", "type": "structure"}, + {"name": "SpaceManagedResources", "shape": "FeatureStatus", "type": "string"}, {"name": "CustomFileSystems", "shape": "CustomFileSystems", "type": "list"}, ], "type": "structure", @@ -14808,6 +14819,18 @@ ], "type": "structure", }, + "UnifiedStudioSettings": { + "members": [ + {"name": "StudioWebPortalAccess", "shape": "FeatureStatus", "type": "string"}, + {"name": "DomainAccountId", "shape": "AccountId", "type": "string"}, + {"name": "DomainRegion", "shape": "RegionName", "type": "string"}, + {"name": "DomainId", "shape": "UnifiedStudioDomainId", "type": "string"}, + {"name": "ProjectId", "shape": "UnifiedStudioProjectId", "type": "string"}, + {"name": "EnvironmentId", "shape": "UnifiedStudioEnvironmentId", "type": "string"}, + {"name": "ProjectS3Path", "shape": "S3Uri", "type": "string"}, + ], + "type": "structure", + }, "UnprocessedIdentifiers": { "member_shape": "BatchGetRecordIdentifier", "member_type": "structure", diff --git a/src/sagemaker_core/main/config_schema.py b/src/sagemaker_core/main/config_schema.py index 7be90499..f45bd236 100644 --- a/src/sagemaker_core/main/config_schema.py +++ b/src/sagemaker_core/main/config_schema.py @@ -243,6 +243,9 @@ "domain_execution_role_arn": {"type": "string"} }, "execution_role_identity_config": {"type": "string"}, + "unified_studio_settings": { + "project_s3_path": {"type": "string"} + }, }, "home_efs_file_system_kms_key_id": {"type": "string"}, "subnet_ids": { diff --git a/src/sagemaker_core/main/shapes.py b/src/sagemaker_core/main/shapes.py index 0135d277..72f7995f 100644 --- a/src/sagemaker_core/main/shapes.py +++ b/src/sagemaker_core/main/shapes.py @@ -3342,7 +3342,7 @@ class ClusterNodeDetails(Base): instance_status: The status of the instance. instance_type: The type of the instance. launch_time: The time when the instance is launched. - last_software_update_time: The time of when the cluster was last updated. + last_software_update_time: The time when the cluster was last updated. life_cycle_config: The LifeCycle configuration applied to the instance. override_vpc_config: The customized Amazon VPC configuration at the instance group level that overrides the default Amazon VPC configuration of the SageMaker HyperPod cluster. threads_per_core: The number of threads per CPU core you specified under CreateCluster. @@ -3380,7 +3380,7 @@ class ClusterNodeSummary(Base): instance_id: The ID of the instance. instance_type: The type of the instance. launch_time: The time when the instance is launched. - last_software_update_time: The time of when SageMaker last updated the software of the instances in the cluster. + last_software_update_time: The time when SageMaker last updated the software of the instances in the cluster. instance_status: The status of the instance. """ @@ -4765,6 +4765,31 @@ class DockerSettings(Base): vpc_only_trusted_accounts: Optional[List[str]] = Unassigned() +class UnifiedStudioSettings(Base): + """ + UnifiedStudioSettings + The settings that apply to an Amazon SageMaker AI domain when you use it in Amazon SageMaker Unified Studio. + + Attributes + ---------------------- + studio_web_portal_access: Sets whether you can access the domain in Amazon SageMaker Studio: ENABLED You can access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it in both studio interfaces. DISABLED You can't access the domain in Amazon SageMaker Studio. If you migrate the domain to Amazon SageMaker Unified Studio, you can access it only in that studio interface. To migrate a domain to Amazon SageMaker Unified Studio, you specify the UnifiedStudioSettings data type when you use the UpdateDomain action. + domain_account_id: The ID of the Amazon Web Services account that has the Amazon SageMaker Unified Studio domain. The default value, if you don't specify an ID, is the ID of the account that has the Amazon SageMaker AI domain. + domain_region: The Amazon Web Services Region where the domain is located in Amazon SageMaker Unified Studio. The default value, if you don't specify a Region, is the Region where the Amazon SageMaker AI domain is located. + domain_id: The ID of the Amazon SageMaker Unified Studio domain associated with this domain. + project_id: The ID of the Amazon SageMaker Unified Studio project that corresponds to the domain. + environment_id: The ID of the environment that Amazon SageMaker Unified Studio associates with the domain. + project_s3_path: The location where Amazon S3 stores temporary execution data and other artifacts for the project that corresponds to the domain. + """ + + studio_web_portal_access: Optional[str] = Unassigned() + domain_account_id: Optional[str] = Unassigned() + domain_region: Optional[str] = Unassigned() + domain_id: Optional[str] = Unassigned() + project_id: Optional[str] = Unassigned() + environment_id: Optional[str] = Unassigned() + project_s3_path: Optional[str] = Unassigned() + + class DomainSettings(Base): """ DomainSettings @@ -4777,6 +4802,7 @@ class DomainSettings(Base): execution_role_identity_config: The configuration for attaching a SageMaker AI user profile name to the execution role as a sts:SourceIdentity key. docker_settings: A collection of settings that configure the domain's Docker interaction. amazon_q_settings: A collection of settings that configure the Amazon Q experience within the domain. The AuthMode that you use to create the domain must be SSO. + unified_studio_settings: The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio. """ security_group_ids: Optional[List[str]] = Unassigned() @@ -4784,6 +4810,7 @@ class DomainSettings(Base): execution_role_identity_config: Optional[str] = Unassigned() docker_settings: Optional[DockerSettings] = Unassigned() amazon_q_settings: Optional[AmazonQSettings] = Unassigned() + unified_studio_settings: Optional[UnifiedStudioSettings] = Unassigned() class DefaultSpaceSettings(Base): @@ -7446,6 +7473,7 @@ class SpaceSettings(Base): jupyter_lab_app_settings: The settings for the JupyterLab application. app_type: The type of app created within the space. If using the UpdateSpace API, you can't change the app type of your space by specifying a different value for this field. space_storage_settings: The storage settings for a space. + space_managed_resources: If you enable this option, SageMaker AI creates the following resources on your behalf when you create the space: The user profile that possesses the space. The app that the space contains. custom_file_systems: A file system, created by you, that you assign to a space for an Amazon SageMaker AI Domain. Permitted users can access this file system in Amazon SageMaker AI Studio. """ @@ -7455,6 +7483,7 @@ class SpaceSettings(Base): jupyter_lab_app_settings: Optional[SpaceJupyterLabAppSettings] = Unassigned() app_type: Optional[str] = Unassigned() space_storage_settings: Optional[SpaceStorageSettings] = Unassigned() + space_managed_resources: Optional[str] = Unassigned() custom_file_systems: Optional[List[CustomFileSystem]] = Unassigned() @@ -9453,6 +9482,7 @@ class DomainSettingsForUpdate(Base): security_group_ids: The security groups for the Amazon Virtual Private Cloud that the Domain uses for communication between Domain-level apps and user apps. docker_settings: A collection of settings that configure the domain's Docker interaction. amazon_q_settings: A collection of settings that configure the Amazon Q experience within the domain. + unified_studio_settings: The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio. """ r_studio_server_pro_domain_settings_for_update: Optional[ @@ -9462,6 +9492,7 @@ class DomainSettingsForUpdate(Base): security_group_ids: Optional[List[str]] = Unassigned() docker_settings: Optional[DockerSettings] = Unassigned() amazon_q_settings: Optional[AmazonQSettings] = Unassigned() + unified_studio_settings: Optional[UnifiedStudioSettings] = Unassigned() class PredefinedMetricSpecification(Base):