sagemaker-core 1.0.2__py3-none-any.whl → 1.0.3__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.

@@ -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
  },
@@ -919,6 +919,38 @@ class AppImageConfigDetails(Base):
919
919
  code_editor_app_image_config: Optional[CodeEditorAppImageConfig] = Unassigned()
920
920
 
921
921
 
922
+ class IdleSettings(Base):
923
+ """
924
+ IdleSettings
925
+ Settings related to idle shutdown of Studio applications.
926
+
927
+ Attributes
928
+ ----------------------
929
+ lifecycle_management: Indicates whether idle shutdown is activated for the application type.
930
+ idle_timeout_in_minutes: The time that SageMaker waits after the application becomes idle before shutting it down.
931
+ min_idle_timeout_in_minutes: The minimum value in minutes that custom idle shutdown can be set to by the user.
932
+ max_idle_timeout_in_minutes: The maximum value in minutes that custom idle shutdown can be set to by the user.
933
+ """
934
+
935
+ lifecycle_management: Optional[str] = Unassigned()
936
+ idle_timeout_in_minutes: Optional[int] = Unassigned()
937
+ min_idle_timeout_in_minutes: Optional[int] = Unassigned()
938
+ max_idle_timeout_in_minutes: Optional[int] = Unassigned()
939
+
940
+
941
+ class AppLifecycleManagement(Base):
942
+ """
943
+ AppLifecycleManagement
944
+ Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications.
945
+
946
+ Attributes
947
+ ----------------------
948
+ idle_settings: Settings related to idle shutdown of Studio applications.
949
+ """
950
+
951
+ idle_settings: Optional[IdleSettings] = Unassigned()
952
+
953
+
922
954
  class AppSpecification(Base):
923
955
  """
924
956
  AppSpecification
@@ -2810,11 +2842,13 @@ class CodeEditorAppSettings(Base):
2810
2842
  default_resource_spec
2811
2843
  custom_images: A list of custom SageMaker images that are configured to run as a Code Editor app.
2812
2844
  lifecycle_config_arns: The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
2845
+ app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications.
2813
2846
  """
2814
2847
 
2815
2848
  default_resource_spec: Optional[ResourceSpec] = Unassigned()
2816
2849
  custom_images: Optional[List[CustomImage]] = Unassigned()
2817
2850
  lifecycle_config_arns: Optional[List[str]] = Unassigned()
2851
+ app_lifecycle_management: Optional[AppLifecycleManagement] = Unassigned()
2818
2852
 
2819
2853
 
2820
2854
  class CodeRepository(Base):
@@ -3736,6 +3770,7 @@ class JupyterLabAppSettings(Base):
3736
3770
  custom_images: A list of custom SageMaker images that are configured to run as a JupyterLab app.
3737
3771
  lifecycle_config_arns: The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must set LifecycleConfigArns to an empty list.
3738
3772
  code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
3773
+ app_lifecycle_management: Indicates whether idle shutdown is activated for JupyterLab applications.
3739
3774
  emr_settings: The configuration parameters that specify the IAM roles assumed by the execution role of SageMaker (assumable roles) and the cluster instances or job execution environments (execution roles or runtime roles) to manage and access resources required for running Amazon EMR clusters or Amazon EMR Serverless applications.
3740
3775
  """
3741
3776
 
@@ -3743,6 +3778,7 @@ class JupyterLabAppSettings(Base):
3743
3778
  custom_images: Optional[List[CustomImage]] = Unassigned()
3744
3779
  lifecycle_config_arns: Optional[List[str]] = Unassigned()
3745
3780
  code_repositories: Optional[List[CodeRepository]] = Unassigned()
3781
+ app_lifecycle_management: Optional[AppLifecycleManagement] = Unassigned()
3746
3782
  emr_settings: Optional[EmrSettings] = Unassigned()
3747
3783
 
3748
3784
 
@@ -6403,6 +6439,32 @@ class ServiceCatalogProvisioningDetails(Base):
6403
6439
  provisioning_parameters: Optional[List[ProvisioningParameter]] = Unassigned()
6404
6440
 
6405
6441
 
6442
+ class SpaceIdleSettings(Base):
6443
+ """
6444
+ SpaceIdleSettings
6445
+ Settings related to idle shutdown of Studio applications in a space.
6446
+
6447
+ Attributes
6448
+ ----------------------
6449
+ idle_timeout_in_minutes: The time that SageMaker waits after the application becomes idle before shutting it down.
6450
+ """
6451
+
6452
+ idle_timeout_in_minutes: Optional[int] = Unassigned()
6453
+
6454
+
6455
+ class SpaceAppLifecycleManagement(Base):
6456
+ """
6457
+ SpaceAppLifecycleManagement
6458
+ Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications in a space.
6459
+
6460
+ Attributes
6461
+ ----------------------
6462
+ idle_settings: Settings related to idle shutdown of Studio applications.
6463
+ """
6464
+
6465
+ idle_settings: Optional[SpaceIdleSettings] = Unassigned()
6466
+
6467
+
6406
6468
  class SpaceCodeEditorAppSettings(Base):
6407
6469
  """
6408
6470
  SpaceCodeEditorAppSettings
@@ -6411,9 +6473,11 @@ class SpaceCodeEditorAppSettings(Base):
6411
6473
  Attributes
6412
6474
  ----------------------
6413
6475
  default_resource_spec
6476
+ app_lifecycle_management: Settings that are used to configure and manage the lifecycle of CodeEditor applications in a space.
6414
6477
  """
6415
6478
 
6416
6479
  default_resource_spec: Optional[ResourceSpec] = Unassigned()
6480
+ app_lifecycle_management: Optional[SpaceAppLifecycleManagement] = Unassigned()
6417
6481
 
6418
6482
 
6419
6483
  class SpaceJupyterLabAppSettings(Base):
@@ -6425,10 +6489,12 @@ class SpaceJupyterLabAppSettings(Base):
6425
6489
  ----------------------
6426
6490
  default_resource_spec
6427
6491
  code_repositories: A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.
6492
+ app_lifecycle_management: Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space.
6428
6493
  """
6429
6494
 
6430
6495
  default_resource_spec: Optional[ResourceSpec] = Unassigned()
6431
6496
  code_repositories: Optional[List[CodeRepository]] = Unassigned()
6497
+ app_lifecycle_management: Optional[SpaceAppLifecycleManagement] = Unassigned()
6432
6498
 
6433
6499
 
6434
6500
  class EbsStorageSettings(Base):
@@ -89,3 +89,5 @@ RESOURCES_CODEGEN_FILE_NAME = "resources.py"
89
89
  SHAPES_CODEGEN_FILE_NAME = "shapes.py"
90
90
 
91
91
  CONFIG_SCHEMA_FILE_NAME = "config_schema.py"
92
+
93
+ API_COVERAGE_JSON_FILE_PATH = os.getcwd() + "/src/sagemaker_core/tools/api_coverage.json"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sagemaker-core
3
- Version: 1.0.2
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>`_.
@@ -7,19 +7,19 @@ sagemaker_core/main/config_schema.py,sha256=IDvL1YuMOwVg4nb0D4ysU51tc1UjlQASyz1Q
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/resources.py,sha256=_zix3PucNO60z3XVLEKCfSm5zWLyNWJaaGk868-rz5w,1298170
10
- sagemaker_core/main/shapes.py,sha256=c0B7r7_xz3m2CDc_Dmh1CjczmhCmwwzL8yaeLoWc7vs,679460
10
+ sagemaker_core/main/shapes.py,sha256=NgrfvUwVDRIYHn1jB2NgDGQ631-S0cA22AlAE7Tw8FA,682244
11
11
  sagemaker_core/main/user_agent.py,sha256=4sZybDXkzRoZnOnVDQ8p8zFTfiRJdsH7amDWInVQ4xU,2708
12
12
  sagemaker_core/main/utils.py,sha256=I7WsC-DdbnAZg_PtqcLPywXlqjAwj7ZYbeHhv93Z1O4,18840
13
13
  sagemaker_core/main/code_injection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  sagemaker_core/main/code_injection/base.py,sha256=11_Jif0nOzfbLGlXaacKf-wcizzfS64U0OSZGoVffFU,1733
15
15
  sagemaker_core/main/code_injection/codec.py,sha256=2DjmeD2uND307UqDefvVEpE0rZ8yfFU3Bi3TvQCQveI,7658
16
16
  sagemaker_core/main/code_injection/constants.py,sha256=2ICExGge8vAWx7lSTW0JGh-bH1korkvpOpDu5M63eI4,980
17
- sagemaker_core/main/code_injection/shape_dag.py,sha256=oM_xL5qx9nQmWIWbtNurVsz6UXMfpIfrUyw7ZIc3Ry4,645281
17
+ sagemaker_core/main/code_injection/shape_dag.py,sha256=-iWikIF2hoNnoVkJGfi_h3OTKqM4rygHIulaQjZrZ1g,646997
18
18
  sagemaker_core/resources/__init__.py,sha256=EAYTFMN-nPjnPjjBbhIUeaL67FLKNPd7qbcbl9VIrws,31
19
19
  sagemaker_core/shapes/__init__.py,sha256=RnbIu9eTxKt-DNsOFJabrWIgrrtS9_SdAozP9JBl_ic,28
20
20
  sagemaker_core/tools/__init__.py,sha256=xX79JImxCVzrWMnjgntLCve2G5I-R4pRar5s20kT9Rs,56
21
21
  sagemaker_core/tools/codegen.py,sha256=mKWVi2pWnPxyIoWUEPYjEc9Gw7D9bCOrHqa00yzIZ1o,2005
22
- sagemaker_core/tools/constants.py,sha256=PCyf5MCkWYL4dDmIMKZw8QD7FcF8HqYwK-gnJ1Fdno0,2989
22
+ sagemaker_core/tools/constants.py,sha256=lJ-KqRtv0F4mtZBqUNCX5RbOhXmPUsIslLPVVFJunDA,3080
23
23
  sagemaker_core/tools/data_extractor.py,sha256=NpP22uCaWgvn9uOHsFEkgtn3h2nOIKDvJTLihN01f1A,1368
24
24
  sagemaker_core/tools/method.py,sha256=4Hmu4UWpiBgUTZljYdW1KIKDduDxf_nfhCyuWgLVMWI,717
25
25
  sagemaker_core/tools/resources_codegen.py,sha256=m7B2vrkfokLmzND9tCkty7EhVMk1FLevTd2LmJd_GKg,89974
@@ -27,8 +27,8 @@ sagemaker_core/tools/resources_extractor.py,sha256=B9Twlf2vb7AkZUKLnxSdQZ_rNLPz0
27
27
  sagemaker_core/tools/shapes_codegen.py,sha256=_ve959bwH8usZ6dPlpXxi2on9t0hLpcmhRWnaWHCWMQ,11745
28
28
  sagemaker_core/tools/shapes_extractor.py,sha256=4KjgDmhlPM4G1f1NeYbORKlXs1s7Q_sm_NK31S_ROQ0,11950
29
29
  sagemaker_core/tools/templates.py,sha256=IvL9ykLvOXDNCMnIZn30o-6Cmx4fw-BIJz3nl9LD4dc,24614
30
- sagemaker_core-1.0.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
31
- sagemaker_core-1.0.2.dist-info/METADATA,sha256=2CiwzWSqo3XyV_tlMy8ZWIsvq3Pzovrxx8SY4j9JJLY,4645
32
- sagemaker_core-1.0.2.dist-info/WHEEL,sha256=uCRv0ZEik_232NlR4YDw4Pv3Ajt5bKvMH13NUU7hFuI,91
33
- sagemaker_core-1.0.2.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
34
- sagemaker_core-1.0.2.dist-info/RECORD,,
30
+ sagemaker_core-1.0.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
31
+ sagemaker_core-1.0.3.dist-info/METADATA,sha256=t4gnhUg41sSyQ0NtNQ2HGhce5TfXXlLC7aGXsGO6Usw,4877
32
+ sagemaker_core-1.0.3.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
33
+ sagemaker_core-1.0.3.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
34
+ sagemaker_core-1.0.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.1.1)
2
+ Generator: setuptools (74.1.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5