sagemaker-core 1.0.2__py3-none-any.whl → 1.0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of sagemaker-core might be problematic. Click here for more details.
- sagemaker_core/main/code_injection/shape_dag.py +66 -1
- sagemaker_core/main/resources.py +12 -0
- sagemaker_core/main/shapes.py +96 -0
- sagemaker_core/tools/constants.py +2 -0
- {sagemaker_core-1.0.2.dist-info → sagemaker_core-1.0.4.dist-info}/METADATA +3 -2
- {sagemaker_core-1.0.2.dist-info → sagemaker_core-1.0.4.dist-info}/RECORD +9 -9
- {sagemaker_core-1.0.2.dist-info → sagemaker_core-1.0.4.dist-info}/WHEEL +1 -1
- {sagemaker_core-1.0.2.dist-info → sagemaker_core-1.0.4.dist-info}/LICENSE +0 -0
- {sagemaker_core-1.0.2.dist-info → sagemaker_core-1.0.4.dist-info}/top_level.txt +0 -0
|
@@ -255,6 +255,10 @@ SHAPE_DAG = {
|
|
|
255
255
|
"member_type": "structure",
|
|
256
256
|
"type": "list",
|
|
257
257
|
},
|
|
258
|
+
"AppLifecycleManagement": {
|
|
259
|
+
"members": [{"name": "IdleSettings", "shape": "IdleSettings", "type": "structure"}],
|
|
260
|
+
"type": "structure",
|
|
261
|
+
},
|
|
258
262
|
"AppList": {"member_shape": "AppDetails", "member_type": "structure", "type": "list"},
|
|
259
263
|
"AppSpecification": {
|
|
260
264
|
"members": [
|
|
@@ -1134,6 +1138,7 @@ SHAPE_DAG = {
|
|
|
1134
1138
|
"shape": "ClusterInstanceStorageConfigs",
|
|
1135
1139
|
"type": "list",
|
|
1136
1140
|
},
|
|
1141
|
+
{"name": "OnStartDeepHealthChecks", "shape": "OnStartDeepHealthChecks", "type": "list"},
|
|
1137
1142
|
],
|
|
1138
1143
|
"type": "structure",
|
|
1139
1144
|
},
|
|
@@ -1155,6 +1160,7 @@ SHAPE_DAG = {
|
|
|
1155
1160
|
"shape": "ClusterInstanceStorageConfigs",
|
|
1156
1161
|
"type": "list",
|
|
1157
1162
|
},
|
|
1163
|
+
{"name": "OnStartDeepHealthChecks", "shape": "OnStartDeepHealthChecks", "type": "list"},
|
|
1158
1164
|
],
|
|
1159
1165
|
"type": "structure",
|
|
1160
1166
|
},
|
|
@@ -1238,6 +1244,14 @@ SHAPE_DAG = {
|
|
|
1238
1244
|
],
|
|
1239
1245
|
"type": "structure",
|
|
1240
1246
|
},
|
|
1247
|
+
"ClusterOrchestrator": {
|
|
1248
|
+
"members": [{"name": "Eks", "shape": "ClusterOrchestratorEksConfig", "type": "structure"}],
|
|
1249
|
+
"type": "structure",
|
|
1250
|
+
},
|
|
1251
|
+
"ClusterOrchestratorEksConfig": {
|
|
1252
|
+
"members": [{"name": "ClusterArn", "shape": "EksClusterArn", "type": "string"}],
|
|
1253
|
+
"type": "structure",
|
|
1254
|
+
},
|
|
1241
1255
|
"ClusterSummaries": {
|
|
1242
1256
|
"member_shape": "ClusterSummary",
|
|
1243
1257
|
"member_type": "structure",
|
|
@@ -1264,6 +1278,11 @@ SHAPE_DAG = {
|
|
|
1264
1278
|
{"name": "DefaultResourceSpec", "shape": "ResourceSpec", "type": "structure"},
|
|
1265
1279
|
{"name": "CustomImages", "shape": "CustomImages", "type": "list"},
|
|
1266
1280
|
{"name": "LifecycleConfigArns", "shape": "LifecycleConfigArns", "type": "list"},
|
|
1281
|
+
{
|
|
1282
|
+
"name": "AppLifecycleManagement",
|
|
1283
|
+
"shape": "AppLifecycleManagement",
|
|
1284
|
+
"type": "structure",
|
|
1285
|
+
},
|
|
1267
1286
|
],
|
|
1268
1287
|
"type": "structure",
|
|
1269
1288
|
},
|
|
@@ -1650,6 +1669,8 @@ SHAPE_DAG = {
|
|
|
1650
1669
|
},
|
|
1651
1670
|
{"name": "VpcConfig", "shape": "VpcConfig", "type": "structure"},
|
|
1652
1671
|
{"name": "Tags", "shape": "TagList", "type": "list"},
|
|
1672
|
+
{"name": "Orchestrator", "shape": "ClusterOrchestrator", "type": "structure"},
|
|
1673
|
+
{"name": "NodeRecovery", "shape": "ClusterNodeRecovery", "type": "string"},
|
|
1653
1674
|
],
|
|
1654
1675
|
"type": "structure",
|
|
1655
1676
|
},
|
|
@@ -3809,6 +3830,8 @@ SHAPE_DAG = {
|
|
|
3809
3830
|
{"name": "FailureMessage", "shape": "String", "type": "string"},
|
|
3810
3831
|
{"name": "InstanceGroups", "shape": "ClusterInstanceGroupDetailsList", "type": "list"},
|
|
3811
3832
|
{"name": "VpcConfig", "shape": "VpcConfig", "type": "structure"},
|
|
3833
|
+
{"name": "Orchestrator", "shape": "ClusterOrchestrator", "type": "structure"},
|
|
3834
|
+
{"name": "NodeRecovery", "shape": "ClusterNodeRecovery", "type": "string"},
|
|
3812
3835
|
],
|
|
3813
3836
|
"type": "structure",
|
|
3814
3837
|
},
|
|
@@ -7001,6 +7024,15 @@ SHAPE_DAG = {
|
|
|
7001
7024
|
"member_type": "structure",
|
|
7002
7025
|
"type": "list",
|
|
7003
7026
|
},
|
|
7027
|
+
"IdleSettings": {
|
|
7028
|
+
"members": [
|
|
7029
|
+
{"name": "LifecycleManagement", "shape": "LifecycleManagement", "type": "string"},
|
|
7030
|
+
{"name": "IdleTimeoutInMinutes", "shape": "IdleTimeoutInMinutes", "type": "integer"},
|
|
7031
|
+
{"name": "MinIdleTimeoutInMinutes", "shape": "IdleTimeoutInMinutes", "type": "integer"},
|
|
7032
|
+
{"name": "MaxIdleTimeoutInMinutes", "shape": "IdleTimeoutInMinutes", "type": "integer"},
|
|
7033
|
+
],
|
|
7034
|
+
"type": "structure",
|
|
7035
|
+
},
|
|
7004
7036
|
"Image": {
|
|
7005
7037
|
"members": [
|
|
7006
7038
|
{"name": "CreationTime", "shape": "Timestamp", "type": "timestamp"},
|
|
@@ -7506,6 +7538,11 @@ SHAPE_DAG = {
|
|
|
7506
7538
|
{"name": "CustomImages", "shape": "CustomImages", "type": "list"},
|
|
7507
7539
|
{"name": "LifecycleConfigArns", "shape": "LifecycleConfigArns", "type": "list"},
|
|
7508
7540
|
{"name": "CodeRepositories", "shape": "CodeRepositories", "type": "list"},
|
|
7541
|
+
{
|
|
7542
|
+
"name": "AppLifecycleManagement",
|
|
7543
|
+
"shape": "AppLifecycleManagement",
|
|
7544
|
+
"type": "structure",
|
|
7545
|
+
},
|
|
7509
7546
|
{"name": "EmrSettings", "shape": "EmrSettings", "type": "structure"},
|
|
7510
7547
|
],
|
|
7511
7548
|
"type": "structure",
|
|
@@ -10752,6 +10789,11 @@ SHAPE_DAG = {
|
|
|
10752
10789
|
"members": [{"name": "Groups", "shape": "Groups", "type": "list"}],
|
|
10753
10790
|
"type": "structure",
|
|
10754
10791
|
},
|
|
10792
|
+
"OnStartDeepHealthChecks": {
|
|
10793
|
+
"member_shape": "DeepHealthCheckType",
|
|
10794
|
+
"member_type": "string",
|
|
10795
|
+
"type": "list",
|
|
10796
|
+
},
|
|
10755
10797
|
"OnlineStoreConfig": {
|
|
10756
10798
|
"members": [
|
|
10757
10799
|
{"name": "SecurityConfig", "shape": "OnlineStoreSecurityConfig", "type": "structure"},
|
|
@@ -12566,8 +12608,19 @@ SHAPE_DAG = {
|
|
|
12566
12608
|
"members": [{"name": "Cidrs", "shape": "Cidrs", "type": "list"}],
|
|
12567
12609
|
"type": "structure",
|
|
12568
12610
|
},
|
|
12611
|
+
"SpaceAppLifecycleManagement": {
|
|
12612
|
+
"members": [{"name": "IdleSettings", "shape": "SpaceIdleSettings", "type": "structure"}],
|
|
12613
|
+
"type": "structure",
|
|
12614
|
+
},
|
|
12569
12615
|
"SpaceCodeEditorAppSettings": {
|
|
12570
|
-
"members": [
|
|
12616
|
+
"members": [
|
|
12617
|
+
{"name": "DefaultResourceSpec", "shape": "ResourceSpec", "type": "structure"},
|
|
12618
|
+
{
|
|
12619
|
+
"name": "AppLifecycleManagement",
|
|
12620
|
+
"shape": "SpaceAppLifecycleManagement",
|
|
12621
|
+
"type": "structure",
|
|
12622
|
+
},
|
|
12623
|
+
],
|
|
12571
12624
|
"type": "structure",
|
|
12572
12625
|
},
|
|
12573
12626
|
"SpaceDetails": {
|
|
@@ -12592,10 +12645,21 @@ SHAPE_DAG = {
|
|
|
12592
12645
|
],
|
|
12593
12646
|
"type": "structure",
|
|
12594
12647
|
},
|
|
12648
|
+
"SpaceIdleSettings": {
|
|
12649
|
+
"members": [
|
|
12650
|
+
{"name": "IdleTimeoutInMinutes", "shape": "IdleTimeoutInMinutes", "type": "integer"}
|
|
12651
|
+
],
|
|
12652
|
+
"type": "structure",
|
|
12653
|
+
},
|
|
12595
12654
|
"SpaceJupyterLabAppSettings": {
|
|
12596
12655
|
"members": [
|
|
12597
12656
|
{"name": "DefaultResourceSpec", "shape": "ResourceSpec", "type": "structure"},
|
|
12598
12657
|
{"name": "CodeRepositories", "shape": "CodeRepositories", "type": "list"},
|
|
12658
|
+
{
|
|
12659
|
+
"name": "AppLifecycleManagement",
|
|
12660
|
+
"shape": "SpaceAppLifecycleManagement",
|
|
12661
|
+
"type": "structure",
|
|
12662
|
+
},
|
|
12599
12663
|
],
|
|
12600
12664
|
"type": "structure",
|
|
12601
12665
|
},
|
|
@@ -13721,6 +13785,7 @@ SHAPE_DAG = {
|
|
|
13721
13785
|
"shape": "ClusterInstanceGroupSpecifications",
|
|
13722
13786
|
"type": "list",
|
|
13723
13787
|
},
|
|
13788
|
+
{"name": "NodeRecovery", "shape": "ClusterNodeRecovery", "type": "string"},
|
|
13724
13789
|
],
|
|
13725
13790
|
"type": "structure",
|
|
13726
13791
|
},
|
sagemaker_core/main/resources.py
CHANGED
|
@@ -3198,6 +3198,8 @@ class Cluster(Base):
|
|
|
3198
3198
|
creation_time: The time when the SageMaker Cluster is created.
|
|
3199
3199
|
failure_message: The failure message of the SageMaker HyperPod cluster.
|
|
3200
3200
|
vpc_config:
|
|
3201
|
+
orchestrator: The type of orchestrator used for the SageMaker HyperPod cluster.
|
|
3202
|
+
node_recovery: The node recovery mode configured for the SageMaker HyperPod cluster.
|
|
3201
3203
|
|
|
3202
3204
|
"""
|
|
3203
3205
|
|
|
@@ -3208,6 +3210,8 @@ class Cluster(Base):
|
|
|
3208
3210
|
failure_message: Optional[str] = Unassigned()
|
|
3209
3211
|
instance_groups: Optional[List[ClusterInstanceGroupDetails]] = Unassigned()
|
|
3210
3212
|
vpc_config: Optional[VpcConfig] = Unassigned()
|
|
3213
|
+
orchestrator: Optional[ClusterOrchestrator] = Unassigned()
|
|
3214
|
+
node_recovery: Optional[str] = Unassigned()
|
|
3211
3215
|
|
|
3212
3216
|
def get_name(self) -> str:
|
|
3213
3217
|
attributes = vars(self)
|
|
@@ -3252,6 +3256,8 @@ class Cluster(Base):
|
|
|
3252
3256
|
instance_groups: List[ClusterInstanceGroupSpecification],
|
|
3253
3257
|
vpc_config: Optional[VpcConfig] = Unassigned(),
|
|
3254
3258
|
tags: Optional[List[Tag]] = Unassigned(),
|
|
3259
|
+
orchestrator: Optional[ClusterOrchestrator] = Unassigned(),
|
|
3260
|
+
node_recovery: Optional[str] = Unassigned(),
|
|
3255
3261
|
session: Optional[Session] = None,
|
|
3256
3262
|
region: Optional[str] = None,
|
|
3257
3263
|
) -> Optional["Cluster"]:
|
|
@@ -3263,6 +3269,8 @@ class Cluster(Base):
|
|
|
3263
3269
|
instance_groups: The instance groups to be created in the SageMaker HyperPod cluster.
|
|
3264
3270
|
vpc_config:
|
|
3265
3271
|
tags: Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide.
|
|
3272
|
+
orchestrator: The type of orchestrator to use for the SageMaker HyperPod cluster. Currently, the only supported value is "eks", which is to use an Amazon Elastic Kubernetes Service (EKS) cluster as the orchestrator.
|
|
3273
|
+
node_recovery: The node recovery mode for the SageMaker HyperPod cluster. When set to Automatic, SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set to None, cluster administrators will need to manually manage any faulty cluster instances.
|
|
3266
3274
|
session: Boto3 session.
|
|
3267
3275
|
region: Region name.
|
|
3268
3276
|
|
|
@@ -3296,6 +3304,8 @@ class Cluster(Base):
|
|
|
3296
3304
|
"InstanceGroups": instance_groups,
|
|
3297
3305
|
"VpcConfig": vpc_config,
|
|
3298
3306
|
"Tags": tags,
|
|
3307
|
+
"Orchestrator": orchestrator,
|
|
3308
|
+
"NodeRecovery": node_recovery,
|
|
3299
3309
|
}
|
|
3300
3310
|
|
|
3301
3311
|
operation_input_args = Base.populate_chained_attributes(
|
|
@@ -3406,6 +3416,7 @@ class Cluster(Base):
|
|
|
3406
3416
|
def update(
|
|
3407
3417
|
self,
|
|
3408
3418
|
instance_groups: List[ClusterInstanceGroupSpecification],
|
|
3419
|
+
node_recovery: Optional[str] = Unassigned(),
|
|
3409
3420
|
) -> Optional["Cluster"]:
|
|
3410
3421
|
"""
|
|
3411
3422
|
Update a Cluster resource
|
|
@@ -3434,6 +3445,7 @@ class Cluster(Base):
|
|
|
3434
3445
|
operation_input_args = {
|
|
3435
3446
|
"ClusterName": self.cluster_name,
|
|
3436
3447
|
"InstanceGroups": instance_groups,
|
|
3448
|
+
"NodeRecovery": node_recovery,
|
|
3437
3449
|
}
|
|
3438
3450
|
logger.debug(f"Input request: {operation_input_args}")
|
|
3439
3451
|
# serialize the input request
|
sagemaker_core/main/shapes.py
CHANGED
|
@@ -919,6 +919,38 @@ class AppImageConfigDetails(Base):
|
|
|
919
919
|
code_editor_app_image_config: Optional[CodeEditorAppImageConfig] = Unassigned()
|
|
920
920
|
|
|
921
921
|
|
|
922
|
+
class IdleSettings(Base):
|
|
923
|
+
"""
|
|
924
|
+
IdleSettings
|
|
925
|
+
Settings related to idle shutdown of Studio applications.
|
|
926
|
+
|
|
927
|
+
Attributes
|
|
928
|
+
----------------------
|
|
929
|
+
lifecycle_management: Indicates whether idle shutdown is activated for the application type.
|
|
930
|
+
idle_timeout_in_minutes: The time that SageMaker waits after the application becomes idle before shutting it down.
|
|
931
|
+
min_idle_timeout_in_minutes: The minimum value in minutes that custom idle shutdown can be set to by the user.
|
|
932
|
+
max_idle_timeout_in_minutes: The maximum value in minutes that custom idle shutdown can be set to by the user.
|
|
933
|
+
"""
|
|
934
|
+
|
|
935
|
+
lifecycle_management: Optional[str] = Unassigned()
|
|
936
|
+
idle_timeout_in_minutes: Optional[int] = Unassigned()
|
|
937
|
+
min_idle_timeout_in_minutes: Optional[int] = Unassigned()
|
|
938
|
+
max_idle_timeout_in_minutes: Optional[int] = Unassigned()
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
class AppLifecycleManagement(Base):
|
|
942
|
+
"""
|
|
943
|
+
AppLifecycleManagement
|
|
944
|
+
Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications.
|
|
945
|
+
|
|
946
|
+
Attributes
|
|
947
|
+
----------------------
|
|
948
|
+
idle_settings: Settings related to idle shutdown of Studio applications.
|
|
949
|
+
"""
|
|
950
|
+
|
|
951
|
+
idle_settings: Optional[IdleSettings] = Unassigned()
|
|
952
|
+
|
|
953
|
+
|
|
922
954
|
class AppSpecification(Base):
|
|
923
955
|
"""
|
|
924
956
|
AppSpecification
|
|
@@ -2643,6 +2675,7 @@ class ClusterInstanceGroupDetails(Base):
|
|
|
2643
2675
|
execution_role: The execution role for the instance group to assume.
|
|
2644
2676
|
threads_per_core: The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.
|
|
2645
2677
|
instance_storage_configs: The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.
|
|
2678
|
+
on_start_deep_health_checks: A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.
|
|
2646
2679
|
"""
|
|
2647
2680
|
|
|
2648
2681
|
current_count: Optional[int] = Unassigned()
|
|
@@ -2653,6 +2686,7 @@ class ClusterInstanceGroupDetails(Base):
|
|
|
2653
2686
|
execution_role: Optional[str] = Unassigned()
|
|
2654
2687
|
threads_per_core: Optional[int] = Unassigned()
|
|
2655
2688
|
instance_storage_configs: Optional[List[ClusterInstanceStorageConfig]] = Unassigned()
|
|
2689
|
+
on_start_deep_health_checks: Optional[List[str]] = Unassigned()
|
|
2656
2690
|
|
|
2657
2691
|
|
|
2658
2692
|
class ClusterInstanceGroupSpecification(Base):
|
|
@@ -2669,6 +2703,7 @@ class ClusterInstanceGroupSpecification(Base):
|
|
|
2669
2703
|
execution_role: Specifies an IAM execution role to be assumed by the instance group.
|
|
2670
2704
|
threads_per_core: Specifies the value for Threads per core. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For instance types that doesn't support multithreading, specify 1. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.
|
|
2671
2705
|
instance_storage_configs: Specifies the additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.
|
|
2706
|
+
on_start_deep_health_checks: A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.
|
|
2672
2707
|
"""
|
|
2673
2708
|
|
|
2674
2709
|
instance_count: int
|
|
@@ -2678,6 +2713,7 @@ class ClusterInstanceGroupSpecification(Base):
|
|
|
2678
2713
|
execution_role: str
|
|
2679
2714
|
threads_per_core: Optional[int] = Unassigned()
|
|
2680
2715
|
instance_storage_configs: Optional[List[ClusterInstanceStorageConfig]] = Unassigned()
|
|
2716
|
+
on_start_deep_health_checks: Optional[List[str]] = Unassigned()
|
|
2681
2717
|
|
|
2682
2718
|
|
|
2683
2719
|
class ClusterInstancePlacement(Base):
|
|
@@ -2764,6 +2800,32 @@ class ClusterNodeSummary(Base):
|
|
|
2764
2800
|
instance_status: ClusterInstanceStatusDetails
|
|
2765
2801
|
|
|
2766
2802
|
|
|
2803
|
+
class ClusterOrchestratorEksConfig(Base):
|
|
2804
|
+
"""
|
|
2805
|
+
ClusterOrchestratorEksConfig
|
|
2806
|
+
The configuration settings for the Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.
|
|
2807
|
+
|
|
2808
|
+
Attributes
|
|
2809
|
+
----------------------
|
|
2810
|
+
cluster_arn: The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.
|
|
2811
|
+
"""
|
|
2812
|
+
|
|
2813
|
+
cluster_arn: str
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
class ClusterOrchestrator(Base):
|
|
2817
|
+
"""
|
|
2818
|
+
ClusterOrchestrator
|
|
2819
|
+
The type of orchestrator used for the SageMaker HyperPod cluster.
|
|
2820
|
+
|
|
2821
|
+
Attributes
|
|
2822
|
+
----------------------
|
|
2823
|
+
eks: The Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.
|
|
2824
|
+
"""
|
|
2825
|
+
|
|
2826
|
+
eks: ClusterOrchestratorEksConfig
|
|
2827
|
+
|
|
2828
|
+
|
|
2767
2829
|
class ClusterSummary(Base):
|
|
2768
2830
|
"""
|
|
2769
2831
|
ClusterSummary
|
|
@@ -2810,11 +2872,13 @@ class CodeEditorAppSettings(Base):
|
|
|
2810
2872
|
default_resource_spec
|
|
2811
2873
|
custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
|
|
2812
2874
|
lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
|
|
2875
|
+
app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
|
|
2813
2876
|
"""
|
|
2814
2877
|
|
|
2815
2878
|
default_resource_spec: Optional[ResourceSpec] = Unassigned()
|
|
2816
2879
|
custom_images: Optional[List[CustomImage]] = Unassigned()
|
|
2817
2880
|
lifecycle_config_arns: Optional[List[str]] = Unassigned()
|
|
2881
|
+
app_lifecycle_management: Optional[AppLifecycleManagement] = Unassigned()
|
|
2818
2882
|
|
|
2819
2883
|
|
|
2820
2884
|
class CodeRepository(Base):
|
|
@@ -3736,6 +3800,7 @@ class JupyterLabAppSettings(Base):
|
|
|
3736
3800
|
custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
|
|
3737
3801
|
lifecycle_config_arns: The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must set LifecycleConfigArns to an empty list.
|
|
3738
3802
|
code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
3803
|
+
app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
|
|
3739
3804
|
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.
|
|
3740
3805
|
"""
|
|
3741
3806
|
|
|
@@ -3743,6 +3808,7 @@ class JupyterLabAppSettings(Base):
|
|
|
3743
3808
|
custom_images: Optional[List[CustomImage]] = Unassigned()
|
|
3744
3809
|
lifecycle_config_arns: Optional[List[str]] = Unassigned()
|
|
3745
3810
|
code_repositories: Optional[List[CodeRepository]] = Unassigned()
|
|
3811
|
+
app_lifecycle_management: Optional[AppLifecycleManagement] = Unassigned()
|
|
3746
3812
|
emr_settings: Optional[EmrSettings] = Unassigned()
|
|
3747
3813
|
|
|
3748
3814
|
|
|
@@ -6403,6 +6469,32 @@ class ServiceCatalogProvisioningDetails(Base):
|
|
|
6403
6469
|
provisioning_parameters: Optional[List[ProvisioningParameter]] = Unassigned()
|
|
6404
6470
|
|
|
6405
6471
|
|
|
6472
|
+
class SpaceIdleSettings(Base):
|
|
6473
|
+
"""
|
|
6474
|
+
SpaceIdleSettings
|
|
6475
|
+
Settings related to idle shutdown of Studio applications in a space.
|
|
6476
|
+
|
|
6477
|
+
Attributes
|
|
6478
|
+
----------------------
|
|
6479
|
+
idle_timeout_in_minutes: The time that SageMaker waits after the application becomes idle before shutting it down.
|
|
6480
|
+
"""
|
|
6481
|
+
|
|
6482
|
+
idle_timeout_in_minutes: Optional[int] = Unassigned()
|
|
6483
|
+
|
|
6484
|
+
|
|
6485
|
+
class SpaceAppLifecycleManagement(Base):
|
|
6486
|
+
"""
|
|
6487
|
+
SpaceAppLifecycleManagement
|
|
6488
|
+
Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications in a space.
|
|
6489
|
+
|
|
6490
|
+
Attributes
|
|
6491
|
+
----------------------
|
|
6492
|
+
idle_settings: Settings related to idle shutdown of Studio applications.
|
|
6493
|
+
"""
|
|
6494
|
+
|
|
6495
|
+
idle_settings: Optional[SpaceIdleSettings] = Unassigned()
|
|
6496
|
+
|
|
6497
|
+
|
|
6406
6498
|
class SpaceCodeEditorAppSettings(Base):
|
|
6407
6499
|
"""
|
|
6408
6500
|
SpaceCodeEditorAppSettings
|
|
@@ -6411,9 +6503,11 @@ class SpaceCodeEditorAppSettings(Base):
|
|
|
6411
6503
|
Attributes
|
|
6412
6504
|
----------------------
|
|
6413
6505
|
default_resource_spec
|
|
6506
|
+
app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications in a space.
|
|
6414
6507
|
"""
|
|
6415
6508
|
|
|
6416
6509
|
default_resource_spec: Optional[ResourceSpec] = Unassigned()
|
|
6510
|
+
app_lifecycle_management: Optional[SpaceAppLifecycleManagement] = Unassigned()
|
|
6417
6511
|
|
|
6418
6512
|
|
|
6419
6513
|
class SpaceJupyterLabAppSettings(Base):
|
|
@@ -6425,10 +6519,12 @@ class SpaceJupyterLabAppSettings(Base):
|
|
|
6425
6519
|
----------------------
|
|
6426
6520
|
default_resource_spec
|
|
6427
6521
|
code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
|
|
6522
|
+
app_lifecycle_management: Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space.
|
|
6428
6523
|
"""
|
|
6429
6524
|
|
|
6430
6525
|
default_resource_spec: Optional[ResourceSpec] = Unassigned()
|
|
6431
6526
|
code_repositories: Optional[List[CodeRepository]] = Unassigned()
|
|
6527
|
+
app_lifecycle_management: Optional[SpaceAppLifecycleManagement] = Unassigned()
|
|
6432
6528
|
|
|
6433
6529
|
|
|
6434
6530
|
class EbsStorageSettings(Base):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sagemaker-core
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: An python package for sagemaker core functionalities
|
|
5
5
|
Author-email: AWS <sagemaker-interests@amazon.com>
|
|
6
6
|
Project-URL: Repository, https://github.com/aws/sagemaker-core.git
|
|
@@ -75,7 +75,8 @@ Benefits
|
|
|
75
75
|
|
|
76
76
|
Docs and Examples
|
|
77
77
|
-----------------
|
|
78
|
+
Learn more about the sagemaker-core SDK and its features by visting the `What's New Announcement <https://aws.amazon.com/about-aws/whats-new/2024/09/sagemaker-core-object-oriented-sdk-amazon-sagemaker>`_.
|
|
78
79
|
|
|
79
|
-
For examples and walkthroughs, see the `SageMaker Core Examples <https://github.com/aws/amazon-sagemaker-examples/tree/default
|
|
80
|
+
For examples and walkthroughs, see the `SageMaker Core Examples <https://github.com/aws/amazon-sagemaker-examples/tree/default/%20%20%20%20%20%20%20%20%20sagemaker-core>`_.
|
|
80
81
|
|
|
81
82
|
For detailed documentation, including the API reference, see `Read the Docs <https://sagemaker-core.readthedocs.io>`_.
|
|
@@ -6,20 +6,20 @@ sagemaker_core/main/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
|
6
6
|
sagemaker_core/main/config_schema.py,sha256=IDvL1YuMOwVg4nb0D4ysU51tc1UjlQASyz1QZoncs7I,56907
|
|
7
7
|
sagemaker_core/main/exceptions.py,sha256=87DUlrmHxaWoiYNlpNY9ixxFMPRk_dIGPsA2e_xdVwQ,5602
|
|
8
8
|
sagemaker_core/main/intelligent_defaults_helper.py,sha256=5SDM6UavZtp-k5LhqRL7GRIDgzFB5UsC_p7YuiSPK9A,8334
|
|
9
|
-
sagemaker_core/main/resources.py,sha256=
|
|
10
|
-
sagemaker_core/main/shapes.py,sha256=
|
|
9
|
+
sagemaker_core/main/resources.py,sha256=3ivOSUiWqH8VWmOwxz1Oa45aet7CTsc8mZott-ge7yc,1299296
|
|
10
|
+
sagemaker_core/main/shapes.py,sha256=mxsgFQYYMCWrZm_GF3w_wwgfTon0AgheZoXKu17ux1c,683409
|
|
11
11
|
sagemaker_core/main/user_agent.py,sha256=4sZybDXkzRoZnOnVDQ8p8zFTfiRJdsH7amDWInVQ4xU,2708
|
|
12
12
|
sagemaker_core/main/utils.py,sha256=I7WsC-DdbnAZg_PtqcLPywXlqjAwj7ZYbeHhv93Z1O4,18840
|
|
13
13
|
sagemaker_core/main/code_injection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
sagemaker_core/main/code_injection/base.py,sha256=11_Jif0nOzfbLGlXaacKf-wcizzfS64U0OSZGoVffFU,1733
|
|
15
15
|
sagemaker_core/main/code_injection/codec.py,sha256=2DjmeD2uND307UqDefvVEpE0rZ8yfFU3Bi3TvQCQveI,7658
|
|
16
16
|
sagemaker_core/main/code_injection/constants.py,sha256=2ICExGge8vAWx7lSTW0JGh-bH1korkvpOpDu5M63eI4,980
|
|
17
|
-
sagemaker_core/main/code_injection/shape_dag.py,sha256=
|
|
17
|
+
sagemaker_core/main/code_injection/shape_dag.py,sha256=mQR562skpJVs3VbNS-dtGvF94JXVcRBZS5b0cpKH3x0,648111
|
|
18
18
|
sagemaker_core/resources/__init__.py,sha256=EAYTFMN-nPjnPjjBbhIUeaL67FLKNPd7qbcbl9VIrws,31
|
|
19
19
|
sagemaker_core/shapes/__init__.py,sha256=RnbIu9eTxKt-DNsOFJabrWIgrrtS9_SdAozP9JBl_ic,28
|
|
20
20
|
sagemaker_core/tools/__init__.py,sha256=xX79JImxCVzrWMnjgntLCve2G5I-R4pRar5s20kT9Rs,56
|
|
21
21
|
sagemaker_core/tools/codegen.py,sha256=mKWVi2pWnPxyIoWUEPYjEc9Gw7D9bCOrHqa00yzIZ1o,2005
|
|
22
|
-
sagemaker_core/tools/constants.py,sha256=
|
|
22
|
+
sagemaker_core/tools/constants.py,sha256=lJ-KqRtv0F4mtZBqUNCX5RbOhXmPUsIslLPVVFJunDA,3080
|
|
23
23
|
sagemaker_core/tools/data_extractor.py,sha256=NpP22uCaWgvn9uOHsFEkgtn3h2nOIKDvJTLihN01f1A,1368
|
|
24
24
|
sagemaker_core/tools/method.py,sha256=4Hmu4UWpiBgUTZljYdW1KIKDduDxf_nfhCyuWgLVMWI,717
|
|
25
25
|
sagemaker_core/tools/resources_codegen.py,sha256=m7B2vrkfokLmzND9tCkty7EhVMk1FLevTd2LmJd_GKg,89974
|
|
@@ -27,8 +27,8 @@ sagemaker_core/tools/resources_extractor.py,sha256=B9Twlf2vb7AkZUKLnxSdQZ_rNLPz0
|
|
|
27
27
|
sagemaker_core/tools/shapes_codegen.py,sha256=_ve959bwH8usZ6dPlpXxi2on9t0hLpcmhRWnaWHCWMQ,11745
|
|
28
28
|
sagemaker_core/tools/shapes_extractor.py,sha256=4KjgDmhlPM4G1f1NeYbORKlXs1s7Q_sm_NK31S_ROQ0,11950
|
|
29
29
|
sagemaker_core/tools/templates.py,sha256=IvL9ykLvOXDNCMnIZn30o-6Cmx4fw-BIJz3nl9LD4dc,24614
|
|
30
|
-
sagemaker_core-1.0.
|
|
31
|
-
sagemaker_core-1.0.
|
|
32
|
-
sagemaker_core-1.0.
|
|
33
|
-
sagemaker_core-1.0.
|
|
34
|
-
sagemaker_core-1.0.
|
|
30
|
+
sagemaker_core-1.0.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
31
|
+
sagemaker_core-1.0.4.dist-info/METADATA,sha256=62vOPMIkSDkfR_ekA4qjnxJ96kC4hbzlhAtd2w52Qk0,4877
|
|
32
|
+
sagemaker_core-1.0.4.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
|
33
|
+
sagemaker_core-1.0.4.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
|
|
34
|
+
sagemaker_core-1.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|