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

@@ -749,6 +749,33 @@ SHAPE_DAG = {
749
749
  ],
750
750
  "type": "structure",
751
751
  },
752
+ "BatchDeleteClusterNodesError": {
753
+ "members": [
754
+ {"name": "Code", "shape": "BatchDeleteClusterNodesErrorCode", "type": "string"},
755
+ {"name": "Message", "shape": "String", "type": "string"},
756
+ {"name": "NodeId", "shape": "ClusterNodeId", "type": "string"},
757
+ ],
758
+ "type": "structure",
759
+ },
760
+ "BatchDeleteClusterNodesErrorList": {
761
+ "member_shape": "BatchDeleteClusterNodesError",
762
+ "member_type": "structure",
763
+ "type": "list",
764
+ },
765
+ "BatchDeleteClusterNodesRequest": {
766
+ "members": [
767
+ {"name": "ClusterName", "shape": "ClusterNameOrArn", "type": "string"},
768
+ {"name": "NodeIds", "shape": "ClusterNodeIds", "type": "list"},
769
+ ],
770
+ "type": "structure",
771
+ },
772
+ "BatchDeleteClusterNodesResponse": {
773
+ "members": [
774
+ {"name": "Failed", "shape": "BatchDeleteClusterNodesErrorList", "type": "list"},
775
+ {"name": "Successful", "shape": "ClusterNodeIds", "type": "list"},
776
+ ],
777
+ "type": "structure",
778
+ },
752
779
  "BatchDescribeModelPackageError": {
753
780
  "members": [
754
781
  {"name": "ErrorCode", "shape": "String", "type": "string"},
@@ -1322,6 +1349,7 @@ SHAPE_DAG = {
1322
1349
  ],
1323
1350
  "type": "structure",
1324
1351
  },
1352
+ "ClusterNodeIds": {"member_shape": "ClusterNodeId", "member_type": "string", "type": "list"},
1325
1353
  "ClusterNodeSummaries": {
1326
1354
  "member_shape": "ClusterNodeSummary",
1327
1355
  "member_type": "structure",
@@ -2456,6 +2484,7 @@ SHAPE_DAG = {
2456
2484
  {"name": "SourceUri", "shape": "ModelPackageSourceUri", "type": "string"},
2457
2485
  {"name": "SecurityConfig", "shape": "ModelPackageSecurityConfig", "type": "structure"},
2458
2486
  {"name": "ModelCard", "shape": "ModelPackageModelCard", "type": "structure"},
2487
+ {"name": "ModelLifeCycle", "shape": "ModelLifeCycle", "type": "structure"},
2459
2488
  ],
2460
2489
  "type": "structure",
2461
2490
  },
@@ -4969,6 +4998,7 @@ SHAPE_DAG = {
4969
4998
  {"name": "SourceUri", "shape": "ModelPackageSourceUri", "type": "string"},
4970
4999
  {"name": "SecurityConfig", "shape": "ModelPackageSecurityConfig", "type": "structure"},
4971
5000
  {"name": "ModelCard", "shape": "ModelPackageModelCard", "type": "structure"},
5001
+ {"name": "ModelLifeCycle", "shape": "ModelLifeCycle", "type": "structure"},
4972
5002
  ],
4973
5003
  "type": "structure",
4974
5004
  },
@@ -10102,6 +10132,14 @@ SHAPE_DAG = {
10102
10132
  "member_type": "structure",
10103
10133
  "type": "list",
10104
10134
  },
10135
+ "ModelLifeCycle": {
10136
+ "members": [
10137
+ {"name": "Stage", "shape": "EntityName", "type": "string"},
10138
+ {"name": "StageStatus", "shape": "EntityName", "type": "string"},
10139
+ {"name": "StageDescription", "shape": "StageDescription", "type": "string"},
10140
+ ],
10141
+ "type": "structure",
10142
+ },
10105
10143
  "ModelMetadataFilter": {
10106
10144
  "members": [
10107
10145
  {"name": "Name", "shape": "ModelMetadataFilterType", "type": "string"},
@@ -10194,6 +10232,7 @@ SHAPE_DAG = {
10194
10232
  {"name": "SourceUri", "shape": "ModelPackageSourceUri", "type": "string"},
10195
10233
  {"name": "SecurityConfig", "shape": "ModelPackageSecurityConfig", "type": "structure"},
10196
10234
  {"name": "ModelCard", "shape": "ModelPackageModelCard", "type": "structure"},
10235
+ {"name": "ModelLifeCycle", "shape": "ModelLifeCycle", "type": "structure"},
10197
10236
  {"name": "Tags", "shape": "TagList", "type": "list"},
10198
10237
  {"name": "CustomerMetadataProperties", "shape": "CustomerMetadataMap", "type": "map"},
10199
10238
  {"name": "DriftCheckBaselines", "shape": "DriftCheckBaselines", "type": "structure"},
@@ -13555,6 +13594,7 @@ SHAPE_DAG = {
13555
13594
  {"name": "TrainingEndTime", "shape": "Timestamp", "type": "timestamp"},
13556
13595
  {"name": "LastModifiedTime", "shape": "Timestamp", "type": "timestamp"},
13557
13596
  {"name": "TrainingJobStatus", "shape": "TrainingJobStatus", "type": "string"},
13597
+ {"name": "SecondaryStatus", "shape": "SecondaryStatus", "type": "string"},
13558
13598
  {"name": "WarmPoolStatus", "shape": "WarmPoolStatus", "type": "structure"},
13559
13599
  ],
13560
13600
  "type": "structure",
@@ -14337,6 +14377,8 @@ SHAPE_DAG = {
14337
14377
  },
14338
14378
  {"name": "SourceUri", "shape": "ModelPackageSourceUri", "type": "string"},
14339
14379
  {"name": "ModelCard", "shape": "ModelPackageModelCard", "type": "structure"},
14380
+ {"name": "ModelLifeCycle", "shape": "ModelLifeCycle", "type": "structure"},
14381
+ {"name": "ClientToken", "shape": "ClientToken", "type": "string"},
14340
14382
  ],
14341
14383
  "type": "structure",
14342
14384
  },
@@ -18544,6 +18544,7 @@ class ModelPackage(Base):
18544
18544
  source_uri: The URI of the source for the model package.
18545
18545
  security_config: The KMS Key ID (KMSKeyId) used for encryption of model package information.
18546
18546
  model_card: The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.
18547
+ model_life_cycle: A structure describing the current state of the model in its life cycle.
18547
18548
 
18548
18549
  """
18549
18550
 
@@ -18578,6 +18579,7 @@ class ModelPackage(Base):
18578
18579
  source_uri: Optional[str] = Unassigned()
18579
18580
  security_config: Optional[ModelPackageSecurityConfig] = Unassigned()
18580
18581
  model_card: Optional[ModelPackageModelCard] = Unassigned()
18582
+ model_life_cycle: Optional[ModelLifeCycle] = Unassigned()
18581
18583
 
18582
18584
  def get_name(self) -> str:
18583
18585
  attributes = vars(self)
@@ -18675,6 +18677,7 @@ class ModelPackage(Base):
18675
18677
  source_uri: Optional[str] = Unassigned(),
18676
18678
  security_config: Optional[ModelPackageSecurityConfig] = Unassigned(),
18677
18679
  model_card: Optional[ModelPackageModelCard] = Unassigned(),
18680
+ model_life_cycle: Optional[ModelLifeCycle] = Unassigned(),
18678
18681
  session: Optional[Session] = None,
18679
18682
  region: Optional[str] = None,
18680
18683
  ) -> Optional["ModelPackage"]:
@@ -18704,6 +18707,7 @@ class ModelPackage(Base):
18704
18707
  source_uri: The URI of the source for the model package. If you want to clone a model package, set it to the model package Amazon Resource Name (ARN). If you want to register a model, set it to the model ARN.
18705
18708
  security_config: The KMS Key ID (KMSKeyId) used for encryption of model package information.
18706
18709
  model_card: The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.
18710
+ model_life_cycle: A structure describing the current state of the model in its life cycle.
18707
18711
  session: Boto3 session.
18708
18712
  region: Region name.
18709
18713
 
@@ -18755,6 +18759,7 @@ class ModelPackage(Base):
18755
18759
  "SourceUri": source_uri,
18756
18760
  "SecurityConfig": security_config,
18757
18761
  "ModelCard": model_card,
18762
+ "ModelLifeCycle": model_life_cycle,
18758
18763
  }
18759
18764
 
18760
18765
  operation_input_args = Base.populate_chained_attributes(
@@ -18874,6 +18879,8 @@ class ModelPackage(Base):
18874
18879
  inference_specification: Optional[InferenceSpecification] = Unassigned(),
18875
18880
  source_uri: Optional[str] = Unassigned(),
18876
18881
  model_card: Optional[ModelPackageModelCard] = Unassigned(),
18882
+ model_life_cycle: Optional[ModelLifeCycle] = Unassigned(),
18883
+ client_token: Optional[str] = Unassigned(),
18877
18884
  ) -> Optional["ModelPackage"]:
18878
18885
  """
18879
18886
  Update a ModelPackage resource
@@ -18881,6 +18888,7 @@ class ModelPackage(Base):
18881
18888
  Parameters:
18882
18889
  customer_metadata_properties_to_remove: The metadata properties associated with the model package versions to remove.
18883
18890
  additional_inference_specifications_to_add: An array of additional Inference Specification objects to be added to the existing array additional Inference Specification. Total number of additional Inference Specifications can not exceed 15. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
18891
+ client_token: A unique token that guarantees that the call to this API is idempotent.
18884
18892
 
18885
18893
  Returns:
18886
18894
  The ModelPackage resource.
@@ -18911,6 +18919,8 @@ class ModelPackage(Base):
18911
18919
  "InferenceSpecification": inference_specification,
18912
18920
  "SourceUri": source_uri,
18913
18921
  "ModelCard": model_card,
18922
+ "ModelLifeCycle": model_life_cycle,
18923
+ "ClientToken": client_token,
18914
18924
  }
18915
18925
  logger.debug(f"Input request: {operation_input_args}")
18916
18926
  # serialize the input request
@@ -2360,6 +2360,23 @@ class BatchDataCaptureConfig(Base):
2360
2360
  generate_inference_id: Optional[bool] = Unassigned()
2361
2361
 
2362
2362
 
2363
+ class BatchDeleteClusterNodesError(Base):
2364
+ """
2365
+ BatchDeleteClusterNodesError
2366
+ Represents an error encountered when deleting a node from a SageMaker HyperPod cluster.
2367
+
2368
+ Attributes
2369
+ ----------------------
2370
+ code: The error code associated with the error encountered when deleting a node. The code provides information about the specific issue encountered, such as the node not being found, the node's status being invalid for deletion, or the node ID being in use by another process.
2371
+ message: A message describing the error encountered when deleting a node.
2372
+ node_id: The ID of the node that encountered an error during the deletion process.
2373
+ """
2374
+
2375
+ code: str
2376
+ message: str
2377
+ node_id: str
2378
+
2379
+
2363
2380
  class BatchDescribeModelPackageError(Base):
2364
2381
  """
2365
2382
  BatchDescribeModelPackageError
@@ -6292,6 +6309,23 @@ class ModelPackageModelCard(Base):
6292
6309
  model_card_status: Optional[str] = Unassigned()
6293
6310
 
6294
6311
 
6312
+ class ModelLifeCycle(Base):
6313
+ """
6314
+ ModelLifeCycle
6315
+ A structure describing the current state of the model in its life cycle.
6316
+
6317
+ Attributes
6318
+ ----------------------
6319
+ stage: The current stage in the model life cycle.
6320
+ stage_status: The current status of a stage in model life cycle.
6321
+ stage_description: Describes the stage related details.
6322
+ """
6323
+
6324
+ stage: str
6325
+ stage_status: str
6326
+ stage_description: Optional[str] = Unassigned()
6327
+
6328
+
6295
6329
  class ModelQualityBaselineConfig(Base):
6296
6330
  """
6297
6331
  ModelQualityBaselineConfig
@@ -10896,6 +10930,7 @@ class TrainingJobSummary(Base):
10896
10930
  training_end_time: A timestamp that shows when the training job ended. This field is set only if the training job has one of the terminal statuses (Completed, Failed, or Stopped).
10897
10931
  last_modified_time: Timestamp when the training job was last modified.
10898
10932
  training_job_status: The status of the training job.
10933
+ secondary_status: The secondary status of the training job.
10899
10934
  warm_pool_status: The status of the warm pool associated with the training job.
10900
10935
  """
10901
10936
 
@@ -10905,6 +10940,7 @@ class TrainingJobSummary(Base):
10905
10940
  training_job_status: str
10906
10941
  training_end_time: Optional[datetime.datetime] = Unassigned()
10907
10942
  last_modified_time: Optional[datetime.datetime] = Unassigned()
10943
+ secondary_status: Optional[str] = Unassigned()
10908
10944
  warm_pool_status: Optional[WarmPoolStatus] = Unassigned()
10909
10945
 
10910
10946
 
@@ -11282,6 +11318,7 @@ class ModelPackage(Base):
11282
11318
  source_uri: The URI of the source for the model package.
11283
11319
  security_config
11284
11320
  model_card
11321
+ model_life_cycle: A structure describing the current state of the model in its life cycle.
11285
11322
  tags: A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
11286
11323
  customer_metadata_properties: The metadata properties for the model package.
11287
11324
  drift_check_baselines: Represents the drift check baselines that can be used when the model monitor is set using the model package.
@@ -11316,6 +11353,7 @@ class ModelPackage(Base):
11316
11353
  source_uri: Optional[str] = Unassigned()
11317
11354
  security_config: Optional[ModelPackageSecurityConfig] = Unassigned()
11318
11355
  model_card: Optional[ModelPackageModelCard] = Unassigned()
11356
+ model_life_cycle: Optional[ModelLifeCycle] = Unassigned()
11319
11357
  tags: Optional[List[Tag]] = Unassigned()
11320
11358
  customer_metadata_properties: Optional[Dict[str, str]] = Unassigned()
11321
11359
  drift_check_baselines: Optional[DriftCheckBaselines] = Unassigned()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sagemaker-core
3
- Version: 1.0.11
3
+ Version: 1.0.13
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
@@ -7,15 +7,15 @@ sagemaker_core/main/config_schema.py,sha256=TeGoTobT4yotEVyfguLF0IdKYlOymsDZ45yS
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
9
  sagemaker_core/main/logs.py,sha256=yfEH7uP91nbE1lefymOlBr81ziBzsDSIOF2Qyd54FJE,6241
10
- sagemaker_core/main/resources.py,sha256=db-1JPFeV7jlM0xnl_dGEEp_RvNpzrrbnZyk5LtYQC8,1321185
11
- sagemaker_core/main/shapes.py,sha256=Nfp0a9wTjJBP403505ck9rS6pMF8P9Kpq6PjShQOK1w,697388
10
+ sagemaker_core/main/resources.py,sha256=b6oYPs-7aQxs_R5Ql_G3TGO71gQuykobmD5HpVMdlDY,1321873
11
+ sagemaker_core/main/shapes.py,sha256=sG_Pa36B5cHb-TR-smy6xS51kujnvu-BsJt9ByZlVKE,698850
12
12
  sagemaker_core/main/user_agent.py,sha256=4sZybDXkzRoZnOnVDQ8p8zFTfiRJdsH7amDWInVQ4xU,2708
13
13
  sagemaker_core/main/utils.py,sha256=LCFDM6oxf6_e1i-_Dgtkm3ehl7YfoEpJ2kTTFTL6iOU,18471
14
14
  sagemaker_core/main/code_injection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  sagemaker_core/main/code_injection/base.py,sha256=11_Jif0nOzfbLGlXaacKf-wcizzfS64U0OSZGoVffFU,1733
16
16
  sagemaker_core/main/code_injection/codec.py,sha256=2DjmeD2uND307UqDefvVEpE0rZ8yfFU3Bi3TvQCQveI,7658
17
17
  sagemaker_core/main/code_injection/constants.py,sha256=2ICExGge8vAWx7lSTW0JGh-bH1korkvpOpDu5M63eI4,980
18
- sagemaker_core/main/code_injection/shape_dag.py,sha256=FyU_a0Jh3AVxTNVN2kjt0oHqqyHNjAgIy3G7kzqksm4,658657
18
+ sagemaker_core/main/code_injection/shape_dag.py,sha256=Akn-5sH0T8ujXuiXEOJtq5agJuRk-tKoFP04qwFx-NM,660663
19
19
  sagemaker_core/resources/__init__.py,sha256=EAYTFMN-nPjnPjjBbhIUeaL67FLKNPd7qbcbl9VIrws,31
20
20
  sagemaker_core/shapes/__init__.py,sha256=RnbIu9eTxKt-DNsOFJabrWIgrrtS9_SdAozP9JBl_ic,28
21
21
  sagemaker_core/tools/__init__.py,sha256=xX79JImxCVzrWMnjgntLCve2G5I-R4pRar5s20kT9Rs,56
@@ -28,8 +28,8 @@ sagemaker_core/tools/resources_extractor.py,sha256=hN61ehZbPnhFW-2FIVDi7NsEz4rLv
28
28
  sagemaker_core/tools/shapes_codegen.py,sha256=_ve959bwH8usZ6dPlpXxi2on9t0hLpcmhRWnaWHCWMQ,11745
29
29
  sagemaker_core/tools/shapes_extractor.py,sha256=4KjgDmhlPM4G1f1NeYbORKlXs1s7Q_sm_NK31S_ROQ0,11950
30
30
  sagemaker_core/tools/templates.py,sha256=yX2RQKeClgYwKS5Qu_mDpnWJIBCuj0yELrdm95aiTpk,23262
31
- sagemaker_core-1.0.11.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
32
- sagemaker_core-1.0.11.dist-info/METADATA,sha256=81rMU_96k8Ki06GRNPUpAE4pn-MyvHAj8ej--nix5jU,4878
33
- sagemaker_core-1.0.11.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
34
- sagemaker_core-1.0.11.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
35
- sagemaker_core-1.0.11.dist-info/RECORD,,
31
+ sagemaker_core-1.0.13.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
32
+ sagemaker_core-1.0.13.dist-info/METADATA,sha256=3e90CliozddoYVt0JUQgADZQ2I38nOlQl-x222rmWuY,4878
33
+ sagemaker_core-1.0.13.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
34
+ sagemaker_core-1.0.13.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
35
+ sagemaker_core-1.0.13.dist-info/RECORD,,