@aws-sdk/client-pcs 3.893.0 → 3.894.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.
Files changed (36) hide show
  1. package/dist-cjs/index.js +1576 -10
  2. package/package.json +6 -6
  3. package/dist-cjs/PCS.js +0 -47
  4. package/dist-cjs/PCSClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/CreateClusterCommand.js +0 -26
  7. package/dist-cjs/commands/CreateComputeNodeGroupCommand.js +0 -26
  8. package/dist-cjs/commands/CreateQueueCommand.js +0 -26
  9. package/dist-cjs/commands/DeleteClusterCommand.js +0 -26
  10. package/dist-cjs/commands/DeleteComputeNodeGroupCommand.js +0 -26
  11. package/dist-cjs/commands/DeleteQueueCommand.js +0 -26
  12. package/dist-cjs/commands/GetClusterCommand.js +0 -26
  13. package/dist-cjs/commands/GetComputeNodeGroupCommand.js +0 -26
  14. package/dist-cjs/commands/GetQueueCommand.js +0 -26
  15. package/dist-cjs/commands/ListClustersCommand.js +0 -26
  16. package/dist-cjs/commands/ListComputeNodeGroupsCommand.js +0 -26
  17. package/dist-cjs/commands/ListQueuesCommand.js +0 -26
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  19. package/dist-cjs/commands/RegisterComputeNodeGroupInstanceCommand.js +0 -27
  20. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  21. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  22. package/dist-cjs/commands/UpdateComputeNodeGroupCommand.js +0 -26
  23. package/dist-cjs/commands/UpdateQueueCommand.js +0 -26
  24. package/dist-cjs/commands/index.js +0 -21
  25. package/dist-cjs/endpoint/EndpointParameters.js +0 -17
  26. package/dist-cjs/extensionConfiguration.js +0 -2
  27. package/dist-cjs/models/PCSServiceException.js +0 -12
  28. package/dist-cjs/models/index.js +0 -4
  29. package/dist-cjs/models/models_0.js +0 -195
  30. package/dist-cjs/pagination/Interfaces.js +0 -2
  31. package/dist-cjs/pagination/ListClustersPaginator.js +0 -7
  32. package/dist-cjs/pagination/ListComputeNodeGroupsPaginator.js +0 -7
  33. package/dist-cjs/pagination/ListQueuesPaginator.js +0 -7
  34. package/dist-cjs/pagination/index.js +0 -7
  35. package/dist-cjs/protocols/Aws_json1_0.js +0 -757
  36. package/dist-cjs/runtimeExtensions.js +0 -13
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateComputeNodeGroupCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class UpdateComputeNodeGroupCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("AWSParallelComputingService", "UpdateComputeNodeGroup", {})
20
- .n("PCSClient", "UpdateComputeNodeGroupCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_json1_0_1.se_UpdateComputeNodeGroupCommand)
23
- .de(Aws_json1_0_1.de_UpdateComputeNodeGroupCommand)
24
- .build() {
25
- }
26
- exports.UpdateComputeNodeGroupCommand = UpdateComputeNodeGroupCommand;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateQueueCommand = exports.$Command = void 0;
4
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
- class UpdateQueueCommand extends smithy_client_1.Command
11
- .classBuilder()
12
- .ep(EndpointParameters_1.commonParams)
13
- .m(function (Command, cs, config, o) {
14
- return [
15
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
- (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
- ];
18
- })
19
- .s("AWSParallelComputingService", "UpdateQueue", {})
20
- .n("PCSClient", "UpdateQueueCommand")
21
- .f(void 0, void 0)
22
- .ser(Aws_json1_0_1.se_UpdateQueueCommand)
23
- .de(Aws_json1_0_1.de_UpdateQueueCommand)
24
- .build() {
25
- }
26
- exports.UpdateQueueCommand = UpdateQueueCommand;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./CreateClusterCommand"), exports);
5
- tslib_1.__exportStar(require("./CreateComputeNodeGroupCommand"), exports);
6
- tslib_1.__exportStar(require("./CreateQueueCommand"), exports);
7
- tslib_1.__exportStar(require("./DeleteClusterCommand"), exports);
8
- tslib_1.__exportStar(require("./DeleteComputeNodeGroupCommand"), exports);
9
- tslib_1.__exportStar(require("./DeleteQueueCommand"), exports);
10
- tslib_1.__exportStar(require("./GetClusterCommand"), exports);
11
- tslib_1.__exportStar(require("./GetComputeNodeGroupCommand"), exports);
12
- tslib_1.__exportStar(require("./GetQueueCommand"), exports);
13
- tslib_1.__exportStar(require("./ListClustersCommand"), exports);
14
- tslib_1.__exportStar(require("./ListComputeNodeGroupsCommand"), exports);
15
- tslib_1.__exportStar(require("./ListQueuesCommand"), exports);
16
- tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
17
- tslib_1.__exportStar(require("./RegisterComputeNodeGroupInstanceCommand"), exports);
18
- tslib_1.__exportStar(require("./TagResourceCommand"), exports);
19
- tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
20
- tslib_1.__exportStar(require("./UpdateComputeNodeGroupCommand"), exports);
21
- tslib_1.__exportStar(require("./UpdateQueueCommand"), exports);
@@ -1,17 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
- const resolveClientEndpointParameters = (options) => {
5
- return Object.assign(options, {
6
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
7
- useFipsEndpoint: options.useFipsEndpoint ?? false,
8
- defaultSigningName: "pcs",
9
- });
10
- };
11
- exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
12
- exports.commonParams = {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PCSServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class PCSServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, PCSServiceException.prototype);
10
- }
11
- }
12
- exports.PCSServiceException = PCSServiceException;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
@@ -1,195 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
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
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const PCSServiceException_1 = require("./PCSServiceException");
6
- class AccessDeniedException extends PCSServiceException_1.PCSServiceException {
7
- name = "AccessDeniedException";
8
- $fault = "client";
9
- constructor(opts) {
10
- super({
11
- name: "AccessDeniedException",
12
- $fault: "client",
13
- ...opts,
14
- });
15
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
- }
17
- }
18
- exports.AccessDeniedException = AccessDeniedException;
19
- exports.AccountingMode = {
20
- NONE: "NONE",
21
- STANDARD: "STANDARD",
22
- };
23
- class ConflictException extends PCSServiceException_1.PCSServiceException {
24
- name = "ConflictException";
25
- $fault = "client";
26
- resourceId;
27
- resourceType;
28
- constructor(opts) {
29
- super({
30
- name: "ConflictException",
31
- $fault: "client",
32
- ...opts,
33
- });
34
- Object.setPrototypeOf(this, ConflictException.prototype);
35
- this.resourceId = opts.resourceId;
36
- this.resourceType = opts.resourceType;
37
- }
38
- }
39
- exports.ConflictException = ConflictException;
40
- exports.PurchaseOption = {
41
- CAPACITY_BLOCK: "CAPACITY_BLOCK",
42
- ONDEMAND: "ONDEMAND",
43
- SPOT: "SPOT",
44
- };
45
- exports.SpotAllocationStrategy = {
46
- CAPACITY_OPTIMIZED: "capacity-optimized",
47
- LOWEST_PRICE: "lowest-price",
48
- PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized",
49
- };
50
- exports.ComputeNodeGroupStatus = {
51
- ACTIVE: "ACTIVE",
52
- CREATE_FAILED: "CREATE_FAILED",
53
- CREATING: "CREATING",
54
- DELETED: "DELETED",
55
- DELETE_FAILED: "DELETE_FAILED",
56
- DELETING: "DELETING",
57
- SUSPENDED: "SUSPENDED",
58
- SUSPENDING: "SUSPENDING",
59
- UPDATE_FAILED: "UPDATE_FAILED",
60
- UPDATING: "UPDATING",
61
- };
62
- class InternalServerException extends PCSServiceException_1.PCSServiceException {
63
- name = "InternalServerException";
64
- $fault = "server";
65
- $retryable = {};
66
- constructor(opts) {
67
- super({
68
- name: "InternalServerException",
69
- $fault: "server",
70
- ...opts,
71
- });
72
- Object.setPrototypeOf(this, InternalServerException.prototype);
73
- }
74
- }
75
- exports.InternalServerException = InternalServerException;
76
- class ResourceNotFoundException extends PCSServiceException_1.PCSServiceException {
77
- name = "ResourceNotFoundException";
78
- $fault = "client";
79
- resourceId;
80
- resourceType;
81
- constructor(opts) {
82
- super({
83
- name: "ResourceNotFoundException",
84
- $fault: "client",
85
- ...opts,
86
- });
87
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
88
- this.resourceId = opts.resourceId;
89
- this.resourceType = opts.resourceType;
90
- }
91
- }
92
- exports.ResourceNotFoundException = ResourceNotFoundException;
93
- class ServiceQuotaExceededException extends PCSServiceException_1.PCSServiceException {
94
- name = "ServiceQuotaExceededException";
95
- $fault = "client";
96
- serviceCode;
97
- resourceId;
98
- resourceType;
99
- quotaCode;
100
- constructor(opts) {
101
- super({
102
- name: "ServiceQuotaExceededException",
103
- $fault: "client",
104
- ...opts,
105
- });
106
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
107
- this.serviceCode = opts.serviceCode;
108
- this.resourceId = opts.resourceId;
109
- this.resourceType = opts.resourceType;
110
- this.quotaCode = opts.quotaCode;
111
- }
112
- }
113
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
114
- class ThrottlingException extends PCSServiceException_1.PCSServiceException {
115
- name = "ThrottlingException";
116
- $fault = "client";
117
- $retryable = {};
118
- retryAfterSeconds;
119
- constructor(opts) {
120
- super({
121
- name: "ThrottlingException",
122
- $fault: "client",
123
- ...opts,
124
- });
125
- Object.setPrototypeOf(this, ThrottlingException.prototype);
126
- this.retryAfterSeconds = opts.retryAfterSeconds;
127
- }
128
- }
129
- exports.ThrottlingException = ThrottlingException;
130
- exports.ValidationExceptionReason = {
131
- CANNOT_PARSE: "cannotParse",
132
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
133
- OTHER: "other",
134
- UNKNOWN_OPERATION: "unknownOperation",
135
- };
136
- class ValidationException extends PCSServiceException_1.PCSServiceException {
137
- name = "ValidationException";
138
- $fault = "client";
139
- reason;
140
- fieldList;
141
- constructor(opts) {
142
- super({
143
- name: "ValidationException",
144
- $fault: "client",
145
- ...opts,
146
- });
147
- Object.setPrototypeOf(this, ValidationException.prototype);
148
- this.reason = opts.reason;
149
- this.fieldList = opts.fieldList;
150
- }
151
- }
152
- exports.ValidationException = ValidationException;
153
- exports.NetworkType = {
154
- IPV4: "IPV4",
155
- IPV6: "IPV6",
156
- };
157
- exports.SchedulerType = {
158
- SLURM: "SLURM",
159
- };
160
- exports.Size = {
161
- LARGE: "LARGE",
162
- MEDIUM: "MEDIUM",
163
- SMALL: "SMALL",
164
- };
165
- exports.EndpointType = {
166
- SLURMCTLD: "SLURMCTLD",
167
- SLURMDBD: "SLURMDBD",
168
- };
169
- exports.ClusterStatus = {
170
- ACTIVE: "ACTIVE",
171
- CREATE_FAILED: "CREATE_FAILED",
172
- CREATING: "CREATING",
173
- DELETE_FAILED: "DELETE_FAILED",
174
- DELETING: "DELETING",
175
- SUSPENDED: "SUSPENDED",
176
- SUSPENDING: "SUSPENDING",
177
- UPDATE_FAILED: "UPDATE_FAILED",
178
- UPDATING: "UPDATING",
179
- };
180
- exports.QueueStatus = {
181
- ACTIVE: "ACTIVE",
182
- CREATE_FAILED: "CREATE_FAILED",
183
- CREATING: "CREATING",
184
- DELETE_FAILED: "DELETE_FAILED",
185
- DELETING: "DELETING",
186
- SUSPENDED: "SUSPENDED",
187
- SUSPENDING: "SUSPENDING",
188
- UPDATE_FAILED: "UPDATE_FAILED",
189
- UPDATING: "UPDATING",
190
- };
191
- const RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- ...(obj.sharedSecret && { sharedSecret: smithy_client_1.SENSITIVE_STRING }),
194
- });
195
- exports.RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog = RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListClusters = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListClustersCommand_1 = require("../commands/ListClustersCommand");
6
- const PCSClient_1 = require("../PCSClient");
7
- exports.paginateListClusters = (0, core_1.createPaginator)(PCSClient_1.PCSClient, ListClustersCommand_1.ListClustersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListComputeNodeGroups = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListComputeNodeGroupsCommand_1 = require("../commands/ListComputeNodeGroupsCommand");
6
- const PCSClient_1 = require("../PCSClient");
7
- exports.paginateListComputeNodeGroups = (0, core_1.createPaginator)(PCSClient_1.PCSClient, ListComputeNodeGroupsCommand_1.ListComputeNodeGroupsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListQueues = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListQueuesCommand_1 = require("../commands/ListQueuesCommand");
6
- const PCSClient_1 = require("../PCSClient");
7
- exports.paginateListQueues = (0, core_1.createPaginator)(PCSClient_1.PCSClient, ListQueuesCommand_1.ListQueuesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListClustersPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListComputeNodeGroupsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListQueuesPaginator"), exports);