Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 65 additions & 4 deletions sample/sagemaker/2017-07-24/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -8041,7 +8041,7 @@
},
"LastSoftwareUpdateTime":{
"shape":"Timestamp",
"documentation":"<p>The time of when the cluster was last updated.</p>"
"documentation":"<p>The time when the cluster was last updated.</p>"
},
"LifeCycleConfig":{
"shape":"ClusterLifeCycleConfig",
Expand Down Expand Up @@ -8129,7 +8129,7 @@
},
"LastSoftwareUpdateTime":{
"shape":"Timestamp",
"documentation":"<p>The time of when SageMaker last updated the software of the instances in the cluster.</p>"
"documentation":"<p>The time when SageMaker last updated the software of the instances in the cluster.</p>"
},
"InstanceStatus":{
"shape":"ClusterInstanceStatusDetails",
Expand Down Expand Up @@ -18954,6 +18954,10 @@
"AmazonQSettings":{
"shape":"AmazonQSettings",
"documentation":"<p>A collection of settings that configure the Amazon Q experience within the domain. The <code>AuthMode</code> that you use to create the domain must be <code>SSO</code>.</p>"
},
"UnifiedStudioSettings":{
"shape":"UnifiedStudioSettings",
"documentation":"<p>The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.</p>"
}
},
"documentation":"<p>A collection of settings that apply to the <code>SageMaker Domain</code>. These settings are specified through the <code>CreateDomain</code> API call.</p>"
Expand All @@ -18980,6 +18984,10 @@
"AmazonQSettings":{
"shape":"AmazonQSettings",
"documentation":"<p>A collection of settings that configure the Amazon Q experience within the domain.</p>"
},
"UnifiedStudioSettings":{
"shape":"UnifiedStudioSettings",
"documentation":"<p>The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.</p>"
}
},
"documentation":"<p>A collection of <code>Domain</code> configuration settings to update.</p>"
Expand Down Expand Up @@ -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":[
Expand Down Expand Up @@ -36622,8 +36635,6 @@
"SearchTrainingPlanOfferingsRequest":{
"type":"structure",
"required":[
"InstanceType",
"InstanceCount",
"DurationHours",
"TargetResources"
],
Expand Down Expand Up @@ -37323,6 +37334,10 @@
"shape":"SpaceStorageSettings",
"documentation":"<p>The storage settings for a space.</p>"
},
"SpaceManagedResources":{
"shape":"FeatureStatus",
"documentation":"<p>If you enable this option, SageMaker AI creates the following resources on your behalf when you create the space:</p> <ul> <li> <p>The user profile that possesses the space.</p> </li> <li> <p>The app that the space contains.</p> </li> </ul>"
},
"CustomFileSystems":{
"shape":"CustomFileSystems",
"documentation":"<p>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.</p>"
Expand Down Expand Up @@ -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":"<p>Sets whether you can access the domain in Amazon SageMaker Studio:</p> <dl> <dt>ENABLED</dt> <dd> <p>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.</p> </dd> <dt>DISABLED</dt> <dd> <p>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.</p> </dd> </dl> <p>To migrate a domain to Amazon SageMaker Unified Studio, you specify the UnifiedStudioSettings data type when you use the UpdateDomain action.</p>"
},
"DomainAccountId":{
"shape":"AccountId",
"documentation":"<p>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.</p>"
},
"DomainRegion":{
"shape":"RegionName",
"documentation":"<p>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.</p>"
},
"DomainId":{
"shape":"UnifiedStudioDomainId",
"documentation":"<p>The ID of the Amazon SageMaker Unified Studio domain associated with this domain.</p>"
},
"ProjectId":{
"shape":"UnifiedStudioProjectId",
"documentation":"<p>The ID of the Amazon SageMaker Unified Studio project that corresponds to the domain.</p>"
},
"EnvironmentId":{
"shape":"UnifiedStudioEnvironmentId",
"documentation":"<p>The ID of the environment that Amazon SageMaker Unified Studio associates with the domain.</p>"
},
"ProjectS3Path":{
"shape":"S3Uri",
"documentation":"<p>The location where Amazon S3 stores temporary execution data and other artifacts for the project that corresponds to the domain.</p>"
}
},
"documentation":"<p>The settings that apply to an Amazon SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.</p>"
},
"UpdateActionRequest":{
"type":"structure",
"required":["ActionName"],
Expand Down
23 changes: 23 additions & 0 deletions src/sagemaker_core/main/code_injection/shape_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -6182,6 +6182,11 @@
},
{"name": "DockerSettings", "shape": "DockerSettings", "type": "structure"},
{"name": "AmazonQSettings", "shape": "AmazonQSettings", "type": "structure"},
{
"name": "UnifiedStudioSettings",
"shape": "UnifiedStudioSettings",
"type": "structure",
},
],
"type": "structure",
},
Expand All @@ -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",
},
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions src/sagemaker_core/main/config_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
35 changes: 33 additions & 2 deletions src/sagemaker_core/main/shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
"""

Expand Down Expand Up @@ -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
Expand All @@ -4777,13 +4802,15 @@ 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()
r_studio_server_pro_domain_settings: Optional[RStudioServerProDomainSettings] = Unassigned()
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):
Expand Down Expand Up @@ -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.
"""

Expand All @@ -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()


Expand Down Expand Up @@ -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[
Expand All @@ -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):
Expand Down
Loading