sagemaker-core 1.0.27__py3-none-any.whl → 1.0.28__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 +12 -0
- sagemaker_core/main/resources.py +12 -1
- sagemaker_core/main/shapes.py +17 -0
- {sagemaker_core-1.0.27.dist-info → sagemaker_core-1.0.28.dist-info}/METADATA +1 -1
- {sagemaker_core-1.0.27.dist-info → sagemaker_core-1.0.28.dist-info}/RECORD +8 -8
- {sagemaker_core-1.0.27.dist-info → sagemaker_core-1.0.28.dist-info}/WHEEL +0 -0
- {sagemaker_core-1.0.27.dist-info → sagemaker_core-1.0.28.dist-info}/licenses/LICENSE +0 -0
- {sagemaker_core-1.0.27.dist-info → sagemaker_core-1.0.28.dist-info}/top_level.txt +0 -0
|
@@ -1817,6 +1817,7 @@ SHAPE_DAG = {
|
|
|
1817
1817
|
{"name": "AppName", "shape": "AppName", "type": "string"},
|
|
1818
1818
|
{"name": "Tags", "shape": "TagList", "type": "list"},
|
|
1819
1819
|
{"name": "ResourceSpec", "shape": "ResourceSpec", "type": "structure"},
|
|
1820
|
+
{"name": "RecoveryMode", "shape": "Boolean", "type": "boolean"},
|
|
1820
1821
|
],
|
|
1821
1822
|
"type": "structure",
|
|
1822
1823
|
},
|
|
@@ -2743,6 +2744,7 @@ SHAPE_DAG = {
|
|
|
2743
2744
|
},
|
|
2744
2745
|
{"name": "OnCreate", "shape": "NotebookInstanceLifecycleConfigList", "type": "list"},
|
|
2745
2746
|
{"name": "OnStart", "shape": "NotebookInstanceLifecycleConfigList", "type": "list"},
|
|
2747
|
+
{"name": "Tags", "shape": "TagList", "type": "list"},
|
|
2746
2748
|
],
|
|
2747
2749
|
"type": "structure",
|
|
2748
2750
|
},
|
|
@@ -4053,6 +4055,7 @@ SHAPE_DAG = {
|
|
|
4053
4055
|
{"name": "UserProfileName", "shape": "UserProfileName", "type": "string"},
|
|
4054
4056
|
{"name": "SpaceName", "shape": "SpaceName", "type": "string"},
|
|
4055
4057
|
{"name": "Status", "shape": "AppStatus", "type": "string"},
|
|
4058
|
+
{"name": "RecoveryMode", "shape": "Boolean", "type": "boolean"},
|
|
4056
4059
|
{"name": "LastHealthCheckTimestamp", "shape": "Timestamp", "type": "timestamp"},
|
|
4057
4060
|
{"name": "LastUserActivityTimestamp", "shape": "Timestamp", "type": "timestamp"},
|
|
4058
4061
|
{"name": "CreationTime", "shape": "Timestamp", "type": "timestamp"},
|
|
@@ -13337,6 +13340,7 @@ SHAPE_DAG = {
|
|
|
13337
13340
|
"members": [
|
|
13338
13341
|
{"name": "Results", "shape": "SearchResultsList", "type": "list"},
|
|
13339
13342
|
{"name": "NextToken", "shape": "NextToken", "type": "string"},
|
|
13343
|
+
{"name": "TotalHits", "shape": "TotalHits", "type": "structure"},
|
|
13340
13344
|
],
|
|
13341
13345
|
"type": "structure",
|
|
13342
13346
|
},
|
|
@@ -14088,6 +14092,13 @@ SHAPE_DAG = {
|
|
|
14088
14092
|
],
|
|
14089
14093
|
"type": "structure",
|
|
14090
14094
|
},
|
|
14095
|
+
"TotalHits": {
|
|
14096
|
+
"members": [
|
|
14097
|
+
{"name": "Value", "shape": "Long", "type": "long"},
|
|
14098
|
+
{"name": "Relation", "shape": "Relation", "type": "string"},
|
|
14099
|
+
],
|
|
14100
|
+
"type": "structure",
|
|
14101
|
+
},
|
|
14091
14102
|
"TrackingServerSummary": {
|
|
14092
14103
|
"members": [
|
|
14093
14104
|
{"name": "TrackingServerArn", "shape": "TrackingServerArn", "type": "string"},
|
|
@@ -14488,6 +14499,7 @@ SHAPE_DAG = {
|
|
|
14488
14499
|
{"name": "InstanceType", "shape": "TransformInstanceType", "type": "string"},
|
|
14489
14500
|
{"name": "InstanceCount", "shape": "TransformInstanceCount", "type": "integer"},
|
|
14490
14501
|
{"name": "VolumeKmsKeyId", "shape": "KmsKeyId", "type": "string"},
|
|
14502
|
+
{"name": "TransformAmiVersion", "shape": "TransformAmiVersion", "type": "string"},
|
|
14491
14503
|
],
|
|
14492
14504
|
"type": "structure",
|
|
14493
14505
|
},
|
sagemaker_core/main/resources.py
CHANGED
|
@@ -974,6 +974,7 @@ class App(Base):
|
|
|
974
974
|
user_profile_name: The user profile name.
|
|
975
975
|
space_name: The name of the space. If this value is not set, then UserProfileName must be set.
|
|
976
976
|
status: The status.
|
|
977
|
+
recovery_mode: Indicates whether the application is launched in recovery mode.
|
|
977
978
|
last_health_check_timestamp: The timestamp of the last health check.
|
|
978
979
|
last_user_activity_timestamp: The timestamp of the last user's activity. LastUserActivityTimestamp is also updated when SageMaker AI performs health checks without user activity. As a result, this value is set to the same value as LastHealthCheckTimestamp.
|
|
979
980
|
creation_time: The creation time of the application. After an application has been shut down for 24 hours, SageMaker AI deletes all metadata for the application. To be considered an update and retain application metadata, applications must be restarted within 24 hours after the previous application has been shut down. After this time window, creation of an application is considered a new application rather than an update of the previous application.
|
|
@@ -990,6 +991,7 @@ class App(Base):
|
|
|
990
991
|
user_profile_name: Optional[str] = Unassigned()
|
|
991
992
|
space_name: Optional[str] = Unassigned()
|
|
992
993
|
status: Optional[str] = Unassigned()
|
|
994
|
+
recovery_mode: Optional[bool] = Unassigned()
|
|
993
995
|
last_health_check_timestamp: Optional[datetime.datetime] = Unassigned()
|
|
994
996
|
last_user_activity_timestamp: Optional[datetime.datetime] = Unassigned()
|
|
995
997
|
creation_time: Optional[datetime.datetime] = Unassigned()
|
|
@@ -1024,6 +1026,7 @@ class App(Base):
|
|
|
1024
1026
|
space_name: Optional[Union[str, object]] = Unassigned(),
|
|
1025
1027
|
tags: Optional[List[Tag]] = Unassigned(),
|
|
1026
1028
|
resource_spec: Optional[ResourceSpec] = Unassigned(),
|
|
1029
|
+
recovery_mode: Optional[bool] = Unassigned(),
|
|
1027
1030
|
session: Optional[Session] = None,
|
|
1028
1031
|
region: Optional[str] = None,
|
|
1029
1032
|
) -> Optional["App"]:
|
|
@@ -1038,6 +1041,7 @@ class App(Base):
|
|
|
1038
1041
|
space_name: The name of the space. If this value is not set, then UserProfileName must be set.
|
|
1039
1042
|
tags: Each tag consists of a key and an optional value. Tag keys must be unique per resource.
|
|
1040
1043
|
resource_spec: The instance type and the Amazon Resource Name (ARN) of the SageMaker AI image created on the instance. The value of InstanceType passed as part of the ResourceSpec in the CreateApp call overrides the value passed as part of the ResourceSpec configured for the user profile or the domain. If InstanceType is not specified in any of those three ResourceSpec values for a KernelGateway app, the CreateApp call fails with a request validation error.
|
|
1044
|
+
recovery_mode: Indicates whether the application is launched in recovery mode.
|
|
1041
1045
|
session: Boto3 session.
|
|
1042
1046
|
region: Region name.
|
|
1043
1047
|
|
|
@@ -1074,6 +1078,7 @@ class App(Base):
|
|
|
1074
1078
|
"AppName": app_name,
|
|
1075
1079
|
"Tags": tags,
|
|
1076
1080
|
"ResourceSpec": resource_spec,
|
|
1081
|
+
"RecoveryMode": recovery_mode,
|
|
1077
1082
|
}
|
|
1078
1083
|
|
|
1079
1084
|
operation_input_args = Base.populate_chained_attributes(
|
|
@@ -22868,6 +22873,7 @@ class NotebookInstanceLifecycleConfig(Base):
|
|
|
22868
22873
|
notebook_instance_lifecycle_config_name: str,
|
|
22869
22874
|
on_create: Optional[List[NotebookInstanceLifecycleHook]] = Unassigned(),
|
|
22870
22875
|
on_start: Optional[List[NotebookInstanceLifecycleHook]] = Unassigned(),
|
|
22876
|
+
tags: Optional[List[Tag]] = Unassigned(),
|
|
22871
22877
|
session: Optional[Session] = None,
|
|
22872
22878
|
region: Optional[str] = None,
|
|
22873
22879
|
) -> Optional["NotebookInstanceLifecycleConfig"]:
|
|
@@ -22878,6 +22884,7 @@ class NotebookInstanceLifecycleConfig(Base):
|
|
|
22878
22884
|
notebook_instance_lifecycle_config_name: The name of the lifecycle configuration.
|
|
22879
22885
|
on_create: A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
|
|
22880
22886
|
on_start: A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.
|
|
22887
|
+
tags: An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
|
|
22881
22888
|
session: Boto3 session.
|
|
22882
22889
|
region: Region name.
|
|
22883
22890
|
|
|
@@ -22909,6 +22916,7 @@ class NotebookInstanceLifecycleConfig(Base):
|
|
|
22909
22916
|
"NotebookInstanceLifecycleConfigName": notebook_instance_lifecycle_config_name,
|
|
22910
22917
|
"OnCreate": on_create,
|
|
22911
22918
|
"OnStart": on_start,
|
|
22919
|
+
"Tags": tags,
|
|
22912
22920
|
}
|
|
22913
22921
|
|
|
22914
22922
|
operation_input_args = Base.populate_chained_attributes(
|
|
@@ -23690,7 +23698,10 @@ class PartnerApp(Base):
|
|
|
23690
23698
|
def populate_inputs_decorator(create_func):
|
|
23691
23699
|
@functools.wraps(create_func)
|
|
23692
23700
|
def wrapper(*args, **kwargs):
|
|
23693
|
-
config_schema_for_resource = {
|
|
23701
|
+
config_schema_for_resource = {
|
|
23702
|
+
"execution_role_arn": {"type": "string"},
|
|
23703
|
+
"kms_key_id": {"type": "string"},
|
|
23704
|
+
}
|
|
23694
23705
|
return create_func(
|
|
23695
23706
|
*args,
|
|
23696
23707
|
**Base.get_updated_kwargs_with_configured_attributes(
|
sagemaker_core/main/shapes.py
CHANGED
|
@@ -1120,11 +1120,13 @@ class TransformResources(Base):
|
|
|
1120
1120
|
instance_type: The ML compute instance type for the transform job. If you are using built-in algorithms to transform moderately sized datasets, we recommend using ml.m4.xlarge or ml.m5.largeinstance types.
|
|
1121
1121
|
instance_count: The number of ML compute instances to use in the transform job. The default value is 1, and the maximum is 100. For distributed transform jobs, specify a value greater than 1.
|
|
1122
1122
|
volume_kms_key_id: The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt model data on the storage volume attached to the ML compute instance(s) that run the batch transform job. Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a VolumeKmsKeyId when using an instance type with local storage. For a list of instance types that support local instance storage, see Instance Store Volumes. For more information about local instance storage encryption, see SSD Instance Store Volumes. The VolumeKmsKeyId can be any of the following formats: Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab Alias name: alias/ExampleAlias Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
|
|
1123
|
+
transform_ami_version: Specifies an option from a collection of preconfigured Amazon Machine Image (AMI) images. Each image is configured by Amazon Web Services with a set of software and driver versions. al2-ami-sagemaker-batch-gpu-470 Accelerator: GPU NVIDIA driver version: 470 al2-ami-sagemaker-batch-gpu-535 Accelerator: GPU NVIDIA driver version: 535
|
|
1123
1124
|
"""
|
|
1124
1125
|
|
|
1125
1126
|
instance_type: str
|
|
1126
1127
|
instance_count: int
|
|
1127
1128
|
volume_kms_key_id: Optional[str] = Unassigned()
|
|
1129
|
+
transform_ami_version: Optional[str] = Unassigned()
|
|
1128
1130
|
|
|
1129
1131
|
|
|
1130
1132
|
class TransformJobDefinition(Base):
|
|
@@ -12520,6 +12522,21 @@ class VisibilityConditions(Base):
|
|
|
12520
12522
|
value: Optional[str] = Unassigned()
|
|
12521
12523
|
|
|
12522
12524
|
|
|
12525
|
+
class TotalHits(Base):
|
|
12526
|
+
"""
|
|
12527
|
+
TotalHits
|
|
12528
|
+
Represents the total number of matching results and indicates how accurate that count is. The Value field provides the count, which may be exact or estimated. The Relation field indicates whether it's an exact figure or a lower bound. This helps understand the full scope of search results, especially when dealing with large result sets.
|
|
12529
|
+
|
|
12530
|
+
Attributes
|
|
12531
|
+
----------------------
|
|
12532
|
+
value: The total number of matching results. This value may be exact or an estimate, depending on the Relation field.
|
|
12533
|
+
relation: Indicates the relationship between the returned Value and the actual total number of matching results. Possible values are: EqualTo: The Value is the exact count of matching results. GreaterThanOrEqualTo: The Value is a lower bound of the actual count of matching results.
|
|
12534
|
+
"""
|
|
12535
|
+
|
|
12536
|
+
value: Optional[int] = Unassigned()
|
|
12537
|
+
relation: Optional[str] = Unassigned()
|
|
12538
|
+
|
|
12539
|
+
|
|
12523
12540
|
class TrainingPlanOffering(Base):
|
|
12524
12541
|
"""
|
|
12525
12542
|
TrainingPlanOffering
|
|
@@ -7,15 +7,15 @@ sagemaker_core/main/config_schema.py,sha256=lBwIm5CT_dSXeW5i6cgRzbiLDjs0qtH1FrM7
|
|
|
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=ezCu5Hqw9OYu8-rLrC6jJPZYEaUAghJ5rxcsb1XkXRw,1413476
|
|
11
|
+
sagemaker_core/main/shapes.py,sha256=tpq9dp4X1aKDOGNQwt3pslrMMAetQfxJv-oLY-ovYvc,731767
|
|
12
12
|
sagemaker_core/main/user_agent.py,sha256=BPYDAfDd70ObP-VAjl7aDHALHyGknkpRP21ktVr_LDw,2744
|
|
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=nA51E9iNWHyKou1G23rKSRL4WitdkFRbMuFkyrGHzKU,8428
|
|
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=YE-5PMUXhjByNNt0ymf6jvYogRBiPpmc2as2-lAb3Xs,699939
|
|
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=GFy55JHGW0V8cwN5SL5gGLUxihLGswueyh5iNCn1sYk,12310
|
|
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.28.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
32
|
+
sagemaker_core-1.0.28.dist-info/METADATA,sha256=Lj262X_K44xPQGa6JyHPdVbtzKNlzFAIhBqneT9M79A,4885
|
|
33
|
+
sagemaker_core-1.0.28.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
34
|
+
sagemaker_core-1.0.28.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
|
|
35
|
+
sagemaker_core-1.0.28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|