sagemaker-core 1.0.11__py3-none-any.whl → 1.0.12__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 +13 -0
- sagemaker_core/main/resources.py +10 -0
- sagemaker_core/main/shapes.py +19 -0
- {sagemaker_core-1.0.11.dist-info → sagemaker_core-1.0.12.dist-info}/METADATA +1 -1
- {sagemaker_core-1.0.11.dist-info → sagemaker_core-1.0.12.dist-info}/RECORD +8 -8
- {sagemaker_core-1.0.11.dist-info → sagemaker_core-1.0.12.dist-info}/LICENSE +0 -0
- {sagemaker_core-1.0.11.dist-info → sagemaker_core-1.0.12.dist-info}/WHEEL +0 -0
- {sagemaker_core-1.0.11.dist-info → sagemaker_core-1.0.12.dist-info}/top_level.txt +0 -0
|
@@ -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
|
},
|
sagemaker_core/main/resources.py
CHANGED
|
@@ -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
|
sagemaker_core/main/shapes.py
CHANGED
|
@@ -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()
|
|
@@ -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=
|
|
11
|
-
sagemaker_core/main/shapes.py,sha256=
|
|
10
|
+
sagemaker_core/main/resources.py,sha256=b6oYPs-7aQxs_R5Ql_G3TGO71gQuykobmD5HpVMdlDY,1321873
|
|
11
|
+
sagemaker_core/main/shapes.py,sha256=bhMPIF2D-8ZpP-m2HdebHj7EQcqzq9Iz0LuNSUiR8dE,698010
|
|
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=
|
|
18
|
+
sagemaker_core/main/code_injection/shape_dag.py,sha256=Kmv27Znp4AKYoocm7urZAW2OFJboTJd2jA5FigiFM8w,659419
|
|
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.
|
|
32
|
-
sagemaker_core-1.0.
|
|
33
|
-
sagemaker_core-1.0.
|
|
34
|
-
sagemaker_core-1.0.
|
|
35
|
-
sagemaker_core-1.0.
|
|
31
|
+
sagemaker_core-1.0.12.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
32
|
+
sagemaker_core-1.0.12.dist-info/METADATA,sha256=D3PfM1phfSdsCn28CHTR9Flm4Yo8Ano6d6XnHYuVJbs,4878
|
|
33
|
+
sagemaker_core-1.0.12.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
34
|
+
sagemaker_core-1.0.12.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
|
|
35
|
+
sagemaker_core-1.0.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|