sagemaker-core 1.0.11__tar.gz → 1.0.12__tar.gz

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.

Files changed (43) hide show
  1. {sagemaker_core-1.0.11/src/sagemaker_core.egg-info → sagemaker_core-1.0.12}/PKG-INFO +1 -1
  2. sagemaker_core-1.0.12/VERSION +1 -0
  3. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/code_injection/shape_dag.py +13 -0
  4. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/resources.py +10 -0
  5. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/shapes.py +19 -0
  6. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12/src/sagemaker_core.egg-info}/PKG-INFO +1 -1
  7. sagemaker_core-1.0.11/VERSION +0 -1
  8. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/LICENSE +0 -0
  9. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/MANIFEST.in +0 -0
  10. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/README.rst +0 -0
  11. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/pyproject.toml +0 -0
  12. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/setup.cfg +0 -0
  13. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/__init__.py +0 -0
  14. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/_version.py +0 -0
  15. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/helper/__init__.py +0 -0
  16. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/helper/session_helper.py +0 -0
  17. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/__init__.py +0 -0
  18. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/code_injection/__init__.py +0 -0
  19. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/code_injection/base.py +0 -0
  20. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/code_injection/codec.py +0 -0
  21. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/code_injection/constants.py +0 -0
  22. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/config_schema.py +0 -0
  23. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/exceptions.py +0 -0
  24. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/intelligent_defaults_helper.py +0 -0
  25. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/logs.py +0 -0
  26. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/user_agent.py +0 -0
  27. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/main/utils.py +0 -0
  28. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/resources/__init__.py +0 -0
  29. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/shapes/__init__.py +0 -0
  30. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/tools/__init__.py +0 -0
  31. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/tools/codegen.py +0 -0
  32. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/tools/constants.py +0 -0
  33. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/tools/data_extractor.py +0 -0
  34. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/tools/method.py +0 -0
  35. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/tools/resources_codegen.py +0 -0
  36. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/tools/resources_extractor.py +0 -0
  37. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/tools/shapes_codegen.py +0 -0
  38. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/tools/shapes_extractor.py +0 -0
  39. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core/tools/templates.py +0 -0
  40. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core.egg-info/SOURCES.txt +0 -0
  41. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core.egg-info/dependency_links.txt +0 -0
  42. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core.egg-info/requires.txt +0 -0
  43. {sagemaker_core-1.0.11 → sagemaker_core-1.0.12}/src/sagemaker_core.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sagemaker-core
3
- Version: 1.0.11
3
+ Version: 1.0.12
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
@@ -0,0 +1 @@
1
+ 1.0.12
@@ -2456,6 +2456,7 @@ SHAPE_DAG = {
2456
2456
  {"name": "SourceUri", "shape": "ModelPackageSourceUri", "type": "string"},
2457
2457
  {"name": "SecurityConfig", "shape": "ModelPackageSecurityConfig", "type": "structure"},
2458
2458
  {"name": "ModelCard", "shape": "ModelPackageModelCard", "type": "structure"},
2459
+ {"name": "ModelLifeCycle", "shape": "ModelLifeCycle", "type": "structure"},
2459
2460
  ],
2460
2461
  "type": "structure",
2461
2462
  },
@@ -4969,6 +4970,7 @@ SHAPE_DAG = {
4969
4970
  {"name": "SourceUri", "shape": "ModelPackageSourceUri", "type": "string"},
4970
4971
  {"name": "SecurityConfig", "shape": "ModelPackageSecurityConfig", "type": "structure"},
4971
4972
  {"name": "ModelCard", "shape": "ModelPackageModelCard", "type": "structure"},
4973
+ {"name": "ModelLifeCycle", "shape": "ModelLifeCycle", "type": "structure"},
4972
4974
  ],
4973
4975
  "type": "structure",
4974
4976
  },
@@ -10102,6 +10104,14 @@ SHAPE_DAG = {
10102
10104
  "member_type": "structure",
10103
10105
  "type": "list",
10104
10106
  },
10107
+ "ModelLifeCycle": {
10108
+ "members": [
10109
+ {"name": "Stage", "shape": "EntityName", "type": "string"},
10110
+ {"name": "StageStatus", "shape": "EntityName", "type": "string"},
10111
+ {"name": "StageDescription", "shape": "StageDescription", "type": "string"},
10112
+ ],
10113
+ "type": "structure",
10114
+ },
10105
10115
  "ModelMetadataFilter": {
10106
10116
  "members": [
10107
10117
  {"name": "Name", "shape": "ModelMetadataFilterType", "type": "string"},
@@ -10194,6 +10204,7 @@ SHAPE_DAG = {
10194
10204
  {"name": "SourceUri", "shape": "ModelPackageSourceUri", "type": "string"},
10195
10205
  {"name": "SecurityConfig", "shape": "ModelPackageSecurityConfig", "type": "structure"},
10196
10206
  {"name": "ModelCard", "shape": "ModelPackageModelCard", "type": "structure"},
10207
+ {"name": "ModelLifeCycle", "shape": "ModelLifeCycle", "type": "structure"},
10197
10208
  {"name": "Tags", "shape": "TagList", "type": "list"},
10198
10209
  {"name": "CustomerMetadataProperties", "shape": "CustomerMetadataMap", "type": "map"},
10199
10210
  {"name": "DriftCheckBaselines", "shape": "DriftCheckBaselines", "type": "structure"},
@@ -14337,6 +14348,8 @@ SHAPE_DAG = {
14337
14348
  },
14338
14349
  {"name": "SourceUri", "shape": "ModelPackageSourceUri", "type": "string"},
14339
14350
  {"name": "ModelCard", "shape": "ModelPackageModelCard", "type": "structure"},
14351
+ {"name": "ModelLifeCycle", "shape": "ModelLifeCycle", "type": "structure"},
14352
+ {"name": "ClientToken", "shape": "ClientToken", "type": "string"},
14340
14353
  ],
14341
14354
  "type": "structure",
14342
14355
  },
@@ -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
@@ -6292,6 +6292,23 @@ class ModelPackageModelCard(Base):
6292
6292
  model_card_status: Optional[str] = Unassigned()
6293
6293
 
6294
6294
 
6295
+ class ModelLifeCycle(Base):
6296
+ """
6297
+ ModelLifeCycle
6298
+ A structure describing the current state of the model in its life cycle.
6299
+
6300
+ Attributes
6301
+ ----------------------
6302
+ stage: The current stage in the model life cycle.
6303
+ stage_status: The current status of a stage in model life cycle.
6304
+ stage_description: Describes the stage related details.
6305
+ """
6306
+
6307
+ stage: str
6308
+ stage_status: str
6309
+ stage_description: Optional[str] = Unassigned()
6310
+
6311
+
6295
6312
  class ModelQualityBaselineConfig(Base):
6296
6313
  """
6297
6314
  ModelQualityBaselineConfig
@@ -11282,6 +11299,7 @@ class ModelPackage(Base):
11282
11299
  source_uri: The URI of the source for the model package.
11283
11300
  security_config
11284
11301
  model_card
11302
+ model_life_cycle: A structure describing the current state of the model in its life cycle.
11285
11303
  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
11304
  customer_metadata_properties: The metadata properties for the model package.
11287
11305
  drift_check_baselines: Represents the drift check baselines that can be used when the model monitor is set using the model package.
@@ -11316,6 +11334,7 @@ class ModelPackage(Base):
11316
11334
  source_uri: Optional[str] = Unassigned()
11317
11335
  security_config: Optional[ModelPackageSecurityConfig] = Unassigned()
11318
11336
  model_card: Optional[ModelPackageModelCard] = Unassigned()
11337
+ model_life_cycle: Optional[ModelLifeCycle] = Unassigned()
11319
11338
  tags: Optional[List[Tag]] = Unassigned()
11320
11339
  customer_metadata_properties: Optional[Dict[str, str]] = Unassigned()
11321
11340
  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.12
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
@@ -1 +0,0 @@
1
- 1.0.11
File without changes