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

@@ -1910,6 +1910,9 @@ SHAPE_DAG = {
1910
1910
  "members": [
1911
1911
  {"name": "InstanceType", "shape": "ClusterInstanceType", "type": "string"},
1912
1912
  {"name": "Count", "shape": "InstanceCount", "type": "integer"},
1913
+ {"name": "Accelerators", "shape": "AcceleratorsAmount", "type": "integer"},
1914
+ {"name": "VCpu", "shape": "VCpuAmount", "type": "float"},
1915
+ {"name": "MemoryInGiB", "shape": "MemoryInGiBAmount", "type": "float"},
1913
1916
  ],
1914
1917
  "type": "structure",
1915
1918
  },
@@ -4457,6 +4460,11 @@ SHAPE_DAG = {
4457
4460
  {"name": "UserProfileName", "shape": "UserProfileName", "type": "string"},
4458
4461
  {"name": "SpaceName", "shape": "SpaceName", "type": "string"},
4459
4462
  {"name": "Status", "shape": "AppStatus", "type": "string"},
4463
+ {
4464
+ "name": "EffectiveTrustedIdentityPropagationStatus",
4465
+ "shape": "FeatureStatus",
4466
+ "type": "string",
4467
+ },
4460
4468
  {"name": "RecoveryMode", "shape": "Boolean", "type": "boolean"},
4461
4469
  {"name": "LastHealthCheckTimestamp", "shape": "Timestamp", "type": "timestamp"},
4462
4470
  {"name": "LastUserActivityTimestamp", "shape": "Timestamp", "type": "timestamp"},
@@ -6642,6 +6650,11 @@ SHAPE_DAG = {
6642
6650
  "shape": "ExecutionRoleIdentityConfig",
6643
6651
  "type": "string",
6644
6652
  },
6653
+ {
6654
+ "name": "TrustedIdentityPropagationSettings",
6655
+ "shape": "TrustedIdentityPropagationSettings",
6656
+ "type": "structure",
6657
+ },
6645
6658
  {"name": "DockerSettings", "shape": "DockerSettings", "type": "structure"},
6646
6659
  {"name": "AmazonQSettings", "shape": "AmazonQSettings", "type": "structure"},
6647
6660
  {
@@ -6665,6 +6678,11 @@ SHAPE_DAG = {
6665
6678
  "type": "string",
6666
6679
  },
6667
6680
  {"name": "SecurityGroupIds", "shape": "DomainSecurityGroupIds", "type": "list"},
6681
+ {
6682
+ "name": "TrustedIdentityPropagationSettings",
6683
+ "shape": "TrustedIdentityPropagationSettings",
6684
+ "type": "structure",
6685
+ },
6668
6686
  {"name": "DockerSettings", "shape": "DockerSettings", "type": "structure"},
6669
6687
  {"name": "AmazonQSettings", "shape": "AmazonQSettings", "type": "structure"},
6670
6688
  {
@@ -15593,6 +15611,10 @@ SHAPE_DAG = {
15593
15611
  ],
15594
15612
  "type": "structure",
15595
15613
  },
15614
+ "TrustedIdentityPropagationSettings": {
15615
+ "members": [{"name": "Status", "shape": "FeatureStatus", "type": "string"}],
15616
+ "type": "structure",
15617
+ },
15596
15618
  "TtlDuration": {
15597
15619
  "members": [
15598
15620
  {"name": "Unit", "shape": "TtlDurationUnit", "type": "string"},
@@ -978,6 +978,7 @@ class App(Base):
978
978
  user_profile_name: The user profile name.
979
979
  space_name: The name of the space. If this value is not set, then UserProfileName must be set.
980
980
  status: The status.
981
+ effective_trusted_identity_propagation_status: The effective status of Trusted Identity Propagation (TIP) for this application. When enabled, user identities from IAM Identity Center are being propagated through the application to TIP enabled Amazon Web Services services. When disabled, standard IAM role-based access is used.
981
982
  recovery_mode: Indicates whether the application is launched in recovery mode.
982
983
  last_health_check_timestamp: The timestamp of the last health check.
983
984
  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.
@@ -995,6 +996,7 @@ class App(Base):
995
996
  user_profile_name: Optional[str] = Unassigned()
996
997
  space_name: Optional[str] = Unassigned()
997
998
  status: Optional[str] = Unassigned()
999
+ effective_trusted_identity_propagation_status: Optional[str] = Unassigned()
998
1000
  recovery_mode: Optional[bool] = Unassigned()
999
1001
  last_health_check_timestamp: Optional[datetime.datetime] = Unassigned()
1000
1002
  last_user_activity_timestamp: Optional[datetime.datetime] = Unassigned()
@@ -16933,7 +16935,7 @@ class LabelingJob(Base):
16933
16935
 
16934
16936
  Parameters:
16935
16937
  labeling_job_name: The name of the labeling job. This name is used to identify the job in a list of labeling jobs. Labeling job names must be unique within an Amazon Web Services account and region. LabelingJobName is not case sensitive. For example, Example-job and example-job are considered the same labeling job name by Ground Truth.
16936
- label_attribute_name: The attribute name to use for the label in the output manifest file. This is the key for the key/value pair formed with the label that a worker assigns to the object. The LabelAttributeName must meet the following requirements. The name can't end with "-metadata". If you are using one of the following built-in task types, the attribute name must end with "-ref". If the task type you are using is not listed below, the attribute name must not end with "-ref". Image semantic segmentation (SemanticSegmentation), and adjustment (AdjustmentSemanticSegmentation) and verification (VerificationSemanticSegmentation) labeling jobs for this task type. Video frame object detection (VideoObjectDetection), and adjustment and verification (AdjustmentVideoObjectDetection) labeling jobs for this task type. Video frame object tracking (VideoObjectTracking), and adjustment and verification (AdjustmentVideoObjectTracking) labeling jobs for this task type. 3D point cloud semantic segmentation (3DPointCloudSemanticSegmentation), and adjustment and verification (Adjustment3DPointCloudSemanticSegmentation) labeling jobs for this task type. 3D point cloud object tracking (3DPointCloudObjectTracking), and adjustment and verification (Adjustment3DPointCloudObjectTracking) labeling jobs for this task type. If you are creating an adjustment or verification labeling job, you must use a different LabelAttributeName than the one used in the original labeling job. The original labeling job is the Ground Truth labeling job that produced the labels that you want verified or adjusted. To learn more about adjustment and verification labeling jobs, see Verify and Adjust Labels.
16938
+ label_attribute_name: The attribute name to use for the label in the output manifest file. This is the key for the key/value pair formed with the label that a worker assigns to the object. The LabelAttributeName must meet the following requirements. The name can't end with "-metadata". If you are using one of the following built-in task types, the attribute name must end with "-ref". If the task type you are using is not listed below, the attribute name must not end with "-ref". Verification (VerificationSemanticSegmentation) labeling jobs for this task type. Video frame object detection (VideoObjectDetection), and adjustment and verification (AdjustmentVideoObjectDetection) labeling jobs for this task type. Video frame object tracking (VideoObjectTracking), and adjustment and verification (AdjustmentVideoObjectTracking) labeling jobs for this task type. 3D point cloud semantic segmentation (3DPointCloudSemanticSegmentation), and adjustment and verification (Adjustment3DPointCloudSemanticSegmentation) labeling jobs for this task type. 3D point cloud object tracking (3DPointCloudObjectTracking), and adjustment and verification (Adjustment3DPointCloudObjectTracking) labeling jobs for this task type. If you are creating an adjustment or verification labeling job, you must use a different LabelAttributeName than the one used in the original labeling job. The original labeling job is the Ground Truth labeling job that produced the labels that you want verified or adjusted. To learn more about adjustment and verification labeling jobs, see Verify and Adjust Labels.
16937
16939
  input_config: Input data for the labeling job, such as the Amazon S3 location of the data objects and the location of the manifest file that describes the data objects. You must specify at least one of the following: S3DataSource or SnsDataSource. Use SnsDataSource to specify an SNS input topic for a streaming labeling job. If you do not specify and SNS input topic ARN, Ground Truth will create a one-time labeling job that stops after all data objects in the input manifest file have been labeled. Use S3DataSource to specify an input manifest file for both streaming and one-time labeling jobs. Adding an S3DataSource is optional if you use SnsDataSource to create a streaming labeling job. If you use the Amazon Mechanical Turk workforce, your input data should not include confidential information, personal information or protected health information. Use ContentClassifiers to specify that your data is free of personally identifiable information and adult content.
16938
16940
  output_config: The location of the output data and the Amazon Web Services Key Management Service key ID for the key used to encrypt the output data, if any.
16939
16941
  role_arn: The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during data labeling. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete data labeling.
@@ -4250,10 +4250,16 @@ class ComputeQuotaResourceConfig(Base):
4250
4250
  ----------------------
4251
4251
  instance_type: The instance type of the instance group for the cluster.
4252
4252
  count: The number of instances to add to the instance group of a SageMaker HyperPod cluster.
4253
+ accelerators: The number of accelerators to allocate. If you don't specify a value for vCPU and MemoryInGiB, SageMaker AI automatically allocates ratio-based values for those parameters based on the number of accelerators you provide. For example, if you allocate 16 out of 32 total accelerators, SageMaker AI uses the ratio of 0.5 and allocates values to vCPU and MemoryInGiB.
4254
+ v_cpu: The number of vCPU to allocate. If you specify a value only for vCPU, SageMaker AI automatically allocates ratio-based values for MemoryInGiB based on this vCPU parameter. For example, if you allocate 20 out of 40 total vCPU, SageMaker AI uses the ratio of 0.5 and allocates values to MemoryInGiB. Accelerators are set to 0.
4255
+ memory_in_gi_b: The amount of memory in GiB to allocate. If you specify a value only for this parameter, SageMaker AI automatically allocates a ratio-based value for vCPU based on this memory that you provide. For example, if you allocate 200 out of 400 total memory in GiB, SageMaker AI uses the ratio of 0.5 and allocates values to vCPU. Accelerators are set to 0.
4253
4256
  """
4254
4257
 
4255
4258
  instance_type: str
4256
4259
  count: Optional[int] = Unassigned()
4260
+ accelerators: Optional[int] = Unassigned()
4261
+ v_cpu: Optional[float] = Unassigned()
4262
+ memory_in_gi_b: Optional[float] = Unassigned()
4257
4263
 
4258
4264
 
4259
4265
  class ResourceSharingConfig(Base):
@@ -5347,6 +5353,19 @@ class RStudioServerProDomainSettings(Base):
5347
5353
  default_resource_spec: Optional[ResourceSpec] = Unassigned()
5348
5354
 
5349
5355
 
5356
+ class TrustedIdentityPropagationSettings(Base):
5357
+ """
5358
+ TrustedIdentityPropagationSettings
5359
+ The Trusted Identity Propagation (TIP) settings for the SageMaker domain. These settings determine how user identities from IAM Identity Center are propagated through the domain to TIP enabled Amazon Web Services services.
5360
+
5361
+ Attributes
5362
+ ----------------------
5363
+ status: The status of Trusted Identity Propagation (TIP) at the SageMaker domain level. When disabled, standard IAM role-based access is used. When enabled: User identities from IAM Identity Center are propagated through the application to TIP enabled Amazon Web Services services. New applications or existing applications that are automatically patched, will use the domain level configuration.
5364
+ """
5365
+
5366
+ status: str
5367
+
5368
+
5350
5369
  class DockerSettings(Base):
5351
5370
  """
5352
5371
  DockerSettings
@@ -5399,6 +5418,7 @@ class DomainSettings(Base):
5399
5418
  security_group_ids: The security groups for the Amazon Virtual Private Cloud that the Domain uses for communication between Domain-level apps and user apps.
5400
5419
  r_studio_server_pro_domain_settings: A collection of settings that configure the RStudioServerPro Domain-level app.
5401
5420
  execution_role_identity_config: The configuration for attaching a SageMaker AI user profile name to the execution role as a sts:SourceIdentity key.
5421
+ trusted_identity_propagation_settings: The Trusted Identity Propagation (TIP) settings for the SageMaker domain. These settings determine how user identities from IAM Identity Center are propagated through the domain to TIP enabled Amazon Web Services services.
5402
5422
  docker_settings: A collection of settings that configure the domain's Docker interaction.
5403
5423
  amazon_q_settings: A collection of settings that configure the Amazon Q experience within the domain. The AuthMode that you use to create the domain must be SSO.
5404
5424
  unified_studio_settings: The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.
@@ -5407,6 +5427,9 @@ class DomainSettings(Base):
5407
5427
  security_group_ids: Optional[List[str]] = Unassigned()
5408
5428
  r_studio_server_pro_domain_settings: Optional[RStudioServerProDomainSettings] = Unassigned()
5409
5429
  execution_role_identity_config: Optional[str] = Unassigned()
5430
+ trusted_identity_propagation_settings: Optional[TrustedIdentityPropagationSettings] = (
5431
+ Unassigned()
5432
+ )
5410
5433
  docker_settings: Optional[DockerSettings] = Unassigned()
5411
5434
  amazon_q_settings: Optional[AmazonQSettings] = Unassigned()
5412
5435
  unified_studio_settings: Optional[UnifiedStudioSettings] = Unassigned()
@@ -10229,6 +10252,7 @@ class DomainSettingsForUpdate(Base):
10229
10252
  r_studio_server_pro_domain_settings_for_update: A collection of RStudioServerPro Domain-level app settings to update. A single RStudioServerPro application is created for a domain.
10230
10253
  execution_role_identity_config: The configuration for attaching a SageMaker AI user profile name to the execution role as a sts:SourceIdentity key. This configuration can only be modified if there are no apps in the InService or Pending state.
10231
10254
  security_group_ids: The security groups for the Amazon Virtual Private Cloud that the Domain uses for communication between Domain-level apps and user apps.
10255
+ trusted_identity_propagation_settings: The Trusted Identity Propagation (TIP) settings for the SageMaker domain. These settings determine how user identities from IAM Identity Center are propagated through the domain to TIP enabled Amazon Web Services services.
10232
10256
  docker_settings: A collection of settings that configure the domain's Docker interaction.
10233
10257
  amazon_q_settings: A collection of settings that configure the Amazon Q experience within the domain.
10234
10258
  unified_studio_settings: The settings that apply to an SageMaker AI domain when you use it in Amazon SageMaker Unified Studio.
@@ -10239,6 +10263,9 @@ class DomainSettingsForUpdate(Base):
10239
10263
  ] = Unassigned()
10240
10264
  execution_role_identity_config: Optional[str] = Unassigned()
10241
10265
  security_group_ids: Optional[List[str]] = Unassigned()
10266
+ trusted_identity_propagation_settings: Optional[TrustedIdentityPropagationSettings] = (
10267
+ Unassigned()
10268
+ )
10242
10269
  docker_settings: Optional[DockerSettings] = Unassigned()
10243
10270
  amazon_q_settings: Optional[AmazonQSettings] = Unassigned()
10244
10271
  unified_studio_settings: Optional[UnifiedStudioSettings] = Unassigned()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sagemaker-core
3
- Version: 1.0.50
3
+ Version: 1.0.52
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
@@ -7,15 +7,15 @@ sagemaker_core/main/config_schema.py,sha256=Wxe2gJash1rrxBomGhSYmII1LmJ3E70LIuSW
7
7
  sagemaker_core/main/default_configs_helper.py,sha256=bg_tgczX_bYzNiSlalJ6TWPTgrQYsI0uZguP5TIbPiw,8324
8
8
  sagemaker_core/main/exceptions.py,sha256=CsiM3V_Gb16grBotnu59LB6tznryPcSvAQDAOOYGc10,5563
9
9
  sagemaker_core/main/logs.py,sha256=yfEH7uP91nbE1lefymOlBr81ziBzsDSIOF2Qyd54FJE,6241
10
- sagemaker_core/main/resources.py,sha256=kEaZjAloY9vmhsHU88kIWfNgM6RPYPkcWRBScLdaUdE,1441209
11
- sagemaker_core/main/shapes.py,sha256=wy8DWtBaxC0_NcfCA1Yh-xWRAyZu_M5dqjAKomkhzk0,781903
10
+ sagemaker_core/main/resources.py,sha256=fjJ7xwqlx0J5_8EH9h-_HDBW20Kyg4UVfF0Ys2tMJ88,1441521
11
+ sagemaker_core/main/shapes.py,sha256=b60sytBhfwqnWY8kt937eDsxVOKymAXMapGOywumReo,784703
12
12
  sagemaker_core/main/user_agent.py,sha256=BPYDAfDd70ObP-VAjl7aDHALHyGknkpRP21ktVr_LDw,2744
13
13
  sagemaker_core/main/utils.py,sha256=y1aZzztCApczZSqT0U7_H8zLlpqp1vgoUKcp40mTM2o,19157
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=2YzJ-iYEzmguVaJVcZeyCR0OpTSR7UOixATrOm4MiBk,8885
17
17
  sagemaker_core/main/code_injection/constants.py,sha256=2ICExGge8vAWx7lSTW0JGh-bH1korkvpOpDu5M63eI4,980
18
- sagemaker_core/main/code_injection/shape_dag.py,sha256=lzvu_kntQlWCTPHhqqiFC6060b5yMxz2V30ZhbMJ2no,744763
18
+ sagemaker_core/main/code_injection/shape_dag.py,sha256=-YYPaCCyGRf-uJXgb6gy313zrIINzVDCBkvEW_7QvEA,745726
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=4lsePZpjk7M6RpJs5yar_m4z5MzwGHFrvCkdS_-R12c,12172
29
29
  sagemaker_core/tools/shapes_extractor.py,sha256=vxVKjXD3lmjrkoKiexjUnOt8ITbFxQSeiDtx7P6Qtkw,14226
30
30
  sagemaker_core/tools/templates.py,sha256=0lOIH3Rq2CXWkQhK6VenN_TE_v5p852s2kQyb_BeQxA,23460
31
- sagemaker_core-1.0.50.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
32
- sagemaker_core-1.0.50.dist-info/METADATA,sha256=Y2sH1IHQP_7E-zDA4Q_8xsvEdBvBV-_bnBvxtegXemo,4871
33
- sagemaker_core-1.0.50.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
34
- sagemaker_core-1.0.50.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
35
- sagemaker_core-1.0.50.dist-info/RECORD,,
31
+ sagemaker_core-1.0.52.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
32
+ sagemaker_core-1.0.52.dist-info/METADATA,sha256=AxcL3_QLQTtipy1Blv_7HNACjWdc0is5Di3jDWd8vyQ,4871
33
+ sagemaker_core-1.0.52.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
34
+ sagemaker_core-1.0.52.dist-info/top_level.txt,sha256=R3GAZZ1zC5JxqdE_0x2Lu_WYi2Xfke7VsiP3L5zngfA,15
35
+ sagemaker_core-1.0.52.dist-info/RECORD,,