sagemaker-core 1.0.1__tar.gz → 1.0.3__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 (42) hide show
  1. {sagemaker_core-1.0.1/src/sagemaker_core.egg-info → sagemaker_core-1.0.3}/PKG-INFO +3 -2
  2. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/README.rst +3 -2
  3. sagemaker_core-1.0.3/VERSION +1 -0
  4. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/pyproject.toml +1 -0
  5. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/code_injection/shape_dag.py +49 -3
  6. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/resources.py +1058 -411
  7. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/shapes.py +70 -2
  8. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/utils.py +6 -1
  9. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/tools/constants.py +2 -0
  10. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/tools/resources_codegen.py +9 -6
  11. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/tools/templates.py +24 -11
  12. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3/src/sagemaker_core.egg-info}/PKG-INFO +3 -2
  13. sagemaker_core-1.0.1/VERSION +0 -1
  14. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/LICENSE +0 -0
  15. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/MANIFEST.in +0 -0
  16. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/setup.cfg +0 -0
  17. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/__init__.py +0 -0
  18. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/_version.py +0 -0
  19. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/helper/__init__.py +0 -0
  20. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/helper/session_helper.py +0 -0
  21. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/__init__.py +0 -0
  22. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/code_injection/__init__.py +0 -0
  23. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/code_injection/base.py +0 -0
  24. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/code_injection/codec.py +0 -0
  25. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/code_injection/constants.py +0 -0
  26. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/config_schema.py +0 -0
  27. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/exceptions.py +0 -0
  28. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/intelligent_defaults_helper.py +0 -0
  29. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/main/user_agent.py +0 -0
  30. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/resources/__init__.py +0 -0
  31. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/shapes/__init__.py +0 -0
  32. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/tools/__init__.py +0 -0
  33. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/tools/codegen.py +0 -0
  34. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/tools/data_extractor.py +0 -0
  35. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/tools/method.py +0 -0
  36. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/tools/resources_extractor.py +0 -0
  37. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/tools/shapes_codegen.py +0 -0
  38. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core/tools/shapes_extractor.py +0 -0
  39. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core.egg-info/SOURCES.txt +0 -0
  40. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core.egg-info/dependency_links.txt +0 -0
  41. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/src/sagemaker_core.egg-info/requires.txt +0 -0
  42. {sagemaker_core-1.0.1 → sagemaker_core-1.0.3}/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.1
3
+ Version: 1.0.3
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
@@ -75,7 +75,8 @@ Benefits
75
75
 
76
76
  Docs and Examples
77
77
  -----------------
78
+ Learn more about the sagemaker-core SDK and its features by visting the `What's New Announcement <https://aws.amazon.com/about-aws/whats-new/2024/09/sagemaker-core-object-oriented-sdk-amazon-sagemaker>`_.
78
79
 
79
- For examples and walkthroughs, see the `SageMaker Core Examples <https://github.com/aws/amazon-sagemaker-examples/tree/default/sagemaker-core>`_.
80
+ For examples and walkthroughs, see the `SageMaker Core Examples <https://github.com/aws/amazon-sagemaker-examples/tree/default/%20%20%20%20%20%20%20%20%20sagemaker-core>`_.
80
81
 
81
82
  For detailed documentation, including the API reference, see `Read the Docs <https://sagemaker-core.readthedocs.io>`_.
@@ -44,7 +44,8 @@ Benefits
44
44
 
45
45
  Docs and Examples
46
46
  -----------------
47
+ Learn more about the sagemaker-core SDK and its features by visting the `What's New Announcement <https://aws.amazon.com/about-aws/whats-new/2024/09/sagemaker-core-object-oriented-sdk-amazon-sagemaker>`_.
47
48
 
48
- For examples and walkthroughs, see the `SageMaker Core Examples <https://github.com/aws/amazon-sagemaker-examples/tree/default/sagemaker-core>`_.
49
+ For examples and walkthroughs, see the `SageMaker Core Examples <https://github.com/aws/amazon-sagemaker-examples/tree/default/%20%20%20%20%20%20%20%20%20sagemaker-core>`_.
49
50
 
50
- For detailed documentation, including the API reference, see `Read the Docs <https://sagemaker-core.readthedocs.io>`_.
51
+ For detailed documentation, including the API reference, see `Read the Docs <https://sagemaker-core.readthedocs.io>`_.
@@ -0,0 +1 @@
1
+ 1.0.3
@@ -46,6 +46,7 @@ Repository = "https://github.com/aws/sagemaker-core.git"
46
46
 
47
47
  [tool.black]
48
48
  line-length = 100
49
+ exclude = '\.ipynb$'
49
50
 
50
51
  [tool.setuptools.dynamic]
51
52
  version = { attr = "sagemaker_core._version.__version__"}
@@ -255,6 +255,10 @@ SHAPE_DAG = {
255
255
  "member_type": "structure",
256
256
  "type": "list",
257
257
  },
258
+ "AppLifecycleManagement": {
259
+ "members": [{"name": "IdleSettings", "shape": "IdleSettings", "type": "structure"}],
260
+ "type": "structure",
261
+ },
258
262
  "AppList": {"member_shape": "AppDetails", "member_type": "structure", "type": "list"},
259
263
  "AppSpecification": {
260
264
  "members": [
@@ -1127,7 +1131,7 @@ SHAPE_DAG = {
1127
1131
  {"name": "InstanceGroupName", "shape": "ClusterInstanceGroupName", "type": "string"},
1128
1132
  {"name": "InstanceType", "shape": "ClusterInstanceType", "type": "string"},
1129
1133
  {"name": "LifeCycleConfig", "shape": "ClusterLifeCycleConfig", "type": "structure"},
1130
- {"name": "ExecutionRole", "shape": "RoleArn", "type": "string"},
1134
+ {"name": "ExecutionRole", "shape": "IAMRoleArn", "type": "string"},
1131
1135
  {"name": "ThreadsPerCore", "shape": "ClusterThreadsPerCore", "type": "integer"},
1132
1136
  {
1133
1137
  "name": "InstanceStorageConfigs",
@@ -1148,7 +1152,7 @@ SHAPE_DAG = {
1148
1152
  {"name": "InstanceGroupName", "shape": "ClusterInstanceGroupName", "type": "string"},
1149
1153
  {"name": "InstanceType", "shape": "ClusterInstanceType", "type": "string"},
1150
1154
  {"name": "LifeCycleConfig", "shape": "ClusterLifeCycleConfig", "type": "structure"},
1151
- {"name": "ExecutionRole", "shape": "RoleArn", "type": "string"},
1155
+ {"name": "ExecutionRole", "shape": "IAMRoleArn", "type": "string"},
1152
1156
  {"name": "ThreadsPerCore", "shape": "ClusterThreadsPerCore", "type": "integer"},
1153
1157
  {
1154
1158
  "name": "InstanceStorageConfigs",
@@ -1264,6 +1268,11 @@ SHAPE_DAG = {
1264
1268
  {"name": "DefaultResourceSpec", "shape": "ResourceSpec", "type": "structure"},
1265
1269
  {"name": "CustomImages", "shape": "CustomImages", "type": "list"},
1266
1270
  {"name": "LifecycleConfigArns", "shape": "LifecycleConfigArns", "type": "list"},
1271
+ {
1272
+ "name": "AppLifecycleManagement",
1273
+ "shape": "AppLifecycleManagement",
1274
+ "type": "structure",
1275
+ },
1267
1276
  ],
1268
1277
  "type": "structure",
1269
1278
  },
@@ -7001,6 +7010,15 @@ SHAPE_DAG = {
7001
7010
  "member_type": "structure",
7002
7011
  "type": "list",
7003
7012
  },
7013
+ "IdleSettings": {
7014
+ "members": [
7015
+ {"name": "LifecycleManagement", "shape": "LifecycleManagement", "type": "string"},
7016
+ {"name": "IdleTimeoutInMinutes", "shape": "IdleTimeoutInMinutes", "type": "integer"},
7017
+ {"name": "MinIdleTimeoutInMinutes", "shape": "IdleTimeoutInMinutes", "type": "integer"},
7018
+ {"name": "MaxIdleTimeoutInMinutes", "shape": "IdleTimeoutInMinutes", "type": "integer"},
7019
+ ],
7020
+ "type": "structure",
7021
+ },
7004
7022
  "Image": {
7005
7023
  "members": [
7006
7024
  {"name": "CreationTime", "shape": "Timestamp", "type": "timestamp"},
@@ -7506,6 +7524,11 @@ SHAPE_DAG = {
7506
7524
  {"name": "CustomImages", "shape": "CustomImages", "type": "list"},
7507
7525
  {"name": "LifecycleConfigArns", "shape": "LifecycleConfigArns", "type": "list"},
7508
7526
  {"name": "CodeRepositories", "shape": "CodeRepositories", "type": "list"},
7527
+ {
7528
+ "name": "AppLifecycleManagement",
7529
+ "shape": "AppLifecycleManagement",
7530
+ "type": "structure",
7531
+ },
7509
7532
  {"name": "EmrSettings", "shape": "EmrSettings", "type": "structure"},
7510
7533
  ],
7511
7534
  "type": "structure",
@@ -12566,8 +12589,19 @@ SHAPE_DAG = {
12566
12589
  "members": [{"name": "Cidrs", "shape": "Cidrs", "type": "list"}],
12567
12590
  "type": "structure",
12568
12591
  },
12592
+ "SpaceAppLifecycleManagement": {
12593
+ "members": [{"name": "IdleSettings", "shape": "SpaceIdleSettings", "type": "structure"}],
12594
+ "type": "structure",
12595
+ },
12569
12596
  "SpaceCodeEditorAppSettings": {
12570
- "members": [{"name": "DefaultResourceSpec", "shape": "ResourceSpec", "type": "structure"}],
12597
+ "members": [
12598
+ {"name": "DefaultResourceSpec", "shape": "ResourceSpec", "type": "structure"},
12599
+ {
12600
+ "name": "AppLifecycleManagement",
12601
+ "shape": "SpaceAppLifecycleManagement",
12602
+ "type": "structure",
12603
+ },
12604
+ ],
12571
12605
  "type": "structure",
12572
12606
  },
12573
12607
  "SpaceDetails": {
@@ -12592,10 +12626,21 @@ SHAPE_DAG = {
12592
12626
  ],
12593
12627
  "type": "structure",
12594
12628
  },
12629
+ "SpaceIdleSettings": {
12630
+ "members": [
12631
+ {"name": "IdleTimeoutInMinutes", "shape": "IdleTimeoutInMinutes", "type": "integer"}
12632
+ ],
12633
+ "type": "structure",
12634
+ },
12595
12635
  "SpaceJupyterLabAppSettings": {
12596
12636
  "members": [
12597
12637
  {"name": "DefaultResourceSpec", "shape": "ResourceSpec", "type": "structure"},
12598
12638
  {"name": "CodeRepositories", "shape": "CodeRepositories", "type": "list"},
12639
+ {
12640
+ "name": "AppLifecycleManagement",
12641
+ "shape": "SpaceAppLifecycleManagement",
12642
+ "type": "structure",
12643
+ },
12599
12644
  ],
12600
12645
  "type": "structure",
12601
12646
  },
@@ -14416,6 +14461,7 @@ SHAPE_DAG = {
14416
14461
  "shape": "StudioWebPortalSettings",
14417
14462
  "type": "structure",
14418
14463
  },
14464
+ {"name": "AutoMountHomeEFS", "shape": "AutoMountHomeEFS", "type": "string"},
14419
14465
  ],
14420
14466
  "type": "structure",
14421
14467
  },