Skip to content

Commit 5f0317f

Browse files
Adds support for IPv6 for SageMaker HyperPod cluster nodes.
1 parent 09141e5 commit 5f0317f

File tree

8 files changed

+50
-12
lines changed

8 files changed

+50
-12
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6474,6 +6474,7 @@
64746474
"ThreadsPerCore":{"shape":"ClusterThreadsPerCore"},
64756475
"InstanceStorageConfigs":{"shape":"ClusterInstanceStorageConfigs"},
64766476
"PrivatePrimaryIp":{"shape":"ClusterPrivatePrimaryIp"},
6477+
"PrivatePrimaryIpv6":{"shape":"ClusterPrivatePrimaryIpv6"},
64776478
"PrivateDnsHostname":{"shape":"ClusterPrivateDnsHostname"},
64786479
"Placement":{"shape":"ClusterInstancePlacement"}
64796480
}
@@ -6544,6 +6545,7 @@
65446545
"type":"string",
65456546
"pattern":"^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"
65466547
},
6548+
"ClusterPrivatePrimaryIpv6":{"type":"string"},
65476549
"ClusterSchedulerConfigArn":{
65486550
"type":"string",
65496551
"max":256,

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,6 +2383,12 @@
23832383
"ClusterNodeDetails$PrivatePrimaryIp": "<p>The private primary IP address of the SageMaker HyperPod cluster node.</p>"
23842384
}
23852385
},
2386+
"ClusterPrivatePrimaryIpv6": {
2387+
"base": null,
2388+
"refs": {
2389+
"ClusterNodeDetails$PrivatePrimaryIpv6": "<p>The private primary IPv6 address of the SageMaker HyperPod cluster node.</p>"
2390+
}
2391+
},
23862392
"ClusterSchedulerConfigArn": {
23872393
"base": null,
23882394
"refs": {
@@ -2829,7 +2835,7 @@
28292835
"DeployedImage$SpecifiedImage": "<p>The image path you specified when you created the model.</p>",
28302836
"DeployedImage$ResolvedImage": "<p>The specific digest path of the image hosted in this <code>ProductionVariant</code>.</p>",
28312837
"InferenceComponentContainerSpecification$Image": "<p>The Amazon Elastic Container Registry (Amazon ECR) path where the Docker image for the model is stored.</p>",
2832-
"ModelPackageContainerDefinition$Image": "<p>The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.</p> <p>If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code> image path formats. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html\">Using Your Own Algorithms with Amazon SageMaker</a>.</p>",
2838+
"ModelPackageContainerDefinition$Image": "<p>The Amazon EC2 Container Registry path where inference code is stored.</p> <p>If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code> image path formats. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html\">Using Your Own Algorithms with Amazon SageMaker</a>.</p>",
28332839
"TrainingSpecification$TrainingImage": "<p>The Amazon ECR registry path of the Docker image that contains the training algorithm.</p>"
28342840
}
28352841
},
@@ -14412,7 +14418,7 @@
1441214418
"S3DataType": {
1441314419
"base": null,
1441414420
"refs": {
14415-
"S3DataSource$S3DataType": "<p>If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. </p> <p>If you choose <code>ManifestFile</code>, <code>S3Uri</code> identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. </p> <p>If you choose <code>AugmentedManifestFile</code>, S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. <code>AugmentedManifestFile</code> can only be used if the Channel's input mode is <code>Pipe</code>.</p>",
14421+
"S3DataSource$S3DataType": "<p>If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. </p> <p>If you choose <code>ManifestFile</code>, <code>S3Uri</code> identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. </p> <p>If you choose <code>AugmentedManifestFile</code>, <code>S3Uri</code> identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. <code>AugmentedManifestFile</code> can only be used if the Channel's input mode is <code>Pipe</code>.</p>",
1441614422
"TransformS3DataSource$S3DataType": "<p>If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for batch transform. </p> <p>If you choose <code>ManifestFile</code>, <code>S3Uri</code> identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for batch transform. </p> <p>The following values are compatible: <code>ManifestFile</code>, <code>S3Prefix</code> </p> <p>The following value is not compatible: <code>AugmentedManifestFile</code> </p>"
1441714423
}
1441814424
},
@@ -15575,7 +15581,7 @@
1557515581
"RenderingError$Code": "<p>A unique identifier for a specific class of errors.</p>",
1557615582
"RenderingError$Message": "<p>A human-readable message describing the error.</p>",
1557715583
"S3ModelDataSource$ETag": "<p>The ETag associated with S3 URI.</p>",
15578-
"S3ModelDataSource$ManifestEtag": "<p>The ETag associated with Manifest S3URI.</p>",
15584+
"S3ModelDataSource$ManifestEtag": "<p>The ETag associated with Manifest S3 URI.</p>",
1557915585
"ScheduleConfig$DataAnalysisStartTime": "<p>Sets the start time for a monitoring job window. Express this time as an offset to the times that you schedule your monitoring jobs to run. You schedule monitoring jobs with the <code>ScheduleExpression</code> parameter. Specify this offset in ISO 8601 duration format. For example, if you want to monitor the five hours of data in your dataset that precede the start of each monitoring job, you would specify: <code>\"-PT5H\"</code>.</p> <p>The start time that you specify must not precede the end time that you specify by more than 24 hours. You specify the end time with the <code>DataAnalysisEndTime</code> parameter.</p> <p>If you set <code>ScheduleExpression</code> to <code>NOW</code>, this parameter is required.</p>",
1558015586
"ScheduleConfig$DataAnalysisEndTime": "<p>Sets the end time for a monitoring job window. Express this time as an offset to the times that you schedule your monitoring jobs to run. You schedule monitoring jobs with the <code>ScheduleExpression</code> parameter. Specify this offset in ISO 8601 duration format. For example, if you want to end the window one hour before the start of each monitoring job, you would specify: <code>\"-PT1H\"</code>.</p> <p>The end time that you specify must not follow the start time that you specify by more than 24 hours. You specify the start time with the <code>DataAnalysisStartTime</code> parameter.</p> <p>If you set <code>ScheduleExpression</code> to <code>NOW</code>, this parameter is required.</p>",
1558115587
"SourceAlgorithm$ModelDataETag": "<p>The ETag associated with Model Data URL.</p>",

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7947,6 +7947,10 @@
79477947
"shape":"ClusterPrivatePrimaryIp",
79487948
"documentation":"<p>The private primary IP address of the SageMaker HyperPod cluster node.</p>"
79497949
},
7950+
"PrivatePrimaryIpv6":{
7951+
"shape":"ClusterPrivatePrimaryIpv6",
7952+
"documentation":"<p>The private primary IPv6 address of the SageMaker HyperPod cluster node.</p>"
7953+
},
79507954
"PrivateDnsHostname":{
79517955
"shape":"ClusterPrivateDnsHostname",
79527956
"documentation":"<p>The private DNS hostname of the SageMaker HyperPod cluster node.</p>"
@@ -8048,6 +8052,7 @@
80488052
"type":"string",
80498053
"pattern":"^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"
80508054
},
8055+
"ClusterPrivatePrimaryIpv6":{"type":"string"},
80518056
"ClusterSchedulerConfigArn":{
80528057
"type":"string",
80538058
"max":256,
@@ -29898,7 +29903,7 @@
2989829903
},
2989929904
"Image":{
2990029905
"shape":"ContainerImage",
29901-
"documentation":"<p>The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.</p> <p>If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code> image path formats. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html\">Using Your Own Algorithms with Amazon SageMaker</a>.</p>"
29906+
"documentation":"<p>The Amazon EC2 Container Registry path where inference code is stored.</p> <p>If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code> image path formats. For more information, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html\">Using Your Own Algorithms with Amazon SageMaker</a>.</p>"
2990229907
},
2990329908
"ImageDigest":{
2990429909
"shape":"ImageDigest",
@@ -35839,7 +35844,7 @@
3583935844
"members":{
3584035845
"S3DataType":{
3584135846
"shape":"S3DataType",
35842-
"documentation":"<p>If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. </p> <p>If you choose <code>ManifestFile</code>, <code>S3Uri</code> identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. </p> <p>If you choose <code>AugmentedManifestFile</code>, S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. <code>AugmentedManifestFile</code> can only be used if the Channel's input mode is <code>Pipe</code>.</p>"
35847+
"documentation":"<p>If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. </p> <p>If you choose <code>ManifestFile</code>, <code>S3Uri</code> identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. </p> <p>If you choose <code>AugmentedManifestFile</code>, <code>S3Uri</code> identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. <code>AugmentedManifestFile</code> can only be used if the Channel's input mode is <code>Pipe</code>.</p>"
3584335848
},
3584435849
"S3Uri":{
3584535850
"shape":"S3Uri",
@@ -35906,7 +35911,7 @@
3590635911
},
3590735912
"ManifestEtag":{
3590835913
"shape":"String",
35909-
"documentation":"<p>The ETag associated with Manifest S3URI.</p>"
35914+
"documentation":"<p>The ETag associated with Manifest S3 URI.</p>"
3591035915
}
3591135916
},
3591235917
"documentation":"<p>Specifies the S3 location of ML model data to deploy.</p>"

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public partial class ClusterNodeDetails
4646
private ClusterInstancePlacement _placement;
4747
private string _privateDnsHostname;
4848
private string _privatePrimaryIp;
49+
private string _privatePrimaryIpv6;
4950
private int? _threadsPerCore;
5051

5152
/// <summary>
@@ -246,6 +247,24 @@ internal bool IsSetPrivatePrimaryIp()
246247
return this._privatePrimaryIp != null;
247248
}
248249

250+
/// <summary>
251+
/// Gets and sets the property PrivatePrimaryIpv6.
252+
/// <para>
253+
/// The private primary IPv6 address of the SageMaker HyperPod cluster node.
254+
/// </para>
255+
/// </summary>
256+
public string PrivatePrimaryIpv6
257+
{
258+
get { return this._privatePrimaryIpv6; }
259+
set { this._privatePrimaryIpv6 = value; }
260+
}
261+
262+
// Check to see if PrivatePrimaryIpv6 property is set
263+
internal bool IsSetPrivatePrimaryIpv6()
264+
{
265+
return this._privatePrimaryIpv6 != null;
266+
}
267+
249268
/// <summary>
250269
/// Gets and sets the property ThreadsPerCore.
251270
/// <para>

sdk/src/Services/SageMaker/Generated/Model/Internal/MarshallTransformations/ClusterNodeDetailsUnmarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ public ClusterNodeDetails Unmarshall(JsonUnmarshallerContext context)
132132
unmarshalledObject.PrivatePrimaryIp = unmarshaller.Unmarshall(context);
133133
continue;
134134
}
135+
if (context.TestExpression("PrivatePrimaryIpv6", targetDepth))
136+
{
137+
var unmarshaller = StringUnmarshaller.Instance;
138+
unmarshalledObject.PrivatePrimaryIpv6 = unmarshaller.Unmarshall(context);
139+
continue;
140+
}
135141
if (context.TestExpression("ThreadsPerCore", targetDepth))
136142
{
137143
var unmarshaller = IntUnmarshaller.Instance;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ internal bool IsSetFrameworkVersion()
147147
/// <summary>
148148
/// Gets and sets the property Image.
149149
/// <para>
150-
/// The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.
150+
/// The Amazon EC2 Container Registry path where inference code is stored.
151151
/// </para>
152152
///
153153
/// <para>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ internal bool IsSetS3DataDistributionType()
140140
/// </para>
141141
///
142142
/// <para>
143-
/// If you choose <c>AugmentedManifestFile</c>, S3Uri identifies an object that is an
144-
/// augmented manifest file in JSON lines format. This file contains the data you want
145-
/// to use for model training. <c>AugmentedManifestFile</c> can only be used if the Channel's
146-
/// input mode is <c>Pipe</c>.
143+
/// If you choose <c>AugmentedManifestFile</c>, <c>S3Uri</c> identifies an object that
144+
/// is an augmented manifest file in JSON lines format. This file contains the data you
145+
/// want to use for model training. <c>AugmentedManifestFile</c> can only be used if the
146+
/// Channel's input mode is <c>Pipe</c>.
147147
/// </para>
148148
/// </summary>
149149
[AWSProperty(Required=true)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ internal bool IsSetHubAccessConfig()
180180
/// <summary>
181181
/// Gets and sets the property ManifestEtag.
182182
/// <para>
183-
/// The ETag associated with Manifest S3URI.
183+
/// The ETag associated with Manifest S3 URI.
184184
/// </para>
185185
/// </summary>
186186
public string ManifestEtag

0 commit comments

Comments
 (0)