sagemaker-core 1.0.23__py3-none-any.whl → 1.0.24__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 +10 -0
- sagemaker_core/main/resources.py +5 -0
- {sagemaker_core-1.0.23.dist-info → sagemaker_core-1.0.24.dist-info}/METADATA +1 -1
- {sagemaker_core-1.0.23.dist-info → sagemaker_core-1.0.24.dist-info}/RECORD +7 -7
- {sagemaker_core-1.0.23.dist-info → sagemaker_core-1.0.24.dist-info}/LICENSE +0 -0
- {sagemaker_core-1.0.23.dist-info → sagemaker_core-1.0.24.dist-info}/WHEEL +0 -0
- {sagemaker_core-1.0.23.dist-info → sagemaker_core-1.0.24.dist-info}/top_level.txt +0 -0
|
@@ -1304,6 +1304,11 @@ SHAPE_DAG = {
|
|
|
1304
1304
|
"member_type": "structure",
|
|
1305
1305
|
"type": "list",
|
|
1306
1306
|
},
|
|
1307
|
+
"ClusterInstanceGroupsToDelete": {
|
|
1308
|
+
"member_shape": "ClusterInstanceGroupName",
|
|
1309
|
+
"member_type": "string",
|
|
1310
|
+
"type": "list",
|
|
1311
|
+
},
|
|
1307
1312
|
"ClusterInstancePlacement": {
|
|
1308
1313
|
"members": [
|
|
1309
1314
|
{"name": "AvailabilityZone", "shape": "ClusterAvailabilityZone", "type": "string"},
|
|
@@ -14737,6 +14742,11 @@ SHAPE_DAG = {
|
|
|
14737
14742
|
"type": "list",
|
|
14738
14743
|
},
|
|
14739
14744
|
{"name": "NodeRecovery", "shape": "ClusterNodeRecovery", "type": "string"},
|
|
14745
|
+
{
|
|
14746
|
+
"name": "InstanceGroupsToDelete",
|
|
14747
|
+
"shape": "ClusterInstanceGroupsToDelete",
|
|
14748
|
+
"type": "list",
|
|
14749
|
+
},
|
|
14740
14750
|
],
|
|
14741
14751
|
"type": "structure",
|
|
14742
14752
|
},
|
sagemaker_core/main/resources.py
CHANGED
|
@@ -3430,10 +3430,14 @@ class Cluster(Base):
|
|
|
3430
3430
|
self,
|
|
3431
3431
|
instance_groups: List[ClusterInstanceGroupSpecification],
|
|
3432
3432
|
node_recovery: Optional[str] = Unassigned(),
|
|
3433
|
+
instance_groups_to_delete: Optional[List[str]] = Unassigned(),
|
|
3433
3434
|
) -> Optional["Cluster"]:
|
|
3434
3435
|
"""
|
|
3435
3436
|
Update a Cluster resource
|
|
3436
3437
|
|
|
3438
|
+
Parameters:
|
|
3439
|
+
instance_groups_to_delete: Specify the names of the instance groups to delete. Use a single , as the separator between multiple names.
|
|
3440
|
+
|
|
3437
3441
|
Returns:
|
|
3438
3442
|
The Cluster resource.
|
|
3439
3443
|
|
|
@@ -3459,6 +3463,7 @@ class Cluster(Base):
|
|
|
3459
3463
|
"ClusterName": self.cluster_name,
|
|
3460
3464
|
"InstanceGroups": instance_groups,
|
|
3461
3465
|
"NodeRecovery": node_recovery,
|
|
3466
|
+
"InstanceGroupsToDelete": instance_groups_to_delete,
|
|
3462
3467
|
}
|
|
3463
3468
|
logger.debug(f"Input request: {operation_input_args}")
|
|
3464
3469
|
# serialize the input request
|
|
@@ -7,7 +7,7 @@ sagemaker_core/main/config_schema.py,sha256=kfQvf_japrsitTwXTdUaYhOPqKTBBwIE_-eb
|
|
|
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=
|
|
10
|
+
sagemaker_core/main/resources.py,sha256=UBYwnQkY6sug5lK4ktVqPGgILd05ipiv1j6DsWoRNfo,1406930
|
|
11
11
|
sagemaker_core/main/shapes.py,sha256=Qc1WgESEkHZzJf0UA5bTusGZXqclg1AH3PQvqnYi2Ns,725855
|
|
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
|
|
@@ -15,7 +15,7 @@ sagemaker_core/main/code_injection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
|
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=17vQsBNOgFuaXAJ3gZJXt0Ng03_Li1qKKZD_4DyE3S8,694719
|
|
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.24.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
32
|
+
sagemaker_core-1.0.24.dist-info/METADATA,sha256=poWIgTMeC_9duAsGnzQgqJ9T_mOADw3yGjmUGJEs6xU,4863
|
|
33
|
+
sagemaker_core-1.0.24.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
34
|
+
sagemaker_core-1.0.24.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
|
|
35
|
+
sagemaker_core-1.0.24.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|