Skip to content

Commit 9465404

Browse files
Daily Sync with Botocore v1.37.21 on 2025/03/27 (#271)
1 parent ce1b28b commit 9465404

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
lines changed

sample/sagemaker/2017-07-24/service-2.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11324,6 +11324,10 @@
1132411324
"shape":"RoleArn",
1132511325
"documentation":"<p>The ARN of the IAM role that the partner application uses.</p>"
1132611326
},
11327+
"KmsKeyId":{
11328+
"shape":"KmsKeyId",
11329+
"documentation":"<p>SageMaker Partner AI Apps uses Amazon Web Services KMS to encrypt data at rest using an Amazon Web Services managed key by default. For more control, specify a customer managed key.</p>"
11330+
},
1132711331
"MaintenanceConfig":{
1132811332
"shape":"PartnerAppMaintenanceConfig",
1132911333
"documentation":"<p>Maintenance configuration settings for the SageMaker Partner AI App.</p>"
@@ -17258,10 +17262,18 @@
1725817262
"shape":"Timestamp",
1725917263
"documentation":"<p>The time that the SageMaker Partner AI App was created.</p>"
1726017264
},
17265+
"LastModifiedTime":{
17266+
"shape":"Timestamp",
17267+
"documentation":"<p>The time that the SageMaker Partner AI App was last modified.</p>"
17268+
},
1726117269
"ExecutionRoleArn":{
1726217270
"shape":"RoleArn",
1726317271
"documentation":"<p>The ARN of the IAM role associated with the SageMaker Partner AI App.</p>"
1726417272
},
17273+
"KmsKeyId":{
17274+
"shape":"KmsKeyId",
17275+
"documentation":"<p>The Amazon Web Services KMS customer managed key used to encrypt the data at rest associated with SageMaker Partner AI Apps.</p>"
17276+
},
1726517277
"BaseUrl":{
1726617278
"shape":"String2048",
1726717279
"documentation":"<p>The URL of the SageMaker Partner AI App that the Application SDK uses to support in-app calls for the user.</p>"

src/sagemaker_core/main/code_injection/shape_dag.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,6 +2812,7 @@
28122812
{"name": "Name", "shape": "PartnerAppName", "type": "string"},
28132813
{"name": "Type", "shape": "PartnerAppType", "type": "string"},
28142814
{"name": "ExecutionRoleArn", "shape": "RoleArn", "type": "string"},
2815+
{"name": "KmsKeyId", "shape": "KmsKeyId", "type": "string"},
28152816
{
28162817
"name": "MaintenanceConfig",
28172818
"shape": "PartnerAppMaintenanceConfig",
@@ -5496,7 +5497,9 @@
54965497
{"name": "Type", "shape": "PartnerAppType", "type": "string"},
54975498
{"name": "Status", "shape": "PartnerAppStatus", "type": "string"},
54985499
{"name": "CreationTime", "shape": "Timestamp", "type": "timestamp"},
5500+
{"name": "LastModifiedTime", "shape": "Timestamp", "type": "timestamp"},
54995501
{"name": "ExecutionRoleArn", "shape": "RoleArn", "type": "string"},
5502+
{"name": "KmsKeyId", "shape": "KmsKeyId", "type": "string"},
55005503
{"name": "BaseUrl", "shape": "String2048", "type": "string"},
55015504
{
55025505
"name": "MaintenanceConfig",

src/sagemaker_core/main/config_schema.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,10 @@
756756
},
757757
"PartnerApp": {
758758
"type": "object",
759-
"properties": {"execution_role_arn": {"type": "string"}},
759+
"properties": {
760+
"execution_role_arn": {"type": "string"},
761+
"kms_key_id": {"type": "string"},
762+
},
760763
},
761764
"Pipeline": {
762765
"type": "object",

src/sagemaker_core/main/resources.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23640,7 +23640,9 @@ class PartnerApp(Base):
2364023640
type: The type of SageMaker Partner AI App. Must be one of the following: lakera-guard, comet, deepchecks-llm-evaluation, or fiddler.
2364123641
status: The status of the SageMaker Partner AI App.
2364223642
creation_time: The time that the SageMaker Partner AI App was created.
23643+
last_modified_time: The time that the SageMaker Partner AI App was last modified.
2364323644
execution_role_arn: The ARN of the IAM role associated with the SageMaker Partner AI App.
23645+
kms_key_id: The Amazon Web Services KMS customer managed key used to encrypt the data at rest associated with SageMaker Partner AI Apps.
2364423646
base_url: The URL of the SageMaker Partner AI App that the Application SDK uses to support in-app calls for the user.
2364523647
maintenance_config: Maintenance configuration settings for the SageMaker Partner AI App.
2364623648
tier: The instance type and size of the cluster attached to the SageMaker Partner AI App.
@@ -23657,7 +23659,9 @@ class PartnerApp(Base):
2365723659
type: Optional[str] = Unassigned()
2365823660
status: Optional[str] = Unassigned()
2365923661
creation_time: Optional[datetime.datetime] = Unassigned()
23662+
last_modified_time: Optional[datetime.datetime] = Unassigned()
2366023663
execution_role_arn: Optional[str] = Unassigned()
23664+
kms_key_id: Optional[str] = Unassigned()
2366123665
base_url: Optional[str] = Unassigned()
2366223666
maintenance_config: Optional[PartnerAppMaintenanceConfig] = Unassigned()
2366323667
tier: Optional[str] = Unassigned()
@@ -23706,6 +23710,7 @@ def create(
2370623710
execution_role_arn: str,
2370723711
tier: str,
2370823712
auth_type: str,
23713+
kms_key_id: Optional[str] = Unassigned(),
2370923714
maintenance_config: Optional[PartnerAppMaintenanceConfig] = Unassigned(),
2371023715
application_config: Optional[PartnerAppConfig] = Unassigned(),
2371123716
enable_iam_session_based_identity: Optional[bool] = Unassigned(),
@@ -23723,6 +23728,7 @@ def create(
2372323728
execution_role_arn: The ARN of the IAM role that the partner application uses.
2372423729
tier: Indicates the instance type and size of the cluster attached to the SageMaker Partner AI App.
2372523730
auth_type: The authorization type that users use to access the SageMaker Partner AI App.
23731+
kms_key_id: SageMaker Partner AI Apps uses Amazon Web Services KMS to encrypt data at rest using an Amazon Web Services managed key by default. For more control, specify a customer managed key.
2372623732
maintenance_config: Maintenance configuration settings for the SageMaker Partner AI App.
2372723733
application_config: Configuration settings for the SageMaker Partner AI App.
2372823734
enable_iam_session_based_identity: When set to TRUE, the SageMaker Partner AI App sets the Amazon Web Services IAM session name or the authenticated IAM user as the identity of the SageMaker Partner AI App user.
@@ -23760,6 +23766,7 @@ def create(
2376023766
"Name": name,
2376123767
"Type": type,
2376223768
"ExecutionRoleArn": execution_role_arn,
23769+
"KmsKeyId": kms_key_id,
2376323770
"MaintenanceConfig": maintenance_config,
2376423771
"Tier": tier,
2376523772
"ApplicationConfig": application_config,

0 commit comments

Comments
 (0)