sagemaker-core 1.0.29__py3-none-any.whl → 1.0.31__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.

@@ -1,11 +1,3 @@
1
- import os
1
+ import importlib.metadata
2
2
 
3
- script_dir = os.path.dirname(os.path.abspath(__file__))
4
-
5
- # Get the root directory of the project
6
- root_dir = os.path.abspath(os.path.join(script_dir, "..", ".."))
7
-
8
- version_file_path = os.path.join(root_dir, "VERSION")
9
-
10
- with open(version_file_path) as version_file:
11
- __version__ = version_file.read().strip()
3
+ __version__ = importlib.metadata.version("sagemaker_core")
@@ -124,6 +124,10 @@ SHAPE_DAG = {
124
124
  "members": [{"name": "AlarmName", "shape": "AlarmName", "type": "string"}],
125
125
  "type": "structure",
126
126
  },
127
+ "AlarmDetails": {
128
+ "members": [{"name": "AlarmName", "shape": "AlarmName", "type": "string"}],
129
+ "type": "structure",
130
+ },
127
131
  "AlarmList": {"member_shape": "Alarm", "member_type": "structure", "type": "list"},
128
132
  "AlgorithmSpecification": {
129
133
  "members": [
@@ -734,6 +738,11 @@ SHAPE_DAG = {
734
738
  "type": "structure",
735
739
  },
736
740
  "AutoParameters": {"member_shape": "AutoParameter", "member_type": "structure", "type": "list"},
741
+ "AutoRollbackAlarms": {
742
+ "member_shape": "AlarmDetails",
743
+ "member_type": "structure",
744
+ "type": "list",
745
+ },
737
746
  "AutoRollbackConfig": {
738
747
  "members": [{"name": "Alarms", "shape": "AlarmList", "type": "list"}],
739
748
  "type": "structure",
@@ -1069,6 +1078,13 @@ SHAPE_DAG = {
1069
1078
  ],
1070
1079
  "type": "structure",
1071
1080
  },
1081
+ "CapacitySizeConfig": {
1082
+ "members": [
1083
+ {"name": "Type", "shape": "NodeUnavailabilityType", "type": "string"},
1084
+ {"name": "Value", "shape": "NodeUnavailabilityValue", "type": "integer"},
1085
+ ],
1086
+ "type": "structure",
1087
+ },
1072
1088
  "CaptureContentTypeHeader": {
1073
1089
  "members": [
1074
1090
  {"name": "CsvContentTypes", "shape": "CsvContentTypes", "type": "list"},
@@ -1272,6 +1288,11 @@ SHAPE_DAG = {
1272
1288
  "type": "string",
1273
1289
  },
1274
1290
  {"name": "OverrideVpcConfig", "shape": "VpcConfig", "type": "structure"},
1291
+ {
1292
+ "name": "ScheduledUpdateConfig",
1293
+ "shape": "ScheduledUpdateConfig",
1294
+ "type": "structure",
1295
+ },
1275
1296
  ],
1276
1297
  "type": "structure",
1277
1298
  },
@@ -1296,6 +1317,11 @@ SHAPE_DAG = {
1296
1317
  {"name": "OnStartDeepHealthChecks", "shape": "OnStartDeepHealthChecks", "type": "list"},
1297
1318
  {"name": "TrainingPlanArn", "shape": "TrainingPlanArn", "type": "string"},
1298
1319
  {"name": "OverrideVpcConfig", "shape": "VpcConfig", "type": "structure"},
1320
+ {
1321
+ "name": "ScheduledUpdateConfig",
1322
+ "shape": "ScheduledUpdateConfig",
1323
+ "type": "structure",
1324
+ },
1299
1325
  ],
1300
1326
  "type": "structure",
1301
1327
  },
@@ -1352,6 +1378,7 @@ SHAPE_DAG = {
1352
1378
  },
1353
1379
  {"name": "InstanceType", "shape": "ClusterInstanceType", "type": "string"},
1354
1380
  {"name": "LaunchTime", "shape": "Timestamp", "type": "timestamp"},
1381
+ {"name": "LastSoftwareUpdateTime", "shape": "Timestamp", "type": "timestamp"},
1355
1382
  {"name": "LifeCycleConfig", "shape": "ClusterLifeCycleConfig", "type": "structure"},
1356
1383
  {"name": "OverrideVpcConfig", "shape": "VpcConfig", "type": "structure"},
1357
1384
  {"name": "ThreadsPerCore", "shape": "ClusterThreadsPerCore", "type": "integer"},
@@ -1379,6 +1406,7 @@ SHAPE_DAG = {
1379
1406
  {"name": "InstanceId", "shape": "String", "type": "string"},
1380
1407
  {"name": "InstanceType", "shape": "ClusterInstanceType", "type": "string"},
1381
1408
  {"name": "LaunchTime", "shape": "Timestamp", "type": "timestamp"},
1409
+ {"name": "LastSoftwareUpdateTime", "shape": "Timestamp", "type": "timestamp"},
1382
1410
  {
1383
1411
  "name": "InstanceStatus",
1384
1412
  "shape": "ClusterInstanceStatusDetails",
@@ -3889,6 +3917,22 @@ SHAPE_DAG = {
3889
3917
  ],
3890
3918
  "type": "structure",
3891
3919
  },
3920
+ "DeploymentConfiguration": {
3921
+ "members": [
3922
+ {
3923
+ "name": "RollingUpdatePolicy",
3924
+ "shape": "RollingDeploymentPolicy",
3925
+ "type": "structure",
3926
+ },
3927
+ {
3928
+ "name": "WaitIntervalInSeconds",
3929
+ "shape": "WaitTimeIntervalInSeconds",
3930
+ "type": "integer",
3931
+ },
3932
+ {"name": "AutoRollbackConfiguration", "shape": "AutoRollbackAlarms", "type": "list"},
3933
+ ],
3934
+ "type": "structure",
3935
+ },
3892
3936
  "DeploymentRecommendation": {
3893
3937
  "members": [
3894
3938
  {"name": "RecommendationStatus", "shape": "RecommendationStatus", "type": "string"},
@@ -10885,6 +10929,7 @@ SHAPE_DAG = {
10885
10929
  {"name": "CreationTime", "shape": "CreationTime", "type": "timestamp"},
10886
10930
  {"name": "ModelPackageStatus", "shape": "ModelPackageStatus", "type": "string"},
10887
10931
  {"name": "ModelApprovalStatus", "shape": "ModelApprovalStatus", "type": "string"},
10932
+ {"name": "ModelLifeCycle", "shape": "ModelLifeCycle", "type": "structure"},
10888
10933
  ],
10889
10934
  "type": "structure",
10890
10935
  },
@@ -11153,7 +11198,12 @@ SHAPE_DAG = {
11153
11198
  "MonitoringDatasetFormat": {
11154
11199
  "members": [
11155
11200
  {"name": "Csv", "shape": "MonitoringCsvDatasetFormat", "type": "structure"},
11156
- {"name": "Json", "shape": "MonitoringJsonDatasetFormat", "type": "structure"},
11201
+ {
11202
+ "alias": "json",
11203
+ "name": "JsonFormat",
11204
+ "shape": "MonitoringJsonDatasetFormat",
11205
+ "type": "structure",
11206
+ },
11157
11207
  {"name": "Parquet", "shape": "MonitoringParquetDatasetFormat", "type": "structure"},
11158
11208
  ],
11159
11209
  "type": "structure",
@@ -13168,6 +13218,17 @@ SHAPE_DAG = {
13168
13218
  ],
13169
13219
  "type": "structure",
13170
13220
  },
13221
+ "RollingDeploymentPolicy": {
13222
+ "members": [
13223
+ {"name": "MaximumBatchSize", "shape": "CapacitySizeConfig", "type": "structure"},
13224
+ {
13225
+ "name": "RollbackMaximumBatchSize",
13226
+ "shape": "CapacitySizeConfig",
13227
+ "type": "structure",
13228
+ },
13229
+ ],
13230
+ "type": "structure",
13231
+ },
13171
13232
  "RollingUpdatePolicy": {
13172
13233
  "members": [
13173
13234
  {"name": "MaximumBatchSize", "shape": "CapacitySize", "type": "structure"},
@@ -13274,6 +13335,13 @@ SHAPE_DAG = {
13274
13335
  ],
13275
13336
  "type": "structure",
13276
13337
  },
13338
+ "ScheduledUpdateConfig": {
13339
+ "members": [
13340
+ {"name": "ScheduleExpression", "shape": "CronScheduleExpression", "type": "string"},
13341
+ {"name": "DeploymentConfig", "shape": "DeploymentConfiguration", "type": "structure"},
13342
+ ],
13343
+ "type": "structure",
13344
+ },
13277
13345
  "SchedulerConfig": {
13278
13346
  "members": [
13279
13347
  {"name": "PriorityClasses", "shape": "PriorityClassList", "type": "list"},
@@ -14850,8 +14918,27 @@ SHAPE_DAG = {
14850
14918
  ],
14851
14919
  "type": "structure",
14852
14920
  },
14921
+ "UpdateClusterSoftwareInstanceGroupSpecification": {
14922
+ "members": [
14923
+ {"name": "InstanceGroupName", "shape": "ClusterInstanceGroupName", "type": "string"}
14924
+ ],
14925
+ "type": "structure",
14926
+ },
14927
+ "UpdateClusterSoftwareInstanceGroups": {
14928
+ "member_shape": "UpdateClusterSoftwareInstanceGroupSpecification",
14929
+ "member_type": "structure",
14930
+ "type": "list",
14931
+ },
14853
14932
  "UpdateClusterSoftwareRequest": {
14854
- "members": [{"name": "ClusterName", "shape": "ClusterNameOrArn", "type": "string"}],
14933
+ "members": [
14934
+ {"name": "ClusterName", "shape": "ClusterNameOrArn", "type": "string"},
14935
+ {
14936
+ "name": "InstanceGroups",
14937
+ "shape": "UpdateClusterSoftwareInstanceGroups",
14938
+ "type": "list",
14939
+ },
14940
+ {"name": "DeploymentConfig", "shape": "DeploymentConfiguration", "type": "structure"},
14941
+ ],
14855
14942
  "type": "structure",
14856
14943
  },
14857
14944
  "UpdateClusterSoftwareResponse": {