Skip to content

Commit b655135

Browse files
This release adds 1/ Launch ml.p5.4xlarge instance in Processing jobs, Training jobs and Training Plan 2/ Makes S3Uri to be required for S3FileSystem and S3FileSystemConfig.
1 parent 8835bcf commit b655135

File tree

7 files changed

+30
-112
lines changed

7 files changed

+30
-112
lines changed

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22259,7 +22259,8 @@
2225922259
"ml.r7i.12xlarge",
2226022260
"ml.r7i.16xlarge",
2226122261
"ml.r7i.24xlarge",
22262-
"ml.r7i.48xlarge"
22262+
"ml.r7i.48xlarge",
22263+
"ml.p5.4xlarge"
2226322264
]
2226422265
},
2226522266
"ProcessingJob":{
@@ -23818,7 +23819,8 @@
2381823819
"ml.trn2.48xlarge",
2381923820
"ml.p6-b200.48xlarge",
2382023821
"ml.p4de.24xlarge",
23821-
"ml.p6e-gb200.36xlarge"
23822+
"ml.p6e-gb200.36xlarge",
23823+
"ml.p5.4xlarge"
2382223824
]
2382323825
},
2382423826
"ReservedCapacityOffering":{
@@ -24245,12 +24247,14 @@
2424524247
},
2424624248
"S3FileSystem":{
2424724249
"type":"structure",
24250+
"required":["S3Uri"],
2424824251
"members":{
2424924252
"S3Uri":{"shape":"S3SchemaUri"}
2425024253
}
2425124254
},
2425224255
"S3FileSystemConfig":{
2425324256
"type":"structure",
24257+
"required":["S3Uri"],
2425424258
"members":{
2425524259
"MountPath":{"shape":"String1024"},
2425624260
"S3Uri":{"shape":"S3SchemaUri"}
@@ -26374,7 +26378,8 @@
2637426378
"ml.r7i.16xlarge",
2637526379
"ml.r7i.24xlarge",
2637626380
"ml.r7i.48xlarge",
26377-
"ml.p6e-gb200.36xlarge"
26381+
"ml.p6e-gb200.36xlarge",
26382+
"ml.p5.4xlarge"
2637826383
]
2637926384
},
2638026385
"TrainingInstanceTypes":{

generator/ServiceModels/sagemaker/sagemaker-2017-07-24.endpoint-tests.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -507,17 +507,6 @@
507507
"UseDualStack": false
508508
}
509509
},
510-
{
511-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
512-
"expect": {
513-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
514-
},
515-
"params": {
516-
"Region": "us-iso-east-1",
517-
"UseFIPS": true,
518-
"UseDualStack": true
519-
}
520-
},
521510
{
522511
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
523512
"expect": {
@@ -531,28 +520,6 @@
531520
"UseDualStack": false
532521
}
533522
},
534-
{
535-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
536-
"expect": {
537-
"error": "DualStack is enabled but this partition does not support DualStack"
538-
},
539-
"params": {
540-
"Region": "us-iso-east-1",
541-
"UseFIPS": false,
542-
"UseDualStack": true
543-
}
544-
},
545-
{
546-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
547-
"expect": {
548-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
549-
},
550-
"params": {
551-
"Region": "us-isob-east-1",
552-
"UseFIPS": true,
553-
"UseDualStack": true
554-
}
555-
},
556523
{
557524
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
558525
"expect": {
@@ -566,17 +533,6 @@
566533
"UseDualStack": false
567534
}
568535
},
569-
{
570-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
571-
"expect": {
572-
"error": "DualStack is enabled but this partition does not support DualStack"
573-
},
574-
"params": {
575-
"Region": "us-isob-east-1",
576-
"UseFIPS": false,
577-
"UseDualStack": true
578-
}
579-
},
580536
{
581537
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
582538
"expect": {

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35721,7 +35721,8 @@
3572135721
"ml.r7i.12xlarge",
3572235722
"ml.r7i.16xlarge",
3572335723
"ml.r7i.24xlarge",
35724-
"ml.r7i.48xlarge"
35724+
"ml.r7i.48xlarge",
35725+
"ml.p5.4xlarge"
3572535726
]
3572635727
},
3572735728
"ProcessingJob":{
@@ -38028,7 +38029,8 @@
3802838029
"ml.trn2.48xlarge",
3802938030
"ml.p6-b200.48xlarge",
3803038031
"ml.p4de.24xlarge",
38031-
"ml.p6e-gb200.36xlarge"
38032+
"ml.p6e-gb200.36xlarge",
38033+
"ml.p5.4xlarge"
3803238034
]
3803338035
},
3803438036
"ReservedCapacityOffering":{
@@ -38653,6 +38655,7 @@
3865338655
},
3865438656
"S3FileSystem":{
3865538657
"type":"structure",
38658+
"required":["S3Uri"],
3865638659
"members":{
3865738660
"S3Uri":{
3865838661
"shape":"S3SchemaUri",
@@ -38663,6 +38666,7 @@
3866338666
},
3866438667
"S3FileSystemConfig":{
3866538668
"type":"structure",
38669+
"required":["S3Uri"],
3866638670
"members":{
3866738671
"MountPath":{
3866838672
"shape":"String1024",
@@ -41603,7 +41607,8 @@
4160341607
"ml.r7i.16xlarge",
4160441608
"ml.r7i.24xlarge",
4160541609
"ml.r7i.48xlarge",
41606-
"ml.p6e-gb200.36xlarge"
41610+
"ml.p6e-gb200.36xlarge",
41611+
"ml.p5.4xlarge"
4160741612
]
4160841613
},
4160941614
"TrainingInstanceTypes":{

sdk/src/Services/SageMaker/Generated/Model/S3FileSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public partial class S3FileSystem
4444
/// is mounted within the Studio environment. For example: <c>s3://&lt;bucket-name&gt;/&lt;prefix&gt;/</c>.
4545
/// </para>
4646
/// </summary>
47-
[AWSProperty(Min=0, Max=1024)]
47+
[AWSProperty(Required=true, Min=0, Max=1024)]
4848
public string S3Uri
4949
{
5050
get { return this._s3Uri; }

sdk/src/Services/SageMaker/Generated/Model/S3FileSystemConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ internal bool IsSetMountPath()
6363
/// The Amazon S3 URI of the S3 file system configuration.
6464
/// </para>
6565
/// </summary>
66-
[AWSProperty(Min=0, Max=1024)]
66+
[AWSProperty(Required=true, Min=0, Max=1024)]
6767
public string S3Uri
6868
{
6969
get { return this._s3Uri; }

sdk/src/Services/SageMaker/Generated/ServiceEnumerations.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13873,6 +13873,10 @@ public class ProcessingInstanceType : ConstantClass
1387313873
/// </summary>
1387413874
public static readonly ProcessingInstanceType MlP38xlarge = new ProcessingInstanceType("ml.p3.8xlarge");
1387513875
/// <summary>
13876+
/// Constant MlP54xlarge for ProcessingInstanceType
13877+
/// </summary>
13878+
public static readonly ProcessingInstanceType MlP54xlarge = new ProcessingInstanceType("ml.p5.4xlarge");
13879+
/// <summary>
1387613880
/// Constant MlR512xlarge for ProcessingInstanceType
1387713881
/// </summary>
1387813882
public static readonly ProcessingInstanceType MlR512xlarge = new ProcessingInstanceType("ml.r5.12xlarge");
@@ -16395,6 +16399,10 @@ public class ReservedCapacityInstanceType : ConstantClass
1639516399
/// </summary>
1639616400
public static readonly ReservedCapacityInstanceType MlP548xlarge = new ReservedCapacityInstanceType("ml.p5.48xlarge");
1639716401
/// <summary>
16402+
/// Constant MlP54xlarge for ReservedCapacityInstanceType
16403+
/// </summary>
16404+
public static readonly ReservedCapacityInstanceType MlP54xlarge = new ReservedCapacityInstanceType("ml.p5.4xlarge");
16405+
/// <summary>
1639816406
/// Constant MlP5e48xlarge for ReservedCapacityInstanceType
1639916407
/// </summary>
1640016408
public static readonly ReservedCapacityInstanceType MlP5e48xlarge = new ReservedCapacityInstanceType("ml.p5e.48xlarge");
@@ -20579,6 +20587,10 @@ public class TrainingInstanceType : ConstantClass
2057920587
/// </summary>
2058020588
public static readonly TrainingInstanceType MlP548xlarge = new TrainingInstanceType("ml.p5.48xlarge");
2058120589
/// <summary>
20590+
/// Constant MlP54xlarge for TrainingInstanceType
20591+
/// </summary>
20592+
public static readonly TrainingInstanceType MlP54xlarge = new TrainingInstanceType("ml.p5.4xlarge");
20593+
/// <summary>
2058220594
/// Constant MlP5e48xlarge for TrainingInstanceType
2058320595
/// </summary>
2058420596
public static readonly TrainingInstanceType MlP5e48xlarge = new TrainingInstanceType("ml.p5e.48xlarge");

sdk/test/Services/SageMaker/UnitTests/Generated/Endpoints/SageMakerEndpointProviderTests.cs

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -613,21 +613,6 @@ public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_disabled_Test
613613
Assert.AreEqual("https://api.sagemaker.us-iso-east-1.c2s.ic.gov", endpoint.URL);
614614
}
615615

616-
[TestMethod]
617-
[TestCategory("UnitTest")]
618-
[TestCategory("Endpoints")]
619-
[TestCategory("SageMaker")]
620-
[Description("For region us-iso-east-1 with FIPS enabled and DualStack enabled")]
621-
[ExpectedException(typeof(AmazonClientException), @"FIPS and DualStack are enabled, but this partition does not support one or both")]
622-
public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
623-
{
624-
var parameters = new SageMakerEndpointParameters();
625-
parameters["Region"] = "us-iso-east-1";
626-
parameters["UseFIPS"] = true;
627-
parameters["UseDualStack"] = true;
628-
var endpoint = new AmazonSageMakerEndpointProvider().ResolveEndpoint(parameters);
629-
}
630-
631616
[TestMethod]
632617
[TestCategory("UnitTest")]
633618
[TestCategory("Endpoints")]
@@ -643,36 +628,6 @@ public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_disabled_Test(
643628
Assert.AreEqual("https://api.sagemaker-fips.us-iso-east-1.c2s.ic.gov", endpoint.URL);
644629
}
645630

646-
[TestMethod]
647-
[TestCategory("UnitTest")]
648-
[TestCategory("Endpoints")]
649-
[TestCategory("SageMaker")]
650-
[Description("For region us-iso-east-1 with FIPS disabled and DualStack enabled")]
651-
[ExpectedException(typeof(AmazonClientException), @"DualStack is enabled but this partition does not support DualStack")]
652-
public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
653-
{
654-
var parameters = new SageMakerEndpointParameters();
655-
parameters["Region"] = "us-iso-east-1";
656-
parameters["UseFIPS"] = false;
657-
parameters["UseDualStack"] = true;
658-
var endpoint = new AmazonSageMakerEndpointProvider().ResolveEndpoint(parameters);
659-
}
660-
661-
[TestMethod]
662-
[TestCategory("UnitTest")]
663-
[TestCategory("Endpoints")]
664-
[TestCategory("SageMaker")]
665-
[Description("For region us-isob-east-1 with FIPS enabled and DualStack enabled")]
666-
[ExpectedException(typeof(AmazonClientException), @"FIPS and DualStack are enabled, but this partition does not support one or both")]
667-
public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
668-
{
669-
var parameters = new SageMakerEndpointParameters();
670-
parameters["Region"] = "us-isob-east-1";
671-
parameters["UseFIPS"] = true;
672-
parameters["UseDualStack"] = true;
673-
var endpoint = new AmazonSageMakerEndpointProvider().ResolveEndpoint(parameters);
674-
}
675-
676631
[TestMethod]
677632
[TestCategory("UnitTest")]
678633
[TestCategory("Endpoints")]
@@ -688,21 +643,6 @@ public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_disabled_Test
688643
Assert.AreEqual("https://api.sagemaker-fips.us-isob-east-1.sc2s.sgov.gov", endpoint.URL);
689644
}
690645

691-
[TestMethod]
692-
[TestCategory("UnitTest")]
693-
[TestCategory("Endpoints")]
694-
[TestCategory("SageMaker")]
695-
[Description("For region us-isob-east-1 with FIPS disabled and DualStack enabled")]
696-
[ExpectedException(typeof(AmazonClientException), @"DualStack is enabled but this partition does not support DualStack")]
697-
public void For_region_usisobeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
698-
{
699-
var parameters = new SageMakerEndpointParameters();
700-
parameters["Region"] = "us-isob-east-1";
701-
parameters["UseFIPS"] = false;
702-
parameters["UseDualStack"] = true;
703-
var endpoint = new AmazonSageMakerEndpointProvider().ResolveEndpoint(parameters);
704-
}
705-
706646
[TestMethod]
707647
[TestCategory("UnitTest")]
708648
[TestCategory("Endpoints")]

0 commit comments

Comments
 (0)