@aws-sdk/client-pcs 3.1148.0 → 3.1150.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.
- package/dist-cjs/index.js +12 -3
- package/dist-es/models/PCSServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +1 -0
- package/dist-types/models/PCSServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/models/PCSServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1149.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class PCSServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.pcs#PCSServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, PCSServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class PCSServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends PCSServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.pcs#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class AccessDeniedException extends PCSServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class ConflictException extends PCSServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.pcs#ConflictException";
|
|
154
157
|
name = "ConflictException";
|
|
155
158
|
$fault = "client";
|
|
156
159
|
resourceId;
|
|
@@ -167,6 +170,7 @@ class ConflictException extends PCSServiceException {
|
|
|
167
170
|
}
|
|
168
171
|
}
|
|
169
172
|
class InternalServerException extends PCSServiceException {
|
|
173
|
+
static shapeId = "com.amazonaws.pcs#InternalServerException";
|
|
170
174
|
name = "InternalServerException";
|
|
171
175
|
$fault = "server";
|
|
172
176
|
$retryable = {};
|
|
@@ -180,6 +184,7 @@ class InternalServerException extends PCSServiceException {
|
|
|
180
184
|
}
|
|
181
185
|
}
|
|
182
186
|
class ResourceNotFoundException extends PCSServiceException {
|
|
187
|
+
static shapeId = "com.amazonaws.pcs#ResourceNotFoundException";
|
|
183
188
|
name = "ResourceNotFoundException";
|
|
184
189
|
$fault = "client";
|
|
185
190
|
resourceId;
|
|
@@ -196,6 +201,7 @@ class ResourceNotFoundException extends PCSServiceException {
|
|
|
196
201
|
}
|
|
197
202
|
}
|
|
198
203
|
class ServiceQuotaExceededException extends PCSServiceException {
|
|
204
|
+
static shapeId = "com.amazonaws.pcs#ServiceQuotaExceededException";
|
|
199
205
|
name = "ServiceQuotaExceededException";
|
|
200
206
|
$fault = "client";
|
|
201
207
|
serviceCode;
|
|
@@ -216,6 +222,7 @@ class ServiceQuotaExceededException extends PCSServiceException {
|
|
|
216
222
|
}
|
|
217
223
|
}
|
|
218
224
|
class ThrottlingException extends PCSServiceException {
|
|
225
|
+
static shapeId = "com.amazonaws.pcs#ThrottlingException";
|
|
219
226
|
name = "ThrottlingException";
|
|
220
227
|
$fault = "client";
|
|
221
228
|
$retryable = {};
|
|
@@ -231,6 +238,7 @@ class ThrottlingException extends PCSServiceException {
|
|
|
231
238
|
}
|
|
232
239
|
}
|
|
233
240
|
class ValidationException extends PCSServiceException {
|
|
241
|
+
static shapeId = "com.amazonaws.pcs#ValidationException";
|
|
234
242
|
name = "ValidationException";
|
|
235
243
|
$fault = "client";
|
|
236
244
|
reason;
|
|
@@ -464,6 +472,7 @@ const _sS = "scriptSource";
|
|
|
464
472
|
const _sSh = "sharedSecret";
|
|
465
473
|
const _sV = "secretVersion";
|
|
466
474
|
const _sVI = "s3VersionId";
|
|
475
|
+
const _sVc = "schedulerVersion";
|
|
467
476
|
const _sc = "scheduler";
|
|
468
477
|
const _se = "server";
|
|
469
478
|
const _si = "size";
|
|
@@ -802,8 +811,8 @@ var RegisterComputeNodeGroupInstanceRequest$ = [3, n0, _RCNGIR,
|
|
|
802
811
|
];
|
|
803
812
|
var RegisterComputeNodeGroupInstanceResponse$ = [3, n0, _RCNGIRe,
|
|
804
813
|
0,
|
|
805
|
-
[_nID, _sSh, _en, _cN, _cNGI, _cNGN, _nLA],
|
|
806
|
-
[0, [() => SharedSecret, 0], () => Endpoints, 0, 0, 0, () => NodeLifecycleActions
|
|
814
|
+
[_nID, _sSh, _en, _cN, _cNGI, _cNGN, _nLA, _sVc],
|
|
815
|
+
[0, [() => SharedSecret, 0], () => Endpoints, 0, 0, 0, () => NodeLifecycleActions$, 0], 3
|
|
807
816
|
];
|
|
808
817
|
var ScalingConfiguration$ = [3, n0, _SC,
|
|
809
818
|
0,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class PCSServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.pcs#PCSServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, PCSServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PCSServiceException as __BaseException } from "./PCSServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.pcs#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class ConflictException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.pcs#ConflictException";
|
|
15
17
|
name = "ConflictException";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
resourceId;
|
|
@@ -28,6 +30,7 @@ export class ConflictException extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class InternalServerException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.pcs#InternalServerException";
|
|
31
34
|
name = "InternalServerException";
|
|
32
35
|
$fault = "server";
|
|
33
36
|
$retryable = {};
|
|
@@ -41,6 +44,7 @@ export class InternalServerException extends __BaseException {
|
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
46
|
export class ResourceNotFoundException extends __BaseException {
|
|
47
|
+
static shapeId = "com.amazonaws.pcs#ResourceNotFoundException";
|
|
44
48
|
name = "ResourceNotFoundException";
|
|
45
49
|
$fault = "client";
|
|
46
50
|
resourceId;
|
|
@@ -57,6 +61,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
64
|
+
static shapeId = "com.amazonaws.pcs#ServiceQuotaExceededException";
|
|
60
65
|
name = "ServiceQuotaExceededException";
|
|
61
66
|
$fault = "client";
|
|
62
67
|
serviceCode;
|
|
@@ -77,6 +82,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
77
82
|
}
|
|
78
83
|
}
|
|
79
84
|
export class ThrottlingException extends __BaseException {
|
|
85
|
+
static shapeId = "com.amazonaws.pcs#ThrottlingException";
|
|
80
86
|
name = "ThrottlingException";
|
|
81
87
|
$fault = "client";
|
|
82
88
|
$retryable = {};
|
|
@@ -92,6 +98,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
92
98
|
}
|
|
93
99
|
}
|
|
94
100
|
export class ValidationException extends __BaseException {
|
|
101
|
+
static shapeId = "com.amazonaws.pcs#ValidationException";
|
|
95
102
|
name = "ValidationException";
|
|
96
103
|
$fault = "client";
|
|
97
104
|
reason;
|
|
@@ -215,6 +215,7 @@ const _sS = "scriptSource";
|
|
|
215
215
|
const _sSh = "sharedSecret";
|
|
216
216
|
const _sV = "secretVersion";
|
|
217
217
|
const _sVI = "s3VersionId";
|
|
218
|
+
const _sVc = "schedulerVersion";
|
|
218
219
|
const _sc = "scheduler";
|
|
219
220
|
const _se = "server";
|
|
220
221
|
const _si = "size";
|
|
@@ -556,8 +557,8 @@ export var RegisterComputeNodeGroupInstanceRequest$ = [3, n0, _RCNGIR,
|
|
|
556
557
|
];
|
|
557
558
|
export var RegisterComputeNodeGroupInstanceResponse$ = [3, n0, _RCNGIRe,
|
|
558
559
|
0,
|
|
559
|
-
[_nID, _sSh, _en, _cN, _cNGI, _cNGN, _nLA],
|
|
560
|
-
[0, [() => SharedSecret, 0], () => Endpoints, 0, 0, 0, () => NodeLifecycleActions
|
|
560
|
+
[_nID, _sSh, _en, _cN, _cNGI, _cNGN, _nLA, _sVc],
|
|
561
|
+
[0, [() => SharedSecret, 0], () => Endpoints, 0, 0, 0, () => NodeLifecycleActions$, 0], 3
|
|
561
562
|
];
|
|
562
563
|
export var ScalingConfiguration$ = [3, n0, _SC,
|
|
563
564
|
0,
|
|
@@ -7,6 +7,7 @@ import { PCSServiceException as __BaseException } from "./PCSServiceException";
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "AccessDeniedException";
|
|
11
12
|
readonly $fault: "client";
|
|
12
13
|
/**
|
|
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class ConflictException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "ConflictException";
|
|
23
25
|
readonly $fault: "client";
|
|
24
26
|
/**
|
|
@@ -41,6 +43,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
41
43
|
* @public
|
|
42
44
|
*/
|
|
43
45
|
export declare class InternalServerException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
44
47
|
readonly name: "InternalServerException";
|
|
45
48
|
readonly $fault: "server";
|
|
46
49
|
$retryable: {};
|
|
@@ -54,6 +57,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
54
57
|
* @public
|
|
55
58
|
*/
|
|
56
59
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
60
|
+
static readonly shapeId: string;
|
|
57
61
|
readonly name: "ResourceNotFoundException";
|
|
58
62
|
readonly $fault: "client";
|
|
59
63
|
/**
|
|
@@ -76,6 +80,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
76
80
|
* @public
|
|
77
81
|
*/
|
|
78
82
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
83
|
+
static readonly shapeId: string;
|
|
79
84
|
readonly name: "ServiceQuotaExceededException";
|
|
80
85
|
readonly $fault: "client";
|
|
81
86
|
/**
|
|
@@ -108,6 +113,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
108
113
|
* @public
|
|
109
114
|
*/
|
|
110
115
|
export declare class ThrottlingException extends __BaseException {
|
|
116
|
+
static readonly shapeId: string;
|
|
111
117
|
readonly name: "ThrottlingException";
|
|
112
118
|
readonly $fault: "client";
|
|
113
119
|
$retryable: {};
|
|
@@ -126,6 +132,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
126
132
|
* @public
|
|
127
133
|
*/
|
|
128
134
|
export declare class ValidationException extends __BaseException {
|
|
135
|
+
static readonly shapeId: string;
|
|
129
136
|
readonly name: "ValidationException";
|
|
130
137
|
readonly $fault: "client";
|
|
131
138
|
/**
|
|
@@ -1581,6 +1581,11 @@ export interface RegisterComputeNodeGroupInstanceResponse {
|
|
|
1581
1581
|
* @public
|
|
1582
1582
|
*/
|
|
1583
1583
|
nodeLifecycleActions?: NodeLifecycleActions | undefined;
|
|
1584
|
+
/**
|
|
1585
|
+
* <p>The scheduler version that the cluster is running. A compute node uses this value to run the matching scheduler version.</p>
|
|
1586
|
+
* @public
|
|
1587
|
+
*/
|
|
1588
|
+
schedulerVersion?: string | undefined;
|
|
1584
1589
|
}
|
|
1585
1590
|
/**
|
|
1586
1591
|
* <p>The scheduler configuration for updating a cluster. Use this to specify the scheduler version to update to.</p>
|
|
@@ -3,11 +3,13 @@ import { ValidationExceptionReason } from "./enums";
|
|
|
3
3
|
import { ValidationExceptionField } from "./models_0";
|
|
4
4
|
import { PCSServiceException as __BaseException } from "./PCSServiceException";
|
|
5
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
static readonly shapeId: string;
|
|
6
7
|
readonly name: "AccessDeniedException";
|
|
7
8
|
readonly $fault: "client";
|
|
8
9
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class ConflictException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "ConflictException";
|
|
12
14
|
readonly $fault: "client";
|
|
13
15
|
resourceId: string | undefined;
|
|
@@ -15,12 +17,14 @@ export declare class ConflictException extends __BaseException {
|
|
|
15
17
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
16
18
|
}
|
|
17
19
|
export declare class InternalServerException extends __BaseException {
|
|
20
|
+
static readonly shapeId: string;
|
|
18
21
|
readonly name: "InternalServerException";
|
|
19
22
|
readonly $fault: "server";
|
|
20
23
|
$retryable: {};
|
|
21
24
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
22
25
|
}
|
|
23
26
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
27
|
+
static readonly shapeId: string;
|
|
24
28
|
readonly name: "ResourceNotFoundException";
|
|
25
29
|
readonly $fault: "client";
|
|
26
30
|
resourceId: string | undefined;
|
|
@@ -28,6 +32,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
28
32
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
29
33
|
}
|
|
30
34
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
31
36
|
readonly name: "ServiceQuotaExceededException";
|
|
32
37
|
readonly $fault: "client";
|
|
33
38
|
serviceCode: string | undefined;
|
|
@@ -37,6 +42,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
37
42
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
38
43
|
}
|
|
39
44
|
export declare class ThrottlingException extends __BaseException {
|
|
45
|
+
static readonly shapeId: string;
|
|
40
46
|
readonly name: "ThrottlingException";
|
|
41
47
|
readonly $fault: "client";
|
|
42
48
|
$retryable: {};
|
|
@@ -44,6 +50,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
44
50
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
45
51
|
}
|
|
46
52
|
export declare class ValidationException extends __BaseException {
|
|
53
|
+
static readonly shapeId: string;
|
|
47
54
|
readonly name: "ValidationException";
|
|
48
55
|
readonly $fault: "client";
|
|
49
56
|
reason: ValidationExceptionReason | undefined;
|
|
@@ -391,6 +391,7 @@ export interface RegisterComputeNodeGroupInstanceResponse {
|
|
|
391
391
|
computeNodeGroupId?: string | undefined;
|
|
392
392
|
computeNodeGroupName?: string | undefined;
|
|
393
393
|
nodeLifecycleActions?: NodeLifecycleActions | undefined;
|
|
394
|
+
schedulerVersion?: string | undefined;
|
|
394
395
|
}
|
|
395
396
|
export interface UpdateSchedulerRequest {
|
|
396
397
|
version: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pcs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Pcs Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pcs",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|