sagemaker-core 1.0.27__tar.gz → 1.0.29__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 (43) hide show
  1. {sagemaker_core-1.0.27/src/sagemaker_core.egg-info → sagemaker_core-1.0.29}/PKG-INFO +1 -1
  2. sagemaker_core-1.0.29/VERSION +1 -0
  3. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/code_injection/shape_dag.py +12 -0
  4. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/resources.py +12 -1
  5. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/shapes.py +17 -0
  6. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29/src/sagemaker_core.egg-info}/PKG-INFO +1 -1
  7. sagemaker_core-1.0.27/VERSION +0 -1
  8. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/LICENSE +0 -0
  9. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/MANIFEST.in +0 -0
  10. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/README.rst +0 -0
  11. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/pyproject.toml +0 -0
  12. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/setup.cfg +0 -0
  13. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/__init__.py +0 -0
  14. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/_version.py +0 -0
  15. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/helper/__init__.py +0 -0
  16. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/helper/session_helper.py +0 -0
  17. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/__init__.py +0 -0
  18. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/code_injection/__init__.py +0 -0
  19. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/code_injection/base.py +0 -0
  20. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/code_injection/codec.py +0 -0
  21. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/code_injection/constants.py +0 -0
  22. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/config_schema.py +0 -0
  23. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/exceptions.py +0 -0
  24. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/intelligent_defaults_helper.py +0 -0
  25. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/logs.py +0 -0
  26. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/user_agent.py +0 -0
  27. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/main/utils.py +0 -0
  28. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/resources/__init__.py +0 -0
  29. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/shapes/__init__.py +0 -0
  30. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/tools/__init__.py +0 -0
  31. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/tools/codegen.py +0 -0
  32. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/tools/constants.py +0 -0
  33. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/tools/data_extractor.py +0 -0
  34. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/tools/method.py +0 -0
  35. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/tools/resources_codegen.py +0 -0
  36. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/tools/resources_extractor.py +0 -0
  37. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/tools/shapes_codegen.py +0 -0
  38. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/tools/shapes_extractor.py +0 -0
  39. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core/tools/templates.py +0 -0
  40. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core.egg-info/SOURCES.txt +0 -0
  41. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core.egg-info/dependency_links.txt +0 -0
  42. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core.egg-info/requires.txt +0 -0
  43. {sagemaker_core-1.0.27 → sagemaker_core-1.0.29}/src/sagemaker_core.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sagemaker-core
3
- Version: 1.0.27
3
+ Version: 1.0.29
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
@@ -0,0 +1 @@
1
+ 1.0.29
@@ -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
  },
@@ -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 = {"execution_role_arn": {"type": "string"}}
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(
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sagemaker-core
3
- Version: 1.0.27
3
+ Version: 1.0.29
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
@@ -1 +0,0 @@
1
- 1.0.27
File without changes