@aws-sdk/client-pcs 3.858.0 → 3.859.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog = exports.QueueStatus = exports.ClusterStatus = exports.EndpointType = exports.Size = exports.SchedulerType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ComputeNodeGroupStatus = exports.SpotAllocationStrategy = exports.PurchaseOption = exports.ConflictException = exports.AccountingMode = exports.AccessDeniedException = void 0;
3
+ exports.RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog = exports.QueueStatus = exports.ClusterStatus = exports.EndpointType = exports.Size = exports.SchedulerType = exports.NetworkType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ComputeNodeGroupStatus = exports.SpotAllocationStrategy = exports.PurchaseOption = exports.ConflictException = exports.AccountingMode = exports.AccessDeniedException = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const PCSServiceException_1 = require("./PCSServiceException");
6
6
  class AccessDeniedException extends PCSServiceException_1.PCSServiceException {
@@ -149,6 +149,10 @@ class ValidationException extends PCSServiceException_1.PCSServiceException {
149
149
  }
150
150
  }
151
151
  exports.ValidationException = ValidationException;
152
+ exports.NetworkType = {
153
+ IPV4: "IPV4",
154
+ IPV6: "IPV6",
155
+ };
152
156
  exports.SchedulerType = {
153
157
  SLURM: "SLURM",
154
158
  };
@@ -139,6 +139,10 @@ export class ValidationException extends __BaseException {
139
139
  this.fieldList = opts.fieldList;
140
140
  }
141
141
  }
142
+ export const NetworkType = {
143
+ IPV4: "IPV4",
144
+ IPV6: "IPV6",
145
+ };
142
146
  export const SchedulerType = {
143
147
  SLURM: "SLURM",
144
148
  };
@@ -48,6 +48,7 @@ declare const CreateClusterCommand_base: {
48
48
  * securityGroupIds: [ // SecurityGroupIdList
49
49
  * "STRING_VALUE",
50
50
  * ],
51
+ * networkType: "IPV4" || "IPV6",
51
52
  * },
52
53
  * slurmConfiguration: { // ClusterSlurmConfigurationRequest
53
54
  * scaleDownIdleTimeInSeconds: Number("int"),
@@ -106,12 +107,14 @@ declare const CreateClusterCommand_base: {
106
107
  * // securityGroupIds: [ // SecurityGroupIdList
107
108
  * // "STRING_VALUE",
108
109
  * // ],
110
+ * // networkType: "IPV4" || "IPV6",
109
111
  * // },
110
112
  * // endpoints: [ // Endpoints
111
113
  * // { // Endpoint
112
114
  * // type: "SLURMCTLD" || "SLURMDBD", // required
113
115
  * // privateIpAddress: "STRING_VALUE", // required
114
116
  * // publicIpAddress: "STRING_VALUE",
117
+ * // ipv6Address: "STRING_VALUE",
115
118
  * // port: "STRING_VALUE", // required
116
119
  * // },
117
120
  * // ],
@@ -76,12 +76,14 @@ declare const GetClusterCommand_base: {
76
76
  * // securityGroupIds: [ // SecurityGroupIdList
77
77
  * // "STRING_VALUE",
78
78
  * // ],
79
+ * // networkType: "IPV4" || "IPV6",
79
80
  * // },
80
81
  * // endpoints: [ // Endpoints
81
82
  * // { // Endpoint
82
83
  * // type: "SLURMCTLD" || "SLURMDBD", // required
83
84
  * // privateIpAddress: "STRING_VALUE", // required
84
85
  * // publicIpAddress: "STRING_VALUE",
86
+ * // ipv6Address: "STRING_VALUE",
85
87
  * // port: "STRING_VALUE", // required
86
88
  * // },
87
89
  * // ],
@@ -48,6 +48,7 @@ declare const RegisterComputeNodeGroupInstanceCommand_base: {
48
48
  * // type: "SLURMCTLD" || "SLURMDBD", // required
49
49
  * // privateIpAddress: "STRING_VALUE", // required
50
50
  * // publicIpAddress: "STRING_VALUE",
51
+ * // ipv6Address: "STRING_VALUE",
51
52
  * // port: "STRING_VALUE", // required
52
53
  * // },
53
54
  * // ],
@@ -762,6 +762,18 @@ export interface UpdateComputeNodeGroupResponse {
762
762
  */
763
763
  computeNodeGroup?: ComputeNodeGroup | undefined;
764
764
  }
765
+ /**
766
+ * @public
767
+ * @enum
768
+ */
769
+ export declare const NetworkType: {
770
+ readonly IPV4: "IPV4";
771
+ readonly IPV6: "IPV6";
772
+ };
773
+ /**
774
+ * @public
775
+ */
776
+ export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
765
777
  /**
766
778
  * <p>The networking configuration for the cluster's control plane.</p>
767
779
  * @public
@@ -777,6 +789,11 @@ export interface NetworkingRequest {
777
789
  * @public
778
790
  */
779
791
  securityGroupIds?: string[] | undefined;
792
+ /**
793
+ * <p>The IP address version the cluster uses. The default is <code>IPV4</code>.</p>
794
+ * @public
795
+ */
796
+ networkType?: NetworkType | undefined;
780
797
  }
781
798
  /**
782
799
  * @public
@@ -902,15 +919,20 @@ export interface Endpoint {
902
919
  */
903
920
  type: EndpointType | undefined;
904
921
  /**
905
- * <p>The endpoint's private IP address.</p> <p>Example: <code>2.2.2.2</code> </p>
922
+ * <p>For clusters that use IPv4, this is the endpoint's private IP address.</p> <p>Example: <code>10.1.2.3</code> </p> <p>For clusters configured to use IPv6, this is an empty string.</p>
906
923
  * @public
907
924
  */
908
925
  privateIpAddress: string | undefined;
909
926
  /**
910
- * <p>The endpoint's public IP address.</p> <p>Example: <code>1.1.1.1</code> </p>
927
+ * <p>The endpoint's public IP address.</p> <p>Example: <code>192.0.2.1</code> </p>
911
928
  * @public
912
929
  */
913
930
  publicIpAddress?: string | undefined;
931
+ /**
932
+ * <p>The endpoint's IPv6 address.</p> <p>Example: <code>2001:db8::1</code> </p>
933
+ * @public
934
+ */
935
+ ipv6Address?: string | undefined;
914
936
  /**
915
937
  * <p>The endpoint's connection port number.</p> <p> Example: <code>1234</code> </p>
916
938
  * @public
@@ -928,10 +950,15 @@ export interface Networking {
928
950
  */
929
951
  subnetIds?: string[] | undefined;
930
952
  /**
931
- * <p>The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.</p> <p>The following rules are required:</p> <ul> <li> <p>Inbound rule 1</p> <ul> <li> <p>Protocol: All</p> </li> <li> <p>Ports: All</p> </li> <li> <p>Source: Self</p> </li> </ul> </li> <li> <p>Outbound rule 1</p> <ul> <li> <p>Protocol: All</p> </li> <li> <p>Ports: All</p> </li> <li> <p>Destination: 0.0.0.0/0 (IPv4)</p> </li> </ul> </li> <li> <p>Outbound rule 2</p> <ul> <li> <p>Protocol: All</p> </li> <li> <p>Ports: All</p> </li> <li> <p>Destination: Self</p> </li> </ul> </li> </ul>
953
+ * <p>The list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.</p> <p>The following rules are required:</p> <ul> <li> <p>Inbound rule 1</p> <ul> <li> <p>Protocol: All</p> </li> <li> <p>Ports: All</p> </li> <li> <p>Source: Self</p> </li> </ul> </li> <li> <p>Outbound rule 1</p> <ul> <li> <p>Protocol: All</p> </li> <li> <p>Ports: All</p> </li> <li> <p>Destination: 0.0.0.0/0 (IPv4) or ::/0 (IPv6)</p> </li> </ul> </li> <li> <p>Outbound rule 2</p> <ul> <li> <p>Protocol: All</p> </li> <li> <p>Ports: All</p> </li> <li> <p>Destination: Self</p> </li> </ul> </li> </ul>
932
954
  * @public
933
955
  */
934
956
  securityGroupIds?: string[] | undefined;
957
+ /**
958
+ * <p>The IP address version the cluster uses. The default is <code>IPV4</code>.</p>
959
+ * @public
960
+ */
961
+ networkType?: NetworkType | undefined;
935
962
  }
936
963
  /**
937
964
  * <p>The cluster management and job scheduling software associated with the cluster.</p>
@@ -234,9 +234,15 @@ export interface UpdateComputeNodeGroupRequest {
234
234
  export interface UpdateComputeNodeGroupResponse {
235
235
  computeNodeGroup?: ComputeNodeGroup | undefined;
236
236
  }
237
+ export declare const NetworkType: {
238
+ readonly IPV4: "IPV4";
239
+ readonly IPV6: "IPV6";
240
+ };
241
+ export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
237
242
  export interface NetworkingRequest {
238
243
  subnetIds?: string[] | undefined;
239
244
  securityGroupIds?: string[] | undefined;
245
+ networkType?: NetworkType | undefined;
240
246
  }
241
247
  export declare const SchedulerType: {
242
248
  readonly SLURM: "SLURM";
@@ -275,11 +281,13 @@ export interface Endpoint {
275
281
  type: EndpointType | undefined;
276
282
  privateIpAddress: string | undefined;
277
283
  publicIpAddress?: string | undefined;
284
+ ipv6Address?: string | undefined;
278
285
  port: string | undefined;
279
286
  }
280
287
  export interface Networking {
281
288
  subnetIds?: string[] | undefined;
282
289
  securityGroupIds?: string[] | undefined;
290
+ networkType?: NetworkType | undefined;
283
291
  }
284
292
  export interface Scheduler {
285
293
  type: SchedulerType | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pcs",
3
3
  "description": "AWS SDK for JavaScript Pcs Client for Node.js, Browser and React Native",
4
- "version": "3.858.0",
4
+ "version": "3.859.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.858.0",
24
- "@aws-sdk/credential-provider-node": "3.858.0",
24
+ "@aws-sdk/credential-provider-node": "3.859.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",