@aws-sdk/client-pcs 3.934.0 → 3.935.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,18 +1,16 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { PCSServiceException as __BaseException } from "./PCSServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
- export declare const AccountingMode: {
11
- readonly NONE: "NONE";
12
- readonly STANDARD: "STANDARD";
13
- };
14
- export type AccountingMode =
15
- (typeof AccountingMode)[keyof typeof AccountingMode];
1
+ import {
2
+ AccountingMode,
3
+ ClusterStatus,
4
+ ComputeNodeGroupStatus,
5
+ EndpointType,
6
+ NetworkType,
7
+ PurchaseOption,
8
+ QueueStatus,
9
+ SchedulerType,
10
+ Size,
11
+ SlurmRestMode,
12
+ SpotAllocationStrategy,
13
+ } from "./enums";
16
14
  export interface Accounting {
17
15
  defaultPurgeTimeInDays?: number | undefined;
18
16
  mode: AccountingMode | undefined;
@@ -21,13 +19,6 @@ export interface AccountingRequest {
21
19
  defaultPurgeTimeInDays?: number | undefined;
22
20
  mode: AccountingMode | undefined;
23
21
  }
24
- export declare class ConflictException extends __BaseException {
25
- readonly name: "ConflictException";
26
- readonly $fault: "client";
27
- resourceId: string | undefined;
28
- resourceType: string | undefined;
29
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
30
- }
31
22
  export interface CustomLaunchTemplate {
32
23
  id: string | undefined;
33
24
  version: string | undefined;
@@ -35,13 +26,6 @@ export interface CustomLaunchTemplate {
35
26
  export interface InstanceConfig {
36
27
  instanceType?: string | undefined;
37
28
  }
38
- export declare const PurchaseOption: {
39
- readonly CAPACITY_BLOCK: "CAPACITY_BLOCK";
40
- readonly ONDEMAND: "ONDEMAND";
41
- readonly SPOT: "SPOT";
42
- };
43
- export type PurchaseOption =
44
- (typeof PurchaseOption)[keyof typeof PurchaseOption];
45
29
  export interface ScalingConfigurationRequest {
46
30
  minInstanceCount: number | undefined;
47
31
  maxInstanceCount: number | undefined;
@@ -53,13 +37,6 @@ export interface SlurmCustomSetting {
53
37
  export interface ComputeNodeGroupSlurmConfigurationRequest {
54
38
  slurmCustomSettings?: SlurmCustomSetting[] | undefined;
55
39
  }
56
- export declare const SpotAllocationStrategy: {
57
- readonly CAPACITY_OPTIMIZED: "capacity-optimized";
58
- readonly LOWEST_PRICE: "lowest-price";
59
- readonly PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized";
60
- };
61
- export type SpotAllocationStrategy =
62
- (typeof SpotAllocationStrategy)[keyof typeof SpotAllocationStrategy];
63
40
  export interface SpotOptions {
64
41
  allocationStrategy?: SpotAllocationStrategy | undefined;
65
42
  }
@@ -89,20 +66,6 @@ export interface ScalingConfiguration {
89
66
  export interface ComputeNodeGroupSlurmConfiguration {
90
67
  slurmCustomSettings?: SlurmCustomSetting[] | undefined;
91
68
  }
92
- export declare const ComputeNodeGroupStatus: {
93
- readonly ACTIVE: "ACTIVE";
94
- readonly CREATE_FAILED: "CREATE_FAILED";
95
- readonly CREATING: "CREATING";
96
- readonly DELETED: "DELETED";
97
- readonly DELETE_FAILED: "DELETE_FAILED";
98
- readonly DELETING: "DELETING";
99
- readonly SUSPENDED: "SUSPENDED";
100
- readonly SUSPENDING: "SUSPENDING";
101
- readonly UPDATE_FAILED: "UPDATE_FAILED";
102
- readonly UPDATING: "UPDATING";
103
- };
104
- export type ComputeNodeGroupStatus =
105
- (typeof ComputeNodeGroupStatus)[keyof typeof ComputeNodeGroupStatus];
106
69
  export interface ComputeNodeGroup {
107
70
  name: string | undefined;
108
71
  id: string | undefined;
@@ -125,64 +88,10 @@ export interface ComputeNodeGroup {
125
88
  export interface CreateComputeNodeGroupResponse {
126
89
  computeNodeGroup?: ComputeNodeGroup | undefined;
127
90
  }
128
- export declare class InternalServerException extends __BaseException {
129
- readonly name: "InternalServerException";
130
- readonly $fault: "server";
131
- $retryable: {};
132
- constructor(
133
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
134
- );
135
- }
136
- export declare class ResourceNotFoundException extends __BaseException {
137
- readonly name: "ResourceNotFoundException";
138
- readonly $fault: "client";
139
- resourceId: string | undefined;
140
- resourceType: string | undefined;
141
- constructor(
142
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
143
- );
144
- }
145
- export declare class ServiceQuotaExceededException extends __BaseException {
146
- readonly name: "ServiceQuotaExceededException";
147
- readonly $fault: "client";
148
- serviceCode: string | undefined;
149
- resourceId?: string | undefined;
150
- resourceType?: string | undefined;
151
- quotaCode?: string | undefined;
152
- constructor(
153
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
154
- );
155
- }
156
- export declare class ThrottlingException extends __BaseException {
157
- readonly name: "ThrottlingException";
158
- readonly $fault: "client";
159
- $retryable: {};
160
- retryAfterSeconds?: number | undefined;
161
- constructor(
162
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
163
- );
164
- }
165
91
  export interface ValidationExceptionField {
166
92
  name: string | undefined;
167
93
  message: string | undefined;
168
94
  }
169
- export declare const ValidationExceptionReason: {
170
- readonly CANNOT_PARSE: "cannotParse";
171
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
172
- readonly OTHER: "other";
173
- readonly UNKNOWN_OPERATION: "unknownOperation";
174
- };
175
- export type ValidationExceptionReason =
176
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
177
- export declare class ValidationException extends __BaseException {
178
- readonly name: "ValidationException";
179
- readonly $fault: "client";
180
- reason: ValidationExceptionReason | undefined;
181
- fieldList?: ValidationExceptionField[] | undefined;
182
- constructor(
183
- opts: __ExceptionOptionType<ValidationException, __BaseException>
184
- );
185
- }
186
95
  export interface DeleteComputeNodeGroupRequest {
187
96
  clusterIdentifier: string | undefined;
188
97
  computeNodeGroupIdentifier: string | undefined;
@@ -235,35 +144,15 @@ export interface UpdateComputeNodeGroupRequest {
235
144
  export interface UpdateComputeNodeGroupResponse {
236
145
  computeNodeGroup?: ComputeNodeGroup | undefined;
237
146
  }
238
- export declare const NetworkType: {
239
- readonly IPV4: "IPV4";
240
- readonly IPV6: "IPV6";
241
- };
242
- export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
243
147
  export interface NetworkingRequest {
244
148
  subnetIds?: string[] | undefined;
245
149
  securityGroupIds?: string[] | undefined;
246
150
  networkType?: NetworkType | undefined;
247
151
  }
248
- export declare const SchedulerType: {
249
- readonly SLURM: "SLURM";
250
- };
251
- export type SchedulerType = (typeof SchedulerType)[keyof typeof SchedulerType];
252
152
  export interface SchedulerRequest {
253
153
  type: SchedulerType | undefined;
254
154
  version: string | undefined;
255
155
  }
256
- export declare const Size: {
257
- readonly LARGE: "LARGE";
258
- readonly MEDIUM: "MEDIUM";
259
- readonly SMALL: "SMALL";
260
- };
261
- export type Size = (typeof Size)[keyof typeof Size];
262
- export declare const SlurmRestMode: {
263
- readonly NONE: "NONE";
264
- readonly STANDARD: "STANDARD";
265
- };
266
- export type SlurmRestMode = (typeof SlurmRestMode)[keyof typeof SlurmRestMode];
267
156
  export interface SlurmRestRequest {
268
157
  mode: SlurmRestMode | undefined;
269
158
  }
@@ -282,12 +171,6 @@ export interface CreateClusterRequest {
282
171
  clientToken?: string | undefined;
283
172
  tags?: Record<string, string> | undefined;
284
173
  }
285
- export declare const EndpointType: {
286
- readonly SLURMCTLD: "SLURMCTLD";
287
- readonly SLURMDBD: "SLURMDBD";
288
- readonly SLURMRESTD: "SLURMRESTD";
289
- };
290
- export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
291
174
  export interface Endpoint {
292
175
  type: EndpointType | undefined;
293
176
  privateIpAddress: string | undefined;
@@ -326,18 +209,6 @@ export interface ClusterSlurmConfiguration {
326
209
  accounting?: Accounting | undefined;
327
210
  slurmRest?: SlurmRest | undefined;
328
211
  }
329
- export declare const ClusterStatus: {
330
- readonly ACTIVE: "ACTIVE";
331
- readonly CREATE_FAILED: "CREATE_FAILED";
332
- readonly CREATING: "CREATING";
333
- readonly DELETE_FAILED: "DELETE_FAILED";
334
- readonly DELETING: "DELETING";
335
- readonly SUSPENDED: "SUSPENDED";
336
- readonly SUSPENDING: "SUSPENDING";
337
- readonly UPDATE_FAILED: "UPDATE_FAILED";
338
- readonly UPDATING: "UPDATING";
339
- };
340
- export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
341
212
  export interface Cluster {
342
213
  name: string | undefined;
343
214
  id: string | undefined;
@@ -399,18 +270,6 @@ export interface CreateQueueRequest {
399
270
  export interface QueueSlurmConfiguration {
400
271
  slurmCustomSettings?: SlurmCustomSetting[] | undefined;
401
272
  }
402
- export declare const QueueStatus: {
403
- readonly ACTIVE: "ACTIVE";
404
- readonly CREATE_FAILED: "CREATE_FAILED";
405
- readonly CREATING: "CREATING";
406
- readonly DELETE_FAILED: "DELETE_FAILED";
407
- readonly DELETING: "DELETING";
408
- readonly SUSPENDED: "SUSPENDED";
409
- readonly SUSPENDING: "SUSPENDING";
410
- readonly UPDATE_FAILED: "UPDATE_FAILED";
411
- readonly UPDATING: "UPDATING";
412
- };
413
- export type QueueStatus = (typeof QueueStatus)[keyof typeof QueueStatus];
414
273
  export interface Queue {
415
274
  name: string | undefined;
416
275
  id: string | 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.934.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-pcs",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";