Skip to content

Commit

Permalink
feat(client-sagemaker): Adds support for IPv6 for SageMaker HyperPod …
Browse files Browse the repository at this point in the history
…cluster nodes.
  • Loading branch information
awstools committed Jan 8, 2025
1 parent 4e29ba7 commit 85ce553
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export interface DescribeClusterNodeCommandOutput extends DescribeClusterNodeRes
* // },
* // ],
* // PrivatePrimaryIp: "STRING_VALUE",
* // PrivatePrimaryIpv6: "STRING_VALUE",
* // PrivateDnsHostname: "STRING_VALUE",
* // Placement: { // ClusterInstancePlacement
* // AvailabilityZone: "STRING_VALUE",
Expand Down
12 changes: 9 additions & 3 deletions clients/client-sagemaker/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ export interface S3ModelDataSource {
ETag?: string | undefined;

/**
* <p>The ETag associated with Manifest S3URI.</p>
* <p>The ETag associated with Manifest S3 URI.</p>
* @public
*/
ManifestEtag?: string | undefined;
Expand Down Expand Up @@ -530,7 +530,7 @@ export interface ModelPackageContainerDefinition {
ContainerHostname?: string | undefined;

/**
* <p>The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.</p>
* <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>
Expand Down Expand Up @@ -1606,7 +1606,7 @@ export interface S3DataSource {
* <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
* <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>
Expand Down Expand Up @@ -9898,6 +9898,12 @@ export interface ClusterNodeDetails {
*/
PrivatePrimaryIp?: string | undefined;

/**
* <p>The private primary IPv6 address of the SageMaker HyperPod cluster node.</p>
* @public
*/
PrivatePrimaryIpv6?: string | undefined;

/**
* <p>The private DNS hostname of the SageMaker HyperPod cluster node.</p>
* @public
Expand Down
1 change: 1 addition & 0 deletions clients/client-sagemaker/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19227,6 +19227,7 @@ const de_ClusterNodeDetails = (output: any, context: __SerdeContext): ClusterNod
Placement: (_: any) => de_ClusterInstancePlacement(_, context),
PrivateDnsHostname: __expectString,
PrivatePrimaryIp: __expectString,
PrivatePrimaryIpv6: __expectString,
ThreadsPerCore: __expectInt32,
}) as any;
};
Expand Down
15 changes: 12 additions & 3 deletions codegen/sdk-codegen/aws-models/sagemaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -7814,6 +7814,12 @@
"smithy.api#documentation": "<p>The private primary IP address of the SageMaker HyperPod cluster node.</p>"
}
},
"PrivatePrimaryIpv6": {
"target": "com.amazonaws.sagemaker#ClusterPrivatePrimaryIpv6",
"traits": {
"smithy.api#documentation": "<p>The private primary IPv6 address of the SageMaker HyperPod cluster node.</p>"
}
},
"PrivateDnsHostname": {
"target": "com.amazonaws.sagemaker#ClusterPrivateDnsHostname",
"traits": {
Expand Down Expand Up @@ -7976,6 +7982,9 @@
"smithy.api#pattern": "^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"
}
},
"com.amazonaws.sagemaker#ClusterPrivatePrimaryIpv6": {
"type": "string"
},
"com.amazonaws.sagemaker#ClusterSchedulerConfigArn": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -49071,7 +49080,7 @@
"target": "com.amazonaws.sagemaker#ContainerImage",
"traits": {
"smithy.api#clientOptional": {},
"smithy.api#documentation": "<p>The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.</p>\n <p>If you are using your own custom algorithm instead of an algorithm provided by SageMaker,\n the inference code must meet SageMaker requirements. SageMaker supports both\n <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code>\n 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\n SageMaker</a>.</p>",
"smithy.api#documentation": "<p>The Amazon EC2 Container Registry path where inference code is stored.</p>\n <p>If you are using your own custom algorithm instead of an algorithm provided by SageMaker,\n the inference code must meet SageMaker requirements. SageMaker supports both\n <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code>\n 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\n SageMaker</a>.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -60607,7 +60616,7 @@
"target": "com.amazonaws.sagemaker#S3DataType",
"traits": {
"smithy.api#clientOptional": {},
"smithy.api#documentation": "<p>If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix.\n SageMaker uses all objects that match the specified key name prefix for model training. </p>\n <p>If you choose <code>ManifestFile</code>, <code>S3Uri</code> identifies an object that\n is a manifest file containing a list of object keys that you want SageMaker to use for model\n training. </p>\n <p>If you choose <code>AugmentedManifestFile</code>, S3Uri identifies an object that is\n an augmented manifest file in JSON lines format. This file contains the data you want to\n use for model training. <code>AugmentedManifestFile</code> can only be used if the\n Channel's input mode is <code>Pipe</code>.</p>",
"smithy.api#documentation": "<p>If you choose <code>S3Prefix</code>, <code>S3Uri</code> identifies a key name prefix.\n SageMaker uses all objects that match the specified key name prefix for model training. </p>\n <p>If you choose <code>ManifestFile</code>, <code>S3Uri</code> identifies an object that\n is a manifest file containing a list of object keys that you want SageMaker to use for model\n training. </p>\n <p>If you choose <code>AugmentedManifestFile</code>, <code>S3Uri</code> identifies an object that is\n an augmented manifest file in JSON lines format. This file contains the data you want to\n use for model training. <code>AugmentedManifestFile</code> can only be used if the\n Channel's input mode is <code>Pipe</code>.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -60719,7 +60728,7 @@
"ManifestEtag": {
"target": "com.amazonaws.sagemaker#String",
"traits": {
"smithy.api#documentation": "<p>The ETag associated with Manifest S3URI.</p>"
"smithy.api#documentation": "<p>The ETag associated with Manifest S3 URI.</p>"
}
}
},
Expand Down

0 comments on commit 85ce553

Please sign in to comment.