Skip to content

Commit 5c73906

Browse files
Feature - Adding support for Scheduled and Rolling Update Software in Sagemaker Hyperpod.
1 parent 8b1fafd commit 5c73906

40 files changed

+2104
-88
lines changed

generator/ServiceModels/sagemaker/sagemaker-2017-07-24.api.json

Lines changed: 91 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4264,6 +4264,13 @@
42644264
"AlarmName":{"shape":"AlarmName"}
42654265
}
42664266
},
4267+
"AlarmDetails":{
4268+
"type":"structure",
4269+
"required":["AlarmName"],
4270+
"members":{
4271+
"AlarmName":{"shape":"AlarmName"}
4272+
}
4273+
},
42674274
"AlarmList":{
42684275
"type":"list",
42694276
"member":{"shape":"Alarm"},
@@ -5468,6 +5475,12 @@
54685475
"max":100,
54695476
"min":0
54705477
},
5478+
"AutoRollbackAlarms":{
5479+
"type":"list",
5480+
"member":{"shape":"AlarmDetails"},
5481+
"max":10,
5482+
"min":1
5483+
},
54715484
"AutoRollbackConfig":{
54725485
"type":"structure",
54735486
"members":{
@@ -5817,6 +5830,17 @@
58175830
"Value":{"shape":"CapacitySizeValue"}
58185831
}
58195832
},
5833+
"CapacitySizeConfig":{
5834+
"type":"structure",
5835+
"required":[
5836+
"Type",
5837+
"Value"
5838+
],
5839+
"members":{
5840+
"Type":{"shape":"NodeUnavailabilityType"},
5841+
"Value":{"shape":"NodeUnavailabilityValue"}
5842+
}
5843+
},
58205844
"CapacitySizeType":{
58215845
"type":"string",
58225846
"enum":[
@@ -6290,7 +6314,8 @@
62906314
"Status":{"shape":"InstanceGroupStatus"},
62916315
"TrainingPlanArn":{"shape":"TrainingPlanArn"},
62926316
"TrainingPlanStatus":{"shape":"InstanceGroupTrainingPlanStatus"},
6293-
"OverrideVpcConfig":{"shape":"VpcConfig"}
6317+
"OverrideVpcConfig":{"shape":"VpcConfig"},
6318+
"ScheduledUpdateConfig":{"shape":"ScheduledUpdateConfig"}
62946319
}
62956320
},
62966321
"ClusterInstanceGroupDetailsList":{
@@ -6322,7 +6347,8 @@
63226347
"InstanceStorageConfigs":{"shape":"ClusterInstanceStorageConfigs"},
63236348
"OnStartDeepHealthChecks":{"shape":"OnStartDeepHealthChecks"},
63246349
"TrainingPlanArn":{"shape":"TrainingPlanArn"},
6325-
"OverrideVpcConfig":{"shape":"VpcConfig"}
6350+
"OverrideVpcConfig":{"shape":"VpcConfig"},
6351+
"ScheduledUpdateConfig":{"shape":"ScheduledUpdateConfig"}
63266352
}
63276353
},
63286354
"ClusterInstanceGroupSpecifications":{
@@ -6527,6 +6553,7 @@
65276553
"InstanceStatus":{"shape":"ClusterInstanceStatusDetails"},
65286554
"InstanceType":{"shape":"ClusterInstanceType"},
65296555
"LaunchTime":{"shape":"Timestamp"},
6556+
"LastSoftwareUpdateTime":{"shape":"Timestamp"},
65306557
"LifeCycleConfig":{"shape":"ClusterLifeCycleConfig"},
65316558
"OverrideVpcConfig":{"shape":"VpcConfig"},
65326559
"ThreadsPerCore":{"shape":"ClusterThreadsPerCore"},
@@ -6574,6 +6601,7 @@
65746601
"InstanceId":{"shape":"String"},
65756602
"InstanceType":{"shape":"ClusterInstanceType"},
65766603
"LaunchTime":{"shape":"Timestamp"},
6604+
"LastSoftwareUpdateTime":{"shape":"Timestamp"},
65776605
"InstanceStatus":{"shape":"ClusterInstanceStatusDetails"}
65786606
}
65796607
},
@@ -8768,6 +8796,11 @@
87688796
}
87698797
},
87708798
"CreationTime":{"type":"timestamp"},
8799+
"CronScheduleExpression":{
8800+
"type":"string",
8801+
"max":256,
8802+
"min":1
8803+
},
87718804
"CrossAccountFilterOption":{
87728805
"type":"string",
87738806
"enum":[
@@ -9692,6 +9725,14 @@
96929725
"AutoRollbackConfiguration":{"shape":"AutoRollbackConfig"}
96939726
}
96949727
},
9728+
"DeploymentConfiguration":{
9729+
"type":"structure",
9730+
"members":{
9731+
"RollingUpdatePolicy":{"shape":"RollingDeploymentPolicy"},
9732+
"WaitIntervalInSeconds":{"shape":"WaitTimeIntervalInSeconds"},
9733+
"AutoRollbackConfiguration":{"shape":"AutoRollbackAlarms"}
9734+
}
9735+
},
96959736
"DeploymentRecommendation":{
96969737
"type":"structure",
96979738
"required":["RecommendationStatus"],
@@ -19303,6 +19344,17 @@
1930319344
"max":8192,
1930419345
"pattern":".*"
1930519346
},
19347+
"NodeUnavailabilityType":{
19348+
"type":"string",
19349+
"enum":[
19350+
"INSTANCE_COUNT",
19351+
"CAPACITY_PERCENTAGE"
19352+
]
19353+
},
19354+
"NodeUnavailabilityValue":{
19355+
"type":"integer",
19356+
"min":1
19357+
},
1930619358
"NonEmptyString256":{
1930719359
"type":"string",
1930819360
"max":256,
@@ -22242,6 +22294,14 @@
2224222294
"min":20,
2224322295
"pattern":"^arn:aws[a-z\\-]*:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$"
2224422296
},
22297+
"RollingDeploymentPolicy":{
22298+
"type":"structure",
22299+
"required":["MaximumBatchSize"],
22300+
"members":{
22301+
"MaximumBatchSize":{"shape":"CapacitySizeConfig"},
22302+
"RollbackMaximumBatchSize":{"shape":"CapacitySizeConfig"}
22303+
}
22304+
},
2224522305
"RollingUpdatePolicy":{
2224622306
"type":"structure",
2224722307
"required":[
@@ -22476,6 +22536,14 @@
2247622536
"Stopped"
2247722537
]
2247822538
},
22539+
"ScheduledUpdateConfig":{
22540+
"type":"structure",
22541+
"required":["ScheduleExpression"],
22542+
"members":{
22543+
"ScheduleExpression":{"shape":"CronScheduleExpression"},
22544+
"DeploymentConfig":{"shape":"DeploymentConfiguration"}
22545+
}
22546+
},
2247922547
"SchedulerConfig":{
2248022548
"type":"structure",
2248122549
"members":{
@@ -25264,11 +25332,26 @@
2526425332
"ClusterSchedulerConfigVersion":{"shape":"Integer"}
2526525333
}
2526625334
},
25335+
"UpdateClusterSoftwareInstanceGroupSpecification":{
25336+
"type":"structure",
25337+
"required":["InstanceGroupName"],
25338+
"members":{
25339+
"InstanceGroupName":{"shape":"ClusterInstanceGroupName"}
25340+
}
25341+
},
25342+
"UpdateClusterSoftwareInstanceGroups":{
25343+
"type":"list",
25344+
"member":{"shape":"UpdateClusterSoftwareInstanceGroupSpecification"},
25345+
"max":100,
25346+
"min":1
25347+
},
2526725348
"UpdateClusterSoftwareRequest":{
2526825349
"type":"structure",
2526925350
"required":["ClusterName"],
2527025351
"members":{
25271-
"ClusterName":{"shape":"ClusterNameOrArn"}
25352+
"ClusterName":{"shape":"ClusterNameOrArn"},
25353+
"InstanceGroups":{"shape":"UpdateClusterSoftwareInstanceGroups"},
25354+
"DeploymentConfig":{"shape":"DeploymentConfiguration"}
2527225355
}
2527325356
},
2527425357
"UpdateClusterSoftwareResponse":{
@@ -26222,6 +26305,11 @@
2622226305
"max":3600,
2622326306
"min":0
2622426307
},
26308+
"WaitTimeIntervalInSeconds":{
26309+
"type":"integer",
26310+
"max":3600,
26311+
"min":0
26312+
},
2622526313
"WarmPoolResourceStatus":{
2622626314
"type":"string",
2622726315
"enum":[

0 commit comments

Comments
 (0)