@aws-sdk/client-pcs 3.901.0 → 3.907.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 +1395 -1572
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,1629 +1,1452 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
DeleteComputeNodeGroupCommand: () => DeleteComputeNodeGroupCommand,
|
|
34
|
-
DeleteQueueCommand: () => DeleteQueueCommand,
|
|
35
|
-
EndpointType: () => EndpointType,
|
|
36
|
-
GetClusterCommand: () => GetClusterCommand,
|
|
37
|
-
GetComputeNodeGroupCommand: () => GetComputeNodeGroupCommand,
|
|
38
|
-
GetQueueCommand: () => GetQueueCommand,
|
|
39
|
-
InternalServerException: () => InternalServerException,
|
|
40
|
-
ListClustersCommand: () => ListClustersCommand,
|
|
41
|
-
ListComputeNodeGroupsCommand: () => ListComputeNodeGroupsCommand,
|
|
42
|
-
ListQueuesCommand: () => ListQueuesCommand,
|
|
43
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
44
|
-
NetworkType: () => NetworkType,
|
|
45
|
-
PCS: () => PCS,
|
|
46
|
-
PCSClient: () => PCSClient,
|
|
47
|
-
PCSServiceException: () => PCSServiceException,
|
|
48
|
-
PurchaseOption: () => PurchaseOption,
|
|
49
|
-
QueueStatus: () => QueueStatus,
|
|
50
|
-
RegisterComputeNodeGroupInstanceCommand: () => RegisterComputeNodeGroupInstanceCommand,
|
|
51
|
-
RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog: () => RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog,
|
|
52
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
53
|
-
SchedulerType: () => SchedulerType,
|
|
54
|
-
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
55
|
-
Size: () => Size,
|
|
56
|
-
SpotAllocationStrategy: () => SpotAllocationStrategy,
|
|
57
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
58
|
-
ThrottlingException: () => ThrottlingException,
|
|
59
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
60
|
-
UpdateClusterCommand: () => UpdateClusterCommand,
|
|
61
|
-
UpdateComputeNodeGroupCommand: () => UpdateComputeNodeGroupCommand,
|
|
62
|
-
UpdateQueueCommand: () => UpdateQueueCommand,
|
|
63
|
-
ValidationException: () => ValidationException,
|
|
64
|
-
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
65
|
-
__Client: () => import_smithy_client.Client,
|
|
66
|
-
paginateListClusters: () => paginateListClusters,
|
|
67
|
-
paginateListComputeNodeGroups: () => paginateListComputeNodeGroups,
|
|
68
|
-
paginateListQueues: () => paginateListQueues
|
|
69
|
-
});
|
|
70
|
-
module.exports = __toCommonJS(index_exports);
|
|
71
|
-
|
|
72
|
-
// src/PCSClient.ts
|
|
73
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
74
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
75
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
76
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
77
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
78
|
-
var import_core = require("@smithy/core");
|
|
79
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
80
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
81
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
82
|
-
|
|
83
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
84
|
-
|
|
85
|
-
// src/endpoint/EndpointParameters.ts
|
|
86
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
87
|
-
return Object.assign(options, {
|
|
88
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
89
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
90
|
-
defaultSigningName: "pcs"
|
|
91
|
-
});
|
|
92
|
-
}, "resolveClientEndpointParameters");
|
|
93
|
-
var commonParams = {
|
|
94
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
95
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
96
|
-
Region: { type: "builtInParams", name: "region" },
|
|
97
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
var uuid = require('@smithy/uuid');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
24
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
25
|
+
defaultSigningName: "pcs",
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
const commonParams = {
|
|
29
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
30
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
31
|
+
Region: { type: "builtInParams", name: "region" },
|
|
32
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
98
33
|
};
|
|
99
34
|
|
|
100
|
-
|
|
101
|
-
|
|
35
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
36
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
37
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
38
|
+
let _credentials = runtimeConfig.credentials;
|
|
39
|
+
return {
|
|
40
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
41
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
42
|
+
if (index === -1) {
|
|
43
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
httpAuthSchemes() {
|
|
50
|
+
return _httpAuthSchemes;
|
|
51
|
+
},
|
|
52
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
53
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
54
|
+
},
|
|
55
|
+
httpAuthSchemeProvider() {
|
|
56
|
+
return _httpAuthSchemeProvider;
|
|
57
|
+
},
|
|
58
|
+
setCredentials(credentials) {
|
|
59
|
+
_credentials = credentials;
|
|
60
|
+
},
|
|
61
|
+
credentials() {
|
|
62
|
+
return _credentials;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
67
|
+
return {
|
|
68
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
69
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
70
|
+
credentials: config.credentials(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
102
73
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
74
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
|
+
};
|
|
107
79
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
80
|
+
class PCSClient extends smithyClient.Client {
|
|
81
|
+
config;
|
|
82
|
+
constructor(...[configuration]) {
|
|
83
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
84
|
+
super(_config_0);
|
|
85
|
+
this.initConfig = _config_0;
|
|
86
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
88
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
89
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
90
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
91
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
92
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
|
+
this.config = _config_8;
|
|
95
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultPCSHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
104
|
+
"aws.auth#sigv4": config.credentials,
|
|
105
|
+
}),
|
|
106
|
+
}));
|
|
107
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
136
108
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
142
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
143
|
-
credentials: config.credentials()
|
|
144
|
-
};
|
|
145
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
109
|
+
destroy() {
|
|
110
|
+
super.destroy();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
146
113
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
154
|
-
);
|
|
155
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
156
|
-
return Object.assign(
|
|
157
|
-
runtimeConfig,
|
|
158
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
159
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
160
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
161
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
162
|
-
);
|
|
163
|
-
}, "resolveRuntimeExtensions");
|
|
114
|
+
class PCSServiceException extends smithyClient.ServiceException {
|
|
115
|
+
constructor(options) {
|
|
116
|
+
super(options);
|
|
117
|
+
Object.setPrototypeOf(this, PCSServiceException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
164
120
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
181
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
182
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
183
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
184
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
185
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
186
|
-
this.config = _config_8;
|
|
187
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
188
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
189
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
190
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
191
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
192
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
193
|
-
this.middlewareStack.use(
|
|
194
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
195
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultPCSHttpAuthSchemeParametersProvider,
|
|
196
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
197
|
-
"aws.auth#sigv4": config.credentials
|
|
198
|
-
}), "identityProviderConfigProvider")
|
|
199
|
-
})
|
|
200
|
-
);
|
|
201
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
205
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
206
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
207
|
-
*/
|
|
208
|
-
destroy() {
|
|
209
|
-
super.destroy();
|
|
210
|
-
}
|
|
121
|
+
class AccessDeniedException extends PCSServiceException {
|
|
122
|
+
name = "AccessDeniedException";
|
|
123
|
+
$fault = "client";
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "AccessDeniedException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
const AccountingMode = {
|
|
134
|
+
NONE: "NONE",
|
|
135
|
+
STANDARD: "STANDARD",
|
|
211
136
|
};
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
137
|
+
class ConflictException extends PCSServiceException {
|
|
138
|
+
name = "ConflictException";
|
|
139
|
+
$fault = "client";
|
|
140
|
+
resourceId;
|
|
141
|
+
resourceType;
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "ConflictException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
149
|
+
this.resourceId = opts.resourceId;
|
|
150
|
+
this.resourceType = opts.resourceType;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
const PurchaseOption = {
|
|
154
|
+
CAPACITY_BLOCK: "CAPACITY_BLOCK",
|
|
155
|
+
ONDEMAND: "ONDEMAND",
|
|
156
|
+
SPOT: "SPOT",
|
|
157
|
+
};
|
|
158
|
+
const SpotAllocationStrategy = {
|
|
159
|
+
CAPACITY_OPTIMIZED: "capacity-optimized",
|
|
160
|
+
LOWEST_PRICE: "lowest-price",
|
|
161
|
+
PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized",
|
|
162
|
+
};
|
|
163
|
+
const ComputeNodeGroupStatus = {
|
|
164
|
+
ACTIVE: "ACTIVE",
|
|
165
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
166
|
+
CREATING: "CREATING",
|
|
167
|
+
DELETED: "DELETED",
|
|
168
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
169
|
+
DELETING: "DELETING",
|
|
170
|
+
SUSPENDED: "SUSPENDED",
|
|
171
|
+
SUSPENDING: "SUSPENDING",
|
|
172
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
173
|
+
UPDATING: "UPDATING",
|
|
243
174
|
};
|
|
175
|
+
class InternalServerException extends PCSServiceException {
|
|
176
|
+
name = "InternalServerException";
|
|
177
|
+
$fault = "server";
|
|
178
|
+
$retryable = {};
|
|
179
|
+
constructor(opts) {
|
|
180
|
+
super({
|
|
181
|
+
name: "InternalServerException",
|
|
182
|
+
$fault: "server",
|
|
183
|
+
...opts,
|
|
184
|
+
});
|
|
185
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
class ResourceNotFoundException extends PCSServiceException {
|
|
189
|
+
name = "ResourceNotFoundException";
|
|
190
|
+
$fault = "client";
|
|
191
|
+
resourceId;
|
|
192
|
+
resourceType;
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "ResourceNotFoundException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
200
|
+
this.resourceId = opts.resourceId;
|
|
201
|
+
this.resourceType = opts.resourceType;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
class ServiceQuotaExceededException extends PCSServiceException {
|
|
205
|
+
name = "ServiceQuotaExceededException";
|
|
206
|
+
$fault = "client";
|
|
207
|
+
serviceCode;
|
|
208
|
+
resourceId;
|
|
209
|
+
resourceType;
|
|
210
|
+
quotaCode;
|
|
211
|
+
constructor(opts) {
|
|
212
|
+
super({
|
|
213
|
+
name: "ServiceQuotaExceededException",
|
|
214
|
+
$fault: "client",
|
|
215
|
+
...opts,
|
|
216
|
+
});
|
|
217
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
218
|
+
this.serviceCode = opts.serviceCode;
|
|
219
|
+
this.resourceId = opts.resourceId;
|
|
220
|
+
this.resourceType = opts.resourceType;
|
|
221
|
+
this.quotaCode = opts.quotaCode;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
class ThrottlingException extends PCSServiceException {
|
|
225
|
+
name = "ThrottlingException";
|
|
226
|
+
$fault = "client";
|
|
227
|
+
$retryable = {};
|
|
228
|
+
retryAfterSeconds;
|
|
229
|
+
constructor(opts) {
|
|
230
|
+
super({
|
|
231
|
+
name: "ThrottlingException",
|
|
232
|
+
$fault: "client",
|
|
233
|
+
...opts,
|
|
234
|
+
});
|
|
235
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
236
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
const ValidationExceptionReason = {
|
|
240
|
+
CANNOT_PARSE: "cannotParse",
|
|
241
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
242
|
+
OTHER: "other",
|
|
243
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
244
|
+
};
|
|
245
|
+
class ValidationException extends PCSServiceException {
|
|
246
|
+
name = "ValidationException";
|
|
247
|
+
$fault = "client";
|
|
248
|
+
reason;
|
|
249
|
+
fieldList;
|
|
250
|
+
constructor(opts) {
|
|
251
|
+
super({
|
|
252
|
+
name: "ValidationException",
|
|
253
|
+
$fault: "client",
|
|
254
|
+
...opts,
|
|
255
|
+
});
|
|
256
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
257
|
+
this.reason = opts.reason;
|
|
258
|
+
this.fieldList = opts.fieldList;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
const NetworkType = {
|
|
262
|
+
IPV4: "IPV4",
|
|
263
|
+
IPV6: "IPV6",
|
|
264
|
+
};
|
|
265
|
+
const SchedulerType = {
|
|
266
|
+
SLURM: "SLURM",
|
|
267
|
+
};
|
|
268
|
+
const Size = {
|
|
269
|
+
LARGE: "LARGE",
|
|
270
|
+
MEDIUM: "MEDIUM",
|
|
271
|
+
SMALL: "SMALL",
|
|
272
|
+
};
|
|
273
|
+
const EndpointType = {
|
|
274
|
+
SLURMCTLD: "SLURMCTLD",
|
|
275
|
+
SLURMDBD: "SLURMDBD",
|
|
276
|
+
};
|
|
277
|
+
const ClusterStatus = {
|
|
278
|
+
ACTIVE: "ACTIVE",
|
|
279
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
280
|
+
CREATING: "CREATING",
|
|
281
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
282
|
+
DELETING: "DELETING",
|
|
283
|
+
SUSPENDED: "SUSPENDED",
|
|
284
|
+
SUSPENDING: "SUSPENDING",
|
|
285
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
286
|
+
UPDATING: "UPDATING",
|
|
287
|
+
};
|
|
288
|
+
const QueueStatus = {
|
|
289
|
+
ACTIVE: "ACTIVE",
|
|
290
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
291
|
+
CREATING: "CREATING",
|
|
292
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
293
|
+
DELETING: "DELETING",
|
|
294
|
+
SUSPENDED: "SUSPENDED",
|
|
295
|
+
SUSPENDING: "SUSPENDING",
|
|
296
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
297
|
+
UPDATING: "UPDATING",
|
|
298
|
+
};
|
|
299
|
+
const RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog = (obj) => ({
|
|
300
|
+
...obj,
|
|
301
|
+
...(obj.sharedSecret && { sharedSecret: smithyClient.SENSITIVE_STRING }),
|
|
302
|
+
});
|
|
244
303
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
304
|
+
const se_CreateClusterCommand = async (input, context) => {
|
|
305
|
+
const headers = sharedHeaders("CreateCluster");
|
|
306
|
+
let body;
|
|
307
|
+
body = JSON.stringify(se_CreateClusterRequest(input));
|
|
308
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
309
|
+
};
|
|
310
|
+
const se_CreateComputeNodeGroupCommand = async (input, context) => {
|
|
311
|
+
const headers = sharedHeaders("CreateComputeNodeGroup");
|
|
312
|
+
let body;
|
|
313
|
+
body = JSON.stringify(se_CreateComputeNodeGroupRequest(input));
|
|
314
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
315
|
+
};
|
|
316
|
+
const se_CreateQueueCommand = async (input, context) => {
|
|
317
|
+
const headers = sharedHeaders("CreateQueue");
|
|
318
|
+
let body;
|
|
319
|
+
body = JSON.stringify(se_CreateQueueRequest(input));
|
|
320
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
321
|
+
};
|
|
322
|
+
const se_DeleteClusterCommand = async (input, context) => {
|
|
323
|
+
const headers = sharedHeaders("DeleteCluster");
|
|
324
|
+
let body;
|
|
325
|
+
body = JSON.stringify(se_DeleteClusterRequest(input));
|
|
326
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
327
|
+
};
|
|
328
|
+
const se_DeleteComputeNodeGroupCommand = async (input, context) => {
|
|
329
|
+
const headers = sharedHeaders("DeleteComputeNodeGroup");
|
|
330
|
+
let body;
|
|
331
|
+
body = JSON.stringify(se_DeleteComputeNodeGroupRequest(input));
|
|
332
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
333
|
+
};
|
|
334
|
+
const se_DeleteQueueCommand = async (input, context) => {
|
|
335
|
+
const headers = sharedHeaders("DeleteQueue");
|
|
336
|
+
let body;
|
|
337
|
+
body = JSON.stringify(se_DeleteQueueRequest(input));
|
|
338
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
339
|
+
};
|
|
340
|
+
const se_GetClusterCommand = async (input, context) => {
|
|
341
|
+
const headers = sharedHeaders("GetCluster");
|
|
342
|
+
let body;
|
|
343
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
344
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
345
|
+
};
|
|
346
|
+
const se_GetComputeNodeGroupCommand = async (input, context) => {
|
|
347
|
+
const headers = sharedHeaders("GetComputeNodeGroup");
|
|
348
|
+
let body;
|
|
349
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
350
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
351
|
+
};
|
|
352
|
+
const se_GetQueueCommand = async (input, context) => {
|
|
353
|
+
const headers = sharedHeaders("GetQueue");
|
|
354
|
+
let body;
|
|
355
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
356
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
357
|
+
};
|
|
358
|
+
const se_ListClustersCommand = async (input, context) => {
|
|
359
|
+
const headers = sharedHeaders("ListClusters");
|
|
360
|
+
let body;
|
|
361
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
362
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
363
|
+
};
|
|
364
|
+
const se_ListComputeNodeGroupsCommand = async (input, context) => {
|
|
365
|
+
const headers = sharedHeaders("ListComputeNodeGroups");
|
|
366
|
+
let body;
|
|
367
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
368
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
369
|
+
};
|
|
370
|
+
const se_ListQueuesCommand = async (input, context) => {
|
|
371
|
+
const headers = sharedHeaders("ListQueues");
|
|
372
|
+
let body;
|
|
373
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
374
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
375
|
+
};
|
|
376
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
377
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
378
|
+
let body;
|
|
379
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
380
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
381
|
+
};
|
|
382
|
+
const se_RegisterComputeNodeGroupInstanceCommand = async (input, context) => {
|
|
383
|
+
const headers = sharedHeaders("RegisterComputeNodeGroupInstance");
|
|
384
|
+
let body;
|
|
385
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
386
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
387
|
+
};
|
|
388
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
389
|
+
const headers = sharedHeaders("TagResource");
|
|
390
|
+
let body;
|
|
391
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
392
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
393
|
+
};
|
|
394
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
395
|
+
const headers = sharedHeaders("UntagResource");
|
|
396
|
+
let body;
|
|
397
|
+
body = JSON.stringify(smithyClient._json(input));
|
|
398
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
399
|
+
};
|
|
400
|
+
const se_UpdateClusterCommand = async (input, context) => {
|
|
401
|
+
const headers = sharedHeaders("UpdateCluster");
|
|
402
|
+
let body;
|
|
403
|
+
body = JSON.stringify(se_UpdateClusterRequest(input));
|
|
404
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
405
|
+
};
|
|
406
|
+
const se_UpdateComputeNodeGroupCommand = async (input, context) => {
|
|
407
|
+
const headers = sharedHeaders("UpdateComputeNodeGroup");
|
|
408
|
+
let body;
|
|
409
|
+
body = JSON.stringify(se_UpdateComputeNodeGroupRequest(input));
|
|
410
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
411
|
+
};
|
|
412
|
+
const se_UpdateQueueCommand = async (input, context) => {
|
|
413
|
+
const headers = sharedHeaders("UpdateQueue");
|
|
414
|
+
let body;
|
|
415
|
+
body = JSON.stringify(se_UpdateQueueRequest(input));
|
|
416
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
417
|
+
};
|
|
418
|
+
const de_CreateClusterCommand = async (output, context) => {
|
|
419
|
+
if (output.statusCode >= 300) {
|
|
420
|
+
return de_CommandError(output, context);
|
|
421
|
+
}
|
|
422
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
423
|
+
let contents = {};
|
|
424
|
+
contents = de_CreateClusterResponse(data);
|
|
425
|
+
const response = {
|
|
426
|
+
$metadata: deserializeMetadata(output),
|
|
427
|
+
...contents,
|
|
428
|
+
};
|
|
429
|
+
return response;
|
|
430
|
+
};
|
|
431
|
+
const de_CreateComputeNodeGroupCommand = async (output, context) => {
|
|
432
|
+
if (output.statusCode >= 300) {
|
|
433
|
+
return de_CommandError(output, context);
|
|
434
|
+
}
|
|
435
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
436
|
+
let contents = {};
|
|
437
|
+
contents = de_CreateComputeNodeGroupResponse(data);
|
|
438
|
+
const response = {
|
|
439
|
+
$metadata: deserializeMetadata(output),
|
|
440
|
+
...contents,
|
|
441
|
+
};
|
|
442
|
+
return response;
|
|
443
|
+
};
|
|
444
|
+
const de_CreateQueueCommand = async (output, context) => {
|
|
445
|
+
if (output.statusCode >= 300) {
|
|
446
|
+
return de_CommandError(output, context);
|
|
447
|
+
}
|
|
448
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
449
|
+
let contents = {};
|
|
450
|
+
contents = de_CreateQueueResponse(data);
|
|
451
|
+
const response = {
|
|
452
|
+
$metadata: deserializeMetadata(output),
|
|
453
|
+
...contents,
|
|
454
|
+
};
|
|
455
|
+
return response;
|
|
456
|
+
};
|
|
457
|
+
const de_DeleteClusterCommand = async (output, context) => {
|
|
458
|
+
if (output.statusCode >= 300) {
|
|
459
|
+
return de_CommandError(output, context);
|
|
460
|
+
}
|
|
461
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
462
|
+
let contents = {};
|
|
463
|
+
contents = smithyClient._json(data);
|
|
464
|
+
const response = {
|
|
465
|
+
$metadata: deserializeMetadata(output),
|
|
466
|
+
...contents,
|
|
467
|
+
};
|
|
468
|
+
return response;
|
|
469
|
+
};
|
|
470
|
+
const de_DeleteComputeNodeGroupCommand = async (output, context) => {
|
|
471
|
+
if (output.statusCode >= 300) {
|
|
472
|
+
return de_CommandError(output, context);
|
|
473
|
+
}
|
|
474
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
475
|
+
let contents = {};
|
|
476
|
+
contents = smithyClient._json(data);
|
|
477
|
+
const response = {
|
|
478
|
+
$metadata: deserializeMetadata(output),
|
|
479
|
+
...contents,
|
|
480
|
+
};
|
|
481
|
+
return response;
|
|
482
|
+
};
|
|
483
|
+
const de_DeleteQueueCommand = async (output, context) => {
|
|
484
|
+
if (output.statusCode >= 300) {
|
|
485
|
+
return de_CommandError(output, context);
|
|
486
|
+
}
|
|
487
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
488
|
+
let contents = {};
|
|
489
|
+
contents = smithyClient._json(data);
|
|
490
|
+
const response = {
|
|
491
|
+
$metadata: deserializeMetadata(output),
|
|
492
|
+
...contents,
|
|
493
|
+
};
|
|
494
|
+
return response;
|
|
495
|
+
};
|
|
496
|
+
const de_GetClusterCommand = async (output, context) => {
|
|
497
|
+
if (output.statusCode >= 300) {
|
|
498
|
+
return de_CommandError(output, context);
|
|
499
|
+
}
|
|
500
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
501
|
+
let contents = {};
|
|
502
|
+
contents = de_GetClusterResponse(data);
|
|
503
|
+
const response = {
|
|
504
|
+
$metadata: deserializeMetadata(output),
|
|
505
|
+
...contents,
|
|
506
|
+
};
|
|
507
|
+
return response;
|
|
508
|
+
};
|
|
509
|
+
const de_GetComputeNodeGroupCommand = async (output, context) => {
|
|
510
|
+
if (output.statusCode >= 300) {
|
|
511
|
+
return de_CommandError(output, context);
|
|
512
|
+
}
|
|
513
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
514
|
+
let contents = {};
|
|
515
|
+
contents = de_GetComputeNodeGroupResponse(data);
|
|
516
|
+
const response = {
|
|
517
|
+
$metadata: deserializeMetadata(output),
|
|
518
|
+
...contents,
|
|
519
|
+
};
|
|
520
|
+
return response;
|
|
521
|
+
};
|
|
522
|
+
const de_GetQueueCommand = async (output, context) => {
|
|
523
|
+
if (output.statusCode >= 300) {
|
|
524
|
+
return de_CommandError(output, context);
|
|
525
|
+
}
|
|
526
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
527
|
+
let contents = {};
|
|
528
|
+
contents = de_GetQueueResponse(data);
|
|
529
|
+
const response = {
|
|
530
|
+
$metadata: deserializeMetadata(output),
|
|
531
|
+
...contents,
|
|
532
|
+
};
|
|
533
|
+
return response;
|
|
534
|
+
};
|
|
535
|
+
const de_ListClustersCommand = async (output, context) => {
|
|
536
|
+
if (output.statusCode >= 300) {
|
|
537
|
+
return de_CommandError(output, context);
|
|
538
|
+
}
|
|
539
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
540
|
+
let contents = {};
|
|
541
|
+
contents = de_ListClustersResponse(data);
|
|
542
|
+
const response = {
|
|
543
|
+
$metadata: deserializeMetadata(output),
|
|
544
|
+
...contents,
|
|
545
|
+
};
|
|
546
|
+
return response;
|
|
547
|
+
};
|
|
548
|
+
const de_ListComputeNodeGroupsCommand = async (output, context) => {
|
|
549
|
+
if (output.statusCode >= 300) {
|
|
550
|
+
return de_CommandError(output, context);
|
|
551
|
+
}
|
|
552
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
553
|
+
let contents = {};
|
|
554
|
+
contents = de_ListComputeNodeGroupsResponse(data);
|
|
555
|
+
const response = {
|
|
556
|
+
$metadata: deserializeMetadata(output),
|
|
557
|
+
...contents,
|
|
558
|
+
};
|
|
559
|
+
return response;
|
|
560
|
+
};
|
|
561
|
+
const de_ListQueuesCommand = async (output, context) => {
|
|
562
|
+
if (output.statusCode >= 300) {
|
|
563
|
+
return de_CommandError(output, context);
|
|
564
|
+
}
|
|
565
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
566
|
+
let contents = {};
|
|
567
|
+
contents = de_ListQueuesResponse(data);
|
|
568
|
+
const response = {
|
|
569
|
+
$metadata: deserializeMetadata(output),
|
|
570
|
+
...contents,
|
|
571
|
+
};
|
|
572
|
+
return response;
|
|
573
|
+
};
|
|
574
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
575
|
+
if (output.statusCode >= 300) {
|
|
576
|
+
return de_CommandError(output, context);
|
|
577
|
+
}
|
|
578
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
579
|
+
let contents = {};
|
|
580
|
+
contents = smithyClient._json(data);
|
|
581
|
+
const response = {
|
|
582
|
+
$metadata: deserializeMetadata(output),
|
|
583
|
+
...contents,
|
|
584
|
+
};
|
|
585
|
+
return response;
|
|
586
|
+
};
|
|
587
|
+
const de_RegisterComputeNodeGroupInstanceCommand = async (output, context) => {
|
|
588
|
+
if (output.statusCode >= 300) {
|
|
589
|
+
return de_CommandError(output, context);
|
|
590
|
+
}
|
|
591
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
592
|
+
let contents = {};
|
|
593
|
+
contents = smithyClient._json(data);
|
|
594
|
+
const response = {
|
|
595
|
+
$metadata: deserializeMetadata(output),
|
|
596
|
+
...contents,
|
|
597
|
+
};
|
|
598
|
+
return response;
|
|
599
|
+
};
|
|
600
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
601
|
+
if (output.statusCode >= 300) {
|
|
602
|
+
return de_CommandError(output, context);
|
|
603
|
+
}
|
|
604
|
+
await smithyClient.collectBody(output.body, context);
|
|
605
|
+
const response = {
|
|
606
|
+
$metadata: deserializeMetadata(output),
|
|
607
|
+
};
|
|
608
|
+
return response;
|
|
609
|
+
};
|
|
610
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
611
|
+
if (output.statusCode >= 300) {
|
|
612
|
+
return de_CommandError(output, context);
|
|
613
|
+
}
|
|
614
|
+
await smithyClient.collectBody(output.body, context);
|
|
615
|
+
const response = {
|
|
616
|
+
$metadata: deserializeMetadata(output),
|
|
617
|
+
};
|
|
618
|
+
return response;
|
|
619
|
+
};
|
|
620
|
+
const de_UpdateClusterCommand = async (output, context) => {
|
|
621
|
+
if (output.statusCode >= 300) {
|
|
622
|
+
return de_CommandError(output, context);
|
|
623
|
+
}
|
|
624
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
625
|
+
let contents = {};
|
|
626
|
+
contents = de_UpdateClusterResponse(data);
|
|
627
|
+
const response = {
|
|
628
|
+
$metadata: deserializeMetadata(output),
|
|
629
|
+
...contents,
|
|
630
|
+
};
|
|
631
|
+
return response;
|
|
632
|
+
};
|
|
633
|
+
const de_UpdateComputeNodeGroupCommand = async (output, context) => {
|
|
634
|
+
if (output.statusCode >= 300) {
|
|
635
|
+
return de_CommandError(output, context);
|
|
636
|
+
}
|
|
637
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
638
|
+
let contents = {};
|
|
639
|
+
contents = de_UpdateComputeNodeGroupResponse(data);
|
|
640
|
+
const response = {
|
|
641
|
+
$metadata: deserializeMetadata(output),
|
|
642
|
+
...contents,
|
|
643
|
+
};
|
|
644
|
+
return response;
|
|
645
|
+
};
|
|
646
|
+
const de_UpdateQueueCommand = async (output, context) => {
|
|
647
|
+
if (output.statusCode >= 300) {
|
|
648
|
+
return de_CommandError(output, context);
|
|
649
|
+
}
|
|
650
|
+
const data = await core$1.parseJsonBody(output.body, context);
|
|
651
|
+
let contents = {};
|
|
652
|
+
contents = de_UpdateQueueResponse(data);
|
|
653
|
+
const response = {
|
|
654
|
+
$metadata: deserializeMetadata(output),
|
|
655
|
+
...contents,
|
|
656
|
+
};
|
|
657
|
+
return response;
|
|
658
|
+
};
|
|
659
|
+
const de_CommandError = async (output, context) => {
|
|
660
|
+
const parsedOutput = {
|
|
661
|
+
...output,
|
|
662
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
663
|
+
};
|
|
664
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
665
|
+
switch (errorCode) {
|
|
666
|
+
case "AccessDeniedException":
|
|
667
|
+
case "com.amazonaws.pcs#AccessDeniedException":
|
|
668
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
669
|
+
case "ConflictException":
|
|
670
|
+
case "com.amazonaws.pcs#ConflictException":
|
|
671
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
672
|
+
case "InternalServerException":
|
|
673
|
+
case "com.amazonaws.pcs#InternalServerException":
|
|
674
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
675
|
+
case "ServiceQuotaExceededException":
|
|
676
|
+
case "com.amazonaws.pcs#ServiceQuotaExceededException":
|
|
677
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
678
|
+
case "ThrottlingException":
|
|
679
|
+
case "com.amazonaws.pcs#ThrottlingException":
|
|
680
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
681
|
+
case "ValidationException":
|
|
682
|
+
case "com.amazonaws.pcs#ValidationException":
|
|
683
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
684
|
+
case "ResourceNotFoundException":
|
|
685
|
+
case "com.amazonaws.pcs#ResourceNotFoundException":
|
|
686
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
687
|
+
default:
|
|
688
|
+
const parsedBody = parsedOutput.body;
|
|
689
|
+
return throwDefaultError({
|
|
690
|
+
output,
|
|
691
|
+
parsedBody,
|
|
692
|
+
errorCode,
|
|
693
|
+
});
|
|
694
|
+
}
|
|
695
|
+
};
|
|
696
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
697
|
+
const body = parsedOutput.body;
|
|
698
|
+
const deserialized = smithyClient._json(body);
|
|
699
|
+
const exception = new AccessDeniedException({
|
|
700
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
701
|
+
...deserialized,
|
|
260
702
|
});
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
static {
|
|
270
|
-
__name(this, "ConflictException");
|
|
271
|
-
}
|
|
272
|
-
name = "ConflictException";
|
|
273
|
-
$fault = "client";
|
|
274
|
-
/**
|
|
275
|
-
* <p> The unique identifier of the resource that caused the conflict exception. </p>
|
|
276
|
-
* @public
|
|
277
|
-
*/
|
|
278
|
-
resourceId;
|
|
279
|
-
/**
|
|
280
|
-
* <p> The type or category of the resource that caused the conflict exception." </p>
|
|
281
|
-
* @public
|
|
282
|
-
*/
|
|
283
|
-
resourceType;
|
|
284
|
-
/**
|
|
285
|
-
* @internal
|
|
286
|
-
*/
|
|
287
|
-
constructor(opts) {
|
|
288
|
-
super({
|
|
289
|
-
name: "ConflictException",
|
|
290
|
-
$fault: "client",
|
|
291
|
-
...opts
|
|
703
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
704
|
+
};
|
|
705
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
706
|
+
const body = parsedOutput.body;
|
|
707
|
+
const deserialized = smithyClient._json(body);
|
|
708
|
+
const exception = new ConflictException({
|
|
709
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
710
|
+
...deserialized,
|
|
292
711
|
});
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
SPOT: "SPOT"
|
|
302
|
-
};
|
|
303
|
-
var SpotAllocationStrategy = {
|
|
304
|
-
CAPACITY_OPTIMIZED: "capacity-optimized",
|
|
305
|
-
LOWEST_PRICE: "lowest-price",
|
|
306
|
-
PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized"
|
|
307
|
-
};
|
|
308
|
-
var ComputeNodeGroupStatus = {
|
|
309
|
-
ACTIVE: "ACTIVE",
|
|
310
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
311
|
-
CREATING: "CREATING",
|
|
312
|
-
DELETED: "DELETED",
|
|
313
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
314
|
-
DELETING: "DELETING",
|
|
315
|
-
SUSPENDED: "SUSPENDED",
|
|
316
|
-
SUSPENDING: "SUSPENDING",
|
|
317
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
318
|
-
UPDATING: "UPDATING"
|
|
319
|
-
};
|
|
320
|
-
var InternalServerException = class _InternalServerException extends PCSServiceException {
|
|
321
|
-
static {
|
|
322
|
-
__name(this, "InternalServerException");
|
|
323
|
-
}
|
|
324
|
-
name = "InternalServerException";
|
|
325
|
-
$fault = "server";
|
|
326
|
-
$retryable = {};
|
|
327
|
-
/**
|
|
328
|
-
* @internal
|
|
329
|
-
*/
|
|
330
|
-
constructor(opts) {
|
|
331
|
-
super({
|
|
332
|
-
name: "InternalServerException",
|
|
333
|
-
$fault: "server",
|
|
334
|
-
...opts
|
|
712
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
713
|
+
};
|
|
714
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
715
|
+
const body = parsedOutput.body;
|
|
716
|
+
const deserialized = smithyClient._json(body);
|
|
717
|
+
const exception = new InternalServerException({
|
|
718
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
719
|
+
...deserialized,
|
|
335
720
|
});
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
$fault = "client";
|
|
345
|
-
/**
|
|
346
|
-
* <p> The unique identifier of the resource that was not found. </p>
|
|
347
|
-
* @public
|
|
348
|
-
*/
|
|
349
|
-
resourceId;
|
|
350
|
-
/**
|
|
351
|
-
* <p> The type or category of the resource that was not found. </p>
|
|
352
|
-
* @public
|
|
353
|
-
*/
|
|
354
|
-
resourceType;
|
|
355
|
-
/**
|
|
356
|
-
* @internal
|
|
357
|
-
*/
|
|
358
|
-
constructor(opts) {
|
|
359
|
-
super({
|
|
360
|
-
name: "ResourceNotFoundException",
|
|
361
|
-
$fault: "client",
|
|
362
|
-
...opts
|
|
721
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
722
|
+
};
|
|
723
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
724
|
+
const body = parsedOutput.body;
|
|
725
|
+
const deserialized = smithyClient._json(body);
|
|
726
|
+
const exception = new ResourceNotFoundException({
|
|
727
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
728
|
+
...deserialized,
|
|
363
729
|
});
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
}
|
|
373
|
-
name = "ServiceQuotaExceededException";
|
|
374
|
-
$fault = "client";
|
|
375
|
-
/**
|
|
376
|
-
* <p> The service code associated with the quota that was exceeded. </p>
|
|
377
|
-
* @public
|
|
378
|
-
*/
|
|
379
|
-
serviceCode;
|
|
380
|
-
/**
|
|
381
|
-
* <p> The unique identifier of the resource that caused the quota to be exceeded. </p>
|
|
382
|
-
* @public
|
|
383
|
-
*/
|
|
384
|
-
resourceId;
|
|
385
|
-
/**
|
|
386
|
-
* <p> The type or category of the resource that caused the quota to be exceeded. </p>
|
|
387
|
-
* @public
|
|
388
|
-
*/
|
|
389
|
-
resourceType;
|
|
390
|
-
/**
|
|
391
|
-
* <p> The <b>quota code</b> of the service quota that was exceeded. </p>
|
|
392
|
-
* @public
|
|
393
|
-
*/
|
|
394
|
-
quotaCode;
|
|
395
|
-
/**
|
|
396
|
-
* @internal
|
|
397
|
-
*/
|
|
398
|
-
constructor(opts) {
|
|
399
|
-
super({
|
|
400
|
-
name: "ServiceQuotaExceededException",
|
|
401
|
-
$fault: "client",
|
|
402
|
-
...opts
|
|
730
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
731
|
+
};
|
|
732
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
733
|
+
const body = parsedOutput.body;
|
|
734
|
+
const deserialized = smithyClient._json(body);
|
|
735
|
+
const exception = new ServiceQuotaExceededException({
|
|
736
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
737
|
+
...deserialized,
|
|
403
738
|
});
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
static {
|
|
413
|
-
__name(this, "ThrottlingException");
|
|
414
|
-
}
|
|
415
|
-
name = "ThrottlingException";
|
|
416
|
-
$fault = "client";
|
|
417
|
-
$retryable = {};
|
|
418
|
-
/**
|
|
419
|
-
* <p> The number of seconds to wait before retrying the request. </p>
|
|
420
|
-
* @public
|
|
421
|
-
*/
|
|
422
|
-
retryAfterSeconds;
|
|
423
|
-
/**
|
|
424
|
-
* @internal
|
|
425
|
-
*/
|
|
426
|
-
constructor(opts) {
|
|
427
|
-
super({
|
|
428
|
-
name: "ThrottlingException",
|
|
429
|
-
$fault: "client",
|
|
430
|
-
...opts
|
|
739
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
740
|
+
};
|
|
741
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
742
|
+
const body = parsedOutput.body;
|
|
743
|
+
const deserialized = smithyClient._json(body);
|
|
744
|
+
const exception = new ThrottlingException({
|
|
745
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
746
|
+
...deserialized,
|
|
431
747
|
});
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
UNKNOWN_OPERATION: "unknownOperation"
|
|
441
|
-
};
|
|
442
|
-
var ValidationException = class _ValidationException extends PCSServiceException {
|
|
443
|
-
static {
|
|
444
|
-
__name(this, "ValidationException");
|
|
445
|
-
}
|
|
446
|
-
name = "ValidationException";
|
|
447
|
-
$fault = "client";
|
|
448
|
-
/**
|
|
449
|
-
* <p> The specific reason or cause of the validation error. </p>
|
|
450
|
-
* @public
|
|
451
|
-
*/
|
|
452
|
-
reason;
|
|
453
|
-
/**
|
|
454
|
-
* <p> A list of fields or properties that failed validation. </p>
|
|
455
|
-
* @public
|
|
456
|
-
*/
|
|
457
|
-
fieldList;
|
|
458
|
-
/**
|
|
459
|
-
* @internal
|
|
460
|
-
*/
|
|
461
|
-
constructor(opts) {
|
|
462
|
-
super({
|
|
463
|
-
name: "ValidationException",
|
|
464
|
-
$fault: "client",
|
|
465
|
-
...opts
|
|
748
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
749
|
+
};
|
|
750
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
751
|
+
const body = parsedOutput.body;
|
|
752
|
+
const deserialized = smithyClient._json(body);
|
|
753
|
+
const exception = new ValidationException({
|
|
754
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
755
|
+
...deserialized,
|
|
466
756
|
});
|
|
467
|
-
|
|
468
|
-
this.reason = opts.reason;
|
|
469
|
-
this.fieldList = opts.fieldList;
|
|
470
|
-
}
|
|
471
|
-
};
|
|
472
|
-
var NetworkType = {
|
|
473
|
-
IPV4: "IPV4",
|
|
474
|
-
IPV6: "IPV6"
|
|
475
|
-
};
|
|
476
|
-
var SchedulerType = {
|
|
477
|
-
SLURM: "SLURM"
|
|
478
|
-
};
|
|
479
|
-
var Size = {
|
|
480
|
-
LARGE: "LARGE",
|
|
481
|
-
MEDIUM: "MEDIUM",
|
|
482
|
-
SMALL: "SMALL"
|
|
483
|
-
};
|
|
484
|
-
var EndpointType = {
|
|
485
|
-
SLURMCTLD: "SLURMCTLD",
|
|
486
|
-
SLURMDBD: "SLURMDBD"
|
|
487
|
-
};
|
|
488
|
-
var ClusterStatus = {
|
|
489
|
-
ACTIVE: "ACTIVE",
|
|
490
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
491
|
-
CREATING: "CREATING",
|
|
492
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
493
|
-
DELETING: "DELETING",
|
|
494
|
-
SUSPENDED: "SUSPENDED",
|
|
495
|
-
SUSPENDING: "SUSPENDING",
|
|
496
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
497
|
-
UPDATING: "UPDATING"
|
|
498
|
-
};
|
|
499
|
-
var QueueStatus = {
|
|
500
|
-
ACTIVE: "ACTIVE",
|
|
501
|
-
CREATE_FAILED: "CREATE_FAILED",
|
|
502
|
-
CREATING: "CREATING",
|
|
503
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
504
|
-
DELETING: "DELETING",
|
|
505
|
-
SUSPENDED: "SUSPENDED",
|
|
506
|
-
SUSPENDING: "SUSPENDING",
|
|
507
|
-
UPDATE_FAILED: "UPDATE_FAILED",
|
|
508
|
-
UPDATING: "UPDATING"
|
|
509
|
-
};
|
|
510
|
-
var RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
511
|
-
...obj,
|
|
512
|
-
...obj.sharedSecret && { sharedSecret: import_smithy_client.SENSITIVE_STRING }
|
|
513
|
-
}), "RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog");
|
|
514
|
-
|
|
515
|
-
// src/protocols/Aws_json1_0.ts
|
|
516
|
-
var se_CreateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
517
|
-
const headers = sharedHeaders("CreateCluster");
|
|
518
|
-
let body;
|
|
519
|
-
body = JSON.stringify(se_CreateClusterRequest(input, context));
|
|
520
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
521
|
-
}, "se_CreateClusterCommand");
|
|
522
|
-
var se_CreateComputeNodeGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
523
|
-
const headers = sharedHeaders("CreateComputeNodeGroup");
|
|
524
|
-
let body;
|
|
525
|
-
body = JSON.stringify(se_CreateComputeNodeGroupRequest(input, context));
|
|
526
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
527
|
-
}, "se_CreateComputeNodeGroupCommand");
|
|
528
|
-
var se_CreateQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
529
|
-
const headers = sharedHeaders("CreateQueue");
|
|
530
|
-
let body;
|
|
531
|
-
body = JSON.stringify(se_CreateQueueRequest(input, context));
|
|
532
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
533
|
-
}, "se_CreateQueueCommand");
|
|
534
|
-
var se_DeleteClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
535
|
-
const headers = sharedHeaders("DeleteCluster");
|
|
536
|
-
let body;
|
|
537
|
-
body = JSON.stringify(se_DeleteClusterRequest(input, context));
|
|
538
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
539
|
-
}, "se_DeleteClusterCommand");
|
|
540
|
-
var se_DeleteComputeNodeGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
541
|
-
const headers = sharedHeaders("DeleteComputeNodeGroup");
|
|
542
|
-
let body;
|
|
543
|
-
body = JSON.stringify(se_DeleteComputeNodeGroupRequest(input, context));
|
|
544
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
545
|
-
}, "se_DeleteComputeNodeGroupCommand");
|
|
546
|
-
var se_DeleteQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
547
|
-
const headers = sharedHeaders("DeleteQueue");
|
|
548
|
-
let body;
|
|
549
|
-
body = JSON.stringify(se_DeleteQueueRequest(input, context));
|
|
550
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
551
|
-
}, "se_DeleteQueueCommand");
|
|
552
|
-
var se_GetClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
553
|
-
const headers = sharedHeaders("GetCluster");
|
|
554
|
-
let body;
|
|
555
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
556
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
557
|
-
}, "se_GetClusterCommand");
|
|
558
|
-
var se_GetComputeNodeGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
559
|
-
const headers = sharedHeaders("GetComputeNodeGroup");
|
|
560
|
-
let body;
|
|
561
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
562
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
563
|
-
}, "se_GetComputeNodeGroupCommand");
|
|
564
|
-
var se_GetQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
565
|
-
const headers = sharedHeaders("GetQueue");
|
|
566
|
-
let body;
|
|
567
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
568
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
569
|
-
}, "se_GetQueueCommand");
|
|
570
|
-
var se_ListClustersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
571
|
-
const headers = sharedHeaders("ListClusters");
|
|
572
|
-
let body;
|
|
573
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
574
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
575
|
-
}, "se_ListClustersCommand");
|
|
576
|
-
var se_ListComputeNodeGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
577
|
-
const headers = sharedHeaders("ListComputeNodeGroups");
|
|
578
|
-
let body;
|
|
579
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
580
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
581
|
-
}, "se_ListComputeNodeGroupsCommand");
|
|
582
|
-
var se_ListQueuesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
583
|
-
const headers = sharedHeaders("ListQueues");
|
|
584
|
-
let body;
|
|
585
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
586
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
587
|
-
}, "se_ListQueuesCommand");
|
|
588
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
589
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
590
|
-
let body;
|
|
591
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
592
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
593
|
-
}, "se_ListTagsForResourceCommand");
|
|
594
|
-
var se_RegisterComputeNodeGroupInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
595
|
-
const headers = sharedHeaders("RegisterComputeNodeGroupInstance");
|
|
596
|
-
let body;
|
|
597
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
598
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
599
|
-
}, "se_RegisterComputeNodeGroupInstanceCommand");
|
|
600
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
601
|
-
const headers = sharedHeaders("TagResource");
|
|
602
|
-
let body;
|
|
603
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
604
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
605
|
-
}, "se_TagResourceCommand");
|
|
606
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
607
|
-
const headers = sharedHeaders("UntagResource");
|
|
608
|
-
let body;
|
|
609
|
-
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
610
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
611
|
-
}, "se_UntagResourceCommand");
|
|
612
|
-
var se_UpdateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
613
|
-
const headers = sharedHeaders("UpdateCluster");
|
|
614
|
-
let body;
|
|
615
|
-
body = JSON.stringify(se_UpdateClusterRequest(input, context));
|
|
616
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
617
|
-
}, "se_UpdateClusterCommand");
|
|
618
|
-
var se_UpdateComputeNodeGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
619
|
-
const headers = sharedHeaders("UpdateComputeNodeGroup");
|
|
620
|
-
let body;
|
|
621
|
-
body = JSON.stringify(se_UpdateComputeNodeGroupRequest(input, context));
|
|
622
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
623
|
-
}, "se_UpdateComputeNodeGroupCommand");
|
|
624
|
-
var se_UpdateQueueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
625
|
-
const headers = sharedHeaders("UpdateQueue");
|
|
626
|
-
let body;
|
|
627
|
-
body = JSON.stringify(se_UpdateQueueRequest(input, context));
|
|
628
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
629
|
-
}, "se_UpdateQueueCommand");
|
|
630
|
-
var de_CreateClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
631
|
-
if (output.statusCode >= 300) {
|
|
632
|
-
return de_CommandError(output, context);
|
|
633
|
-
}
|
|
634
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
635
|
-
let contents = {};
|
|
636
|
-
contents = de_CreateClusterResponse(data, context);
|
|
637
|
-
const response = {
|
|
638
|
-
$metadata: deserializeMetadata(output),
|
|
639
|
-
...contents
|
|
640
|
-
};
|
|
641
|
-
return response;
|
|
642
|
-
}, "de_CreateClusterCommand");
|
|
643
|
-
var de_CreateComputeNodeGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
644
|
-
if (output.statusCode >= 300) {
|
|
645
|
-
return de_CommandError(output, context);
|
|
646
|
-
}
|
|
647
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
648
|
-
let contents = {};
|
|
649
|
-
contents = de_CreateComputeNodeGroupResponse(data, context);
|
|
650
|
-
const response = {
|
|
651
|
-
$metadata: deserializeMetadata(output),
|
|
652
|
-
...contents
|
|
653
|
-
};
|
|
654
|
-
return response;
|
|
655
|
-
}, "de_CreateComputeNodeGroupCommand");
|
|
656
|
-
var de_CreateQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
657
|
-
if (output.statusCode >= 300) {
|
|
658
|
-
return de_CommandError(output, context);
|
|
659
|
-
}
|
|
660
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
661
|
-
let contents = {};
|
|
662
|
-
contents = de_CreateQueueResponse(data, context);
|
|
663
|
-
const response = {
|
|
664
|
-
$metadata: deserializeMetadata(output),
|
|
665
|
-
...contents
|
|
666
|
-
};
|
|
667
|
-
return response;
|
|
668
|
-
}, "de_CreateQueueCommand");
|
|
669
|
-
var de_DeleteClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
670
|
-
if (output.statusCode >= 300) {
|
|
671
|
-
return de_CommandError(output, context);
|
|
672
|
-
}
|
|
673
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
674
|
-
let contents = {};
|
|
675
|
-
contents = (0, import_smithy_client._json)(data);
|
|
676
|
-
const response = {
|
|
677
|
-
$metadata: deserializeMetadata(output),
|
|
678
|
-
...contents
|
|
679
|
-
};
|
|
680
|
-
return response;
|
|
681
|
-
}, "de_DeleteClusterCommand");
|
|
682
|
-
var de_DeleteComputeNodeGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
683
|
-
if (output.statusCode >= 300) {
|
|
684
|
-
return de_CommandError(output, context);
|
|
685
|
-
}
|
|
686
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
687
|
-
let contents = {};
|
|
688
|
-
contents = (0, import_smithy_client._json)(data);
|
|
689
|
-
const response = {
|
|
690
|
-
$metadata: deserializeMetadata(output),
|
|
691
|
-
...contents
|
|
692
|
-
};
|
|
693
|
-
return response;
|
|
694
|
-
}, "de_DeleteComputeNodeGroupCommand");
|
|
695
|
-
var de_DeleteQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
696
|
-
if (output.statusCode >= 300) {
|
|
697
|
-
return de_CommandError(output, context);
|
|
698
|
-
}
|
|
699
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
700
|
-
let contents = {};
|
|
701
|
-
contents = (0, import_smithy_client._json)(data);
|
|
702
|
-
const response = {
|
|
703
|
-
$metadata: deserializeMetadata(output),
|
|
704
|
-
...contents
|
|
705
|
-
};
|
|
706
|
-
return response;
|
|
707
|
-
}, "de_DeleteQueueCommand");
|
|
708
|
-
var de_GetClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
709
|
-
if (output.statusCode >= 300) {
|
|
710
|
-
return de_CommandError(output, context);
|
|
711
|
-
}
|
|
712
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
713
|
-
let contents = {};
|
|
714
|
-
contents = de_GetClusterResponse(data, context);
|
|
715
|
-
const response = {
|
|
716
|
-
$metadata: deserializeMetadata(output),
|
|
717
|
-
...contents
|
|
718
|
-
};
|
|
719
|
-
return response;
|
|
720
|
-
}, "de_GetClusterCommand");
|
|
721
|
-
var de_GetComputeNodeGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
722
|
-
if (output.statusCode >= 300) {
|
|
723
|
-
return de_CommandError(output, context);
|
|
724
|
-
}
|
|
725
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
726
|
-
let contents = {};
|
|
727
|
-
contents = de_GetComputeNodeGroupResponse(data, context);
|
|
728
|
-
const response = {
|
|
729
|
-
$metadata: deserializeMetadata(output),
|
|
730
|
-
...contents
|
|
731
|
-
};
|
|
732
|
-
return response;
|
|
733
|
-
}, "de_GetComputeNodeGroupCommand");
|
|
734
|
-
var de_GetQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
735
|
-
if (output.statusCode >= 300) {
|
|
736
|
-
return de_CommandError(output, context);
|
|
737
|
-
}
|
|
738
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
739
|
-
let contents = {};
|
|
740
|
-
contents = de_GetQueueResponse(data, context);
|
|
741
|
-
const response = {
|
|
742
|
-
$metadata: deserializeMetadata(output),
|
|
743
|
-
...contents
|
|
744
|
-
};
|
|
745
|
-
return response;
|
|
746
|
-
}, "de_GetQueueCommand");
|
|
747
|
-
var de_ListClustersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
748
|
-
if (output.statusCode >= 300) {
|
|
749
|
-
return de_CommandError(output, context);
|
|
750
|
-
}
|
|
751
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
752
|
-
let contents = {};
|
|
753
|
-
contents = de_ListClustersResponse(data, context);
|
|
754
|
-
const response = {
|
|
755
|
-
$metadata: deserializeMetadata(output),
|
|
756
|
-
...contents
|
|
757
|
-
};
|
|
758
|
-
return response;
|
|
759
|
-
}, "de_ListClustersCommand");
|
|
760
|
-
var de_ListComputeNodeGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
761
|
-
if (output.statusCode >= 300) {
|
|
762
|
-
return de_CommandError(output, context);
|
|
763
|
-
}
|
|
764
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
765
|
-
let contents = {};
|
|
766
|
-
contents = de_ListComputeNodeGroupsResponse(data, context);
|
|
767
|
-
const response = {
|
|
768
|
-
$metadata: deserializeMetadata(output),
|
|
769
|
-
...contents
|
|
770
|
-
};
|
|
771
|
-
return response;
|
|
772
|
-
}, "de_ListComputeNodeGroupsCommand");
|
|
773
|
-
var de_ListQueuesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
774
|
-
if (output.statusCode >= 300) {
|
|
775
|
-
return de_CommandError(output, context);
|
|
776
|
-
}
|
|
777
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
778
|
-
let contents = {};
|
|
779
|
-
contents = de_ListQueuesResponse(data, context);
|
|
780
|
-
const response = {
|
|
781
|
-
$metadata: deserializeMetadata(output),
|
|
782
|
-
...contents
|
|
783
|
-
};
|
|
784
|
-
return response;
|
|
785
|
-
}, "de_ListQueuesCommand");
|
|
786
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
787
|
-
if (output.statusCode >= 300) {
|
|
788
|
-
return de_CommandError(output, context);
|
|
789
|
-
}
|
|
790
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
791
|
-
let contents = {};
|
|
792
|
-
contents = (0, import_smithy_client._json)(data);
|
|
793
|
-
const response = {
|
|
794
|
-
$metadata: deserializeMetadata(output),
|
|
795
|
-
...contents
|
|
796
|
-
};
|
|
797
|
-
return response;
|
|
798
|
-
}, "de_ListTagsForResourceCommand");
|
|
799
|
-
var de_RegisterComputeNodeGroupInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
800
|
-
if (output.statusCode >= 300) {
|
|
801
|
-
return de_CommandError(output, context);
|
|
802
|
-
}
|
|
803
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
804
|
-
let contents = {};
|
|
805
|
-
contents = (0, import_smithy_client._json)(data);
|
|
806
|
-
const response = {
|
|
807
|
-
$metadata: deserializeMetadata(output),
|
|
808
|
-
...contents
|
|
809
|
-
};
|
|
810
|
-
return response;
|
|
811
|
-
}, "de_RegisterComputeNodeGroupInstanceCommand");
|
|
812
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
813
|
-
if (output.statusCode >= 300) {
|
|
814
|
-
return de_CommandError(output, context);
|
|
815
|
-
}
|
|
816
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
817
|
-
const response = {
|
|
818
|
-
$metadata: deserializeMetadata(output)
|
|
819
|
-
};
|
|
820
|
-
return response;
|
|
821
|
-
}, "de_TagResourceCommand");
|
|
822
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
823
|
-
if (output.statusCode >= 300) {
|
|
824
|
-
return de_CommandError(output, context);
|
|
825
|
-
}
|
|
826
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
827
|
-
const response = {
|
|
828
|
-
$metadata: deserializeMetadata(output)
|
|
829
|
-
};
|
|
830
|
-
return response;
|
|
831
|
-
}, "de_UntagResourceCommand");
|
|
832
|
-
var de_UpdateClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
833
|
-
if (output.statusCode >= 300) {
|
|
834
|
-
return de_CommandError(output, context);
|
|
835
|
-
}
|
|
836
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
837
|
-
let contents = {};
|
|
838
|
-
contents = de_UpdateClusterResponse(data, context);
|
|
839
|
-
const response = {
|
|
840
|
-
$metadata: deserializeMetadata(output),
|
|
841
|
-
...contents
|
|
842
|
-
};
|
|
843
|
-
return response;
|
|
844
|
-
}, "de_UpdateClusterCommand");
|
|
845
|
-
var de_UpdateComputeNodeGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
846
|
-
if (output.statusCode >= 300) {
|
|
847
|
-
return de_CommandError(output, context);
|
|
848
|
-
}
|
|
849
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
850
|
-
let contents = {};
|
|
851
|
-
contents = de_UpdateComputeNodeGroupResponse(data, context);
|
|
852
|
-
const response = {
|
|
853
|
-
$metadata: deserializeMetadata(output),
|
|
854
|
-
...contents
|
|
855
|
-
};
|
|
856
|
-
return response;
|
|
857
|
-
}, "de_UpdateComputeNodeGroupCommand");
|
|
858
|
-
var de_UpdateQueueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
859
|
-
if (output.statusCode >= 300) {
|
|
860
|
-
return de_CommandError(output, context);
|
|
861
|
-
}
|
|
862
|
-
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
863
|
-
let contents = {};
|
|
864
|
-
contents = de_UpdateQueueResponse(data, context);
|
|
865
|
-
const response = {
|
|
866
|
-
$metadata: deserializeMetadata(output),
|
|
867
|
-
...contents
|
|
868
|
-
};
|
|
869
|
-
return response;
|
|
870
|
-
}, "de_UpdateQueueCommand");
|
|
871
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
872
|
-
const parsedOutput = {
|
|
873
|
-
...output,
|
|
874
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
875
|
-
};
|
|
876
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
877
|
-
switch (errorCode) {
|
|
878
|
-
case "AccessDeniedException":
|
|
879
|
-
case "com.amazonaws.pcs#AccessDeniedException":
|
|
880
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
881
|
-
case "ConflictException":
|
|
882
|
-
case "com.amazonaws.pcs#ConflictException":
|
|
883
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
884
|
-
case "InternalServerException":
|
|
885
|
-
case "com.amazonaws.pcs#InternalServerException":
|
|
886
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
887
|
-
case "ServiceQuotaExceededException":
|
|
888
|
-
case "com.amazonaws.pcs#ServiceQuotaExceededException":
|
|
889
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
890
|
-
case "ThrottlingException":
|
|
891
|
-
case "com.amazonaws.pcs#ThrottlingException":
|
|
892
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
893
|
-
case "ValidationException":
|
|
894
|
-
case "com.amazonaws.pcs#ValidationException":
|
|
895
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
896
|
-
case "ResourceNotFoundException":
|
|
897
|
-
case "com.amazonaws.pcs#ResourceNotFoundException":
|
|
898
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
899
|
-
default:
|
|
900
|
-
const parsedBody = parsedOutput.body;
|
|
901
|
-
return throwDefaultError({
|
|
902
|
-
output,
|
|
903
|
-
parsedBody,
|
|
904
|
-
errorCode
|
|
905
|
-
});
|
|
906
|
-
}
|
|
907
|
-
}, "de_CommandError");
|
|
908
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
909
|
-
const body = parsedOutput.body;
|
|
910
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
911
|
-
const exception = new AccessDeniedException({
|
|
912
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
913
|
-
...deserialized
|
|
914
|
-
});
|
|
915
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
916
|
-
}, "de_AccessDeniedExceptionRes");
|
|
917
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
918
|
-
const body = parsedOutput.body;
|
|
919
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
920
|
-
const exception = new ConflictException({
|
|
921
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
922
|
-
...deserialized
|
|
923
|
-
});
|
|
924
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
925
|
-
}, "de_ConflictExceptionRes");
|
|
926
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
927
|
-
const body = parsedOutput.body;
|
|
928
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
929
|
-
const exception = new InternalServerException({
|
|
930
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
931
|
-
...deserialized
|
|
932
|
-
});
|
|
933
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
934
|
-
}, "de_InternalServerExceptionRes");
|
|
935
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
936
|
-
const body = parsedOutput.body;
|
|
937
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
938
|
-
const exception = new ResourceNotFoundException({
|
|
939
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
940
|
-
...deserialized
|
|
941
|
-
});
|
|
942
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
943
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
944
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
945
|
-
const body = parsedOutput.body;
|
|
946
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
947
|
-
const exception = new ServiceQuotaExceededException({
|
|
948
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
949
|
-
...deserialized
|
|
950
|
-
});
|
|
951
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
952
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
953
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
954
|
-
const body = parsedOutput.body;
|
|
955
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
956
|
-
const exception = new ThrottlingException({
|
|
957
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
958
|
-
...deserialized
|
|
959
|
-
});
|
|
960
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
961
|
-
}, "de_ThrottlingExceptionRes");
|
|
962
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
963
|
-
const body = parsedOutput.body;
|
|
964
|
-
const deserialized = (0, import_smithy_client._json)(body);
|
|
965
|
-
const exception = new ValidationException({
|
|
966
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
967
|
-
...deserialized
|
|
968
|
-
});
|
|
969
|
-
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
970
|
-
}, "de_ValidationExceptionRes");
|
|
971
|
-
var se_CreateClusterRequest = /* @__PURE__ */ __name((input, context) => {
|
|
972
|
-
return (0, import_smithy_client.take)(input, {
|
|
973
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
974
|
-
clusterName: [],
|
|
975
|
-
networking: import_smithy_client._json,
|
|
976
|
-
scheduler: import_smithy_client._json,
|
|
977
|
-
size: [],
|
|
978
|
-
slurmConfiguration: import_smithy_client._json,
|
|
979
|
-
tags: import_smithy_client._json
|
|
980
|
-
});
|
|
981
|
-
}, "se_CreateClusterRequest");
|
|
982
|
-
var se_CreateComputeNodeGroupRequest = /* @__PURE__ */ __name((input, context) => {
|
|
983
|
-
return (0, import_smithy_client.take)(input, {
|
|
984
|
-
amiId: [],
|
|
985
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
986
|
-
clusterIdentifier: [],
|
|
987
|
-
computeNodeGroupName: [],
|
|
988
|
-
customLaunchTemplate: import_smithy_client._json,
|
|
989
|
-
iamInstanceProfileArn: [],
|
|
990
|
-
instanceConfigs: import_smithy_client._json,
|
|
991
|
-
purchaseOption: [],
|
|
992
|
-
scalingConfiguration: import_smithy_client._json,
|
|
993
|
-
slurmConfiguration: import_smithy_client._json,
|
|
994
|
-
spotOptions: import_smithy_client._json,
|
|
995
|
-
subnetIds: import_smithy_client._json,
|
|
996
|
-
tags: import_smithy_client._json
|
|
997
|
-
});
|
|
998
|
-
}, "se_CreateComputeNodeGroupRequest");
|
|
999
|
-
var se_CreateQueueRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1000
|
-
return (0, import_smithy_client.take)(input, {
|
|
1001
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1002
|
-
clusterIdentifier: [],
|
|
1003
|
-
computeNodeGroupConfigurations: import_smithy_client._json,
|
|
1004
|
-
queueName: [],
|
|
1005
|
-
slurmConfiguration: import_smithy_client._json,
|
|
1006
|
-
tags: import_smithy_client._json
|
|
1007
|
-
});
|
|
1008
|
-
}, "se_CreateQueueRequest");
|
|
1009
|
-
var se_DeleteClusterRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1010
|
-
return (0, import_smithy_client.take)(input, {
|
|
1011
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1012
|
-
clusterIdentifier: []
|
|
1013
|
-
});
|
|
1014
|
-
}, "se_DeleteClusterRequest");
|
|
1015
|
-
var se_DeleteComputeNodeGroupRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1016
|
-
return (0, import_smithy_client.take)(input, {
|
|
1017
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1018
|
-
clusterIdentifier: [],
|
|
1019
|
-
computeNodeGroupIdentifier: []
|
|
1020
|
-
});
|
|
1021
|
-
}, "se_DeleteComputeNodeGroupRequest");
|
|
1022
|
-
var se_DeleteQueueRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1023
|
-
return (0, import_smithy_client.take)(input, {
|
|
1024
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1025
|
-
clusterIdentifier: [],
|
|
1026
|
-
queueIdentifier: []
|
|
1027
|
-
});
|
|
1028
|
-
}, "se_DeleteQueueRequest");
|
|
1029
|
-
var se_UpdateClusterRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1030
|
-
return (0, import_smithy_client.take)(input, {
|
|
1031
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1032
|
-
clusterIdentifier: [],
|
|
1033
|
-
slurmConfiguration: import_smithy_client._json
|
|
1034
|
-
});
|
|
1035
|
-
}, "se_UpdateClusterRequest");
|
|
1036
|
-
var se_UpdateComputeNodeGroupRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1037
|
-
return (0, import_smithy_client.take)(input, {
|
|
1038
|
-
amiId: [],
|
|
1039
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1040
|
-
clusterIdentifier: [],
|
|
1041
|
-
computeNodeGroupIdentifier: [],
|
|
1042
|
-
customLaunchTemplate: import_smithy_client._json,
|
|
1043
|
-
iamInstanceProfileArn: [],
|
|
1044
|
-
purchaseOption: [],
|
|
1045
|
-
scalingConfiguration: import_smithy_client._json,
|
|
1046
|
-
slurmConfiguration: import_smithy_client._json,
|
|
1047
|
-
spotOptions: import_smithy_client._json,
|
|
1048
|
-
subnetIds: import_smithy_client._json
|
|
1049
|
-
});
|
|
1050
|
-
}, "se_UpdateComputeNodeGroupRequest");
|
|
1051
|
-
var se_UpdateQueueRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1052
|
-
return (0, import_smithy_client.take)(input, {
|
|
1053
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1054
|
-
clusterIdentifier: [],
|
|
1055
|
-
computeNodeGroupConfigurations: import_smithy_client._json,
|
|
1056
|
-
queueIdentifier: [],
|
|
1057
|
-
slurmConfiguration: import_smithy_client._json
|
|
1058
|
-
});
|
|
1059
|
-
}, "se_UpdateQueueRequest");
|
|
1060
|
-
var de_Cluster = /* @__PURE__ */ __name((output, context) => {
|
|
1061
|
-
return (0, import_smithy_client.take)(output, {
|
|
1062
|
-
arn: import_smithy_client.expectString,
|
|
1063
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1064
|
-
endpoints: import_smithy_client._json,
|
|
1065
|
-
errorInfo: import_smithy_client._json,
|
|
1066
|
-
id: import_smithy_client.expectString,
|
|
1067
|
-
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),
|
|
1068
|
-
name: import_smithy_client.expectString,
|
|
1069
|
-
networking: import_smithy_client._json,
|
|
1070
|
-
scheduler: import_smithy_client._json,
|
|
1071
|
-
size: import_smithy_client.expectString,
|
|
1072
|
-
slurmConfiguration: import_smithy_client._json,
|
|
1073
|
-
status: import_smithy_client.expectString
|
|
1074
|
-
});
|
|
1075
|
-
}, "de_Cluster");
|
|
1076
|
-
var de_ClusterList = /* @__PURE__ */ __name((output, context) => {
|
|
1077
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1078
|
-
return de_ClusterSummary(entry, context);
|
|
1079
|
-
});
|
|
1080
|
-
return retVal;
|
|
1081
|
-
}, "de_ClusterList");
|
|
1082
|
-
var de_ClusterSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1083
|
-
return (0, import_smithy_client.take)(output, {
|
|
1084
|
-
arn: import_smithy_client.expectString,
|
|
1085
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1086
|
-
id: import_smithy_client.expectString,
|
|
1087
|
-
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),
|
|
1088
|
-
name: import_smithy_client.expectString,
|
|
1089
|
-
status: import_smithy_client.expectString
|
|
1090
|
-
});
|
|
1091
|
-
}, "de_ClusterSummary");
|
|
1092
|
-
var de_ComputeNodeGroup = /* @__PURE__ */ __name((output, context) => {
|
|
1093
|
-
return (0, import_smithy_client.take)(output, {
|
|
1094
|
-
amiId: import_smithy_client.expectString,
|
|
1095
|
-
arn: import_smithy_client.expectString,
|
|
1096
|
-
clusterId: import_smithy_client.expectString,
|
|
1097
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1098
|
-
customLaunchTemplate: import_smithy_client._json,
|
|
1099
|
-
errorInfo: import_smithy_client._json,
|
|
1100
|
-
iamInstanceProfileArn: import_smithy_client.expectString,
|
|
1101
|
-
id: import_smithy_client.expectString,
|
|
1102
|
-
instanceConfigs: import_smithy_client._json,
|
|
1103
|
-
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),
|
|
1104
|
-
name: import_smithy_client.expectString,
|
|
1105
|
-
purchaseOption: import_smithy_client.expectString,
|
|
1106
|
-
scalingConfiguration: import_smithy_client._json,
|
|
1107
|
-
slurmConfiguration: import_smithy_client._json,
|
|
1108
|
-
spotOptions: import_smithy_client._json,
|
|
1109
|
-
status: import_smithy_client.expectString,
|
|
1110
|
-
subnetIds: import_smithy_client._json
|
|
1111
|
-
});
|
|
1112
|
-
}, "de_ComputeNodeGroup");
|
|
1113
|
-
var de_ComputeNodeGroupList = /* @__PURE__ */ __name((output, context) => {
|
|
1114
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1115
|
-
return de_ComputeNodeGroupSummary(entry, context);
|
|
1116
|
-
});
|
|
1117
|
-
return retVal;
|
|
1118
|
-
}, "de_ComputeNodeGroupList");
|
|
1119
|
-
var de_ComputeNodeGroupSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1120
|
-
return (0, import_smithy_client.take)(output, {
|
|
1121
|
-
arn: import_smithy_client.expectString,
|
|
1122
|
-
clusterId: import_smithy_client.expectString,
|
|
1123
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1124
|
-
id: import_smithy_client.expectString,
|
|
1125
|
-
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),
|
|
1126
|
-
name: import_smithy_client.expectString,
|
|
1127
|
-
status: import_smithy_client.expectString
|
|
1128
|
-
});
|
|
1129
|
-
}, "de_ComputeNodeGroupSummary");
|
|
1130
|
-
var de_CreateClusterResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1131
|
-
return (0, import_smithy_client.take)(output, {
|
|
1132
|
-
cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "cluster")
|
|
1133
|
-
});
|
|
1134
|
-
}, "de_CreateClusterResponse");
|
|
1135
|
-
var de_CreateComputeNodeGroupResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1136
|
-
return (0, import_smithy_client.take)(output, {
|
|
1137
|
-
computeNodeGroup: /* @__PURE__ */ __name((_) => de_ComputeNodeGroup(_, context), "computeNodeGroup")
|
|
1138
|
-
});
|
|
1139
|
-
}, "de_CreateComputeNodeGroupResponse");
|
|
1140
|
-
var de_CreateQueueResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1141
|
-
return (0, import_smithy_client.take)(output, {
|
|
1142
|
-
queue: /* @__PURE__ */ __name((_) => de_Queue(_, context), "queue")
|
|
1143
|
-
});
|
|
1144
|
-
}, "de_CreateQueueResponse");
|
|
1145
|
-
var de_GetClusterResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1146
|
-
return (0, import_smithy_client.take)(output, {
|
|
1147
|
-
cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "cluster")
|
|
1148
|
-
});
|
|
1149
|
-
}, "de_GetClusterResponse");
|
|
1150
|
-
var de_GetComputeNodeGroupResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1151
|
-
return (0, import_smithy_client.take)(output, {
|
|
1152
|
-
computeNodeGroup: /* @__PURE__ */ __name((_) => de_ComputeNodeGroup(_, context), "computeNodeGroup")
|
|
1153
|
-
});
|
|
1154
|
-
}, "de_GetComputeNodeGroupResponse");
|
|
1155
|
-
var de_GetQueueResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1156
|
-
return (0, import_smithy_client.take)(output, {
|
|
1157
|
-
queue: /* @__PURE__ */ __name((_) => de_Queue(_, context), "queue")
|
|
1158
|
-
});
|
|
1159
|
-
}, "de_GetQueueResponse");
|
|
1160
|
-
var de_ListClustersResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1161
|
-
return (0, import_smithy_client.take)(output, {
|
|
1162
|
-
clusters: /* @__PURE__ */ __name((_) => de_ClusterList(_, context), "clusters"),
|
|
1163
|
-
nextToken: import_smithy_client.expectString
|
|
1164
|
-
});
|
|
1165
|
-
}, "de_ListClustersResponse");
|
|
1166
|
-
var de_ListComputeNodeGroupsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1167
|
-
return (0, import_smithy_client.take)(output, {
|
|
1168
|
-
computeNodeGroups: /* @__PURE__ */ __name((_) => de_ComputeNodeGroupList(_, context), "computeNodeGroups"),
|
|
1169
|
-
nextToken: import_smithy_client.expectString
|
|
1170
|
-
});
|
|
1171
|
-
}, "de_ListComputeNodeGroupsResponse");
|
|
1172
|
-
var de_ListQueuesResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1173
|
-
return (0, import_smithy_client.take)(output, {
|
|
1174
|
-
nextToken: import_smithy_client.expectString,
|
|
1175
|
-
queues: /* @__PURE__ */ __name((_) => de_QueueList(_, context), "queues")
|
|
1176
|
-
});
|
|
1177
|
-
}, "de_ListQueuesResponse");
|
|
1178
|
-
var de_Queue = /* @__PURE__ */ __name((output, context) => {
|
|
1179
|
-
return (0, import_smithy_client.take)(output, {
|
|
1180
|
-
arn: import_smithy_client.expectString,
|
|
1181
|
-
clusterId: import_smithy_client.expectString,
|
|
1182
|
-
computeNodeGroupConfigurations: import_smithy_client._json,
|
|
1183
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1184
|
-
errorInfo: import_smithy_client._json,
|
|
1185
|
-
id: import_smithy_client.expectString,
|
|
1186
|
-
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),
|
|
1187
|
-
name: import_smithy_client.expectString,
|
|
1188
|
-
slurmConfiguration: import_smithy_client._json,
|
|
1189
|
-
status: import_smithy_client.expectString
|
|
1190
|
-
});
|
|
1191
|
-
}, "de_Queue");
|
|
1192
|
-
var de_QueueList = /* @__PURE__ */ __name((output, context) => {
|
|
1193
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1194
|
-
return de_QueueSummary(entry, context);
|
|
1195
|
-
});
|
|
1196
|
-
return retVal;
|
|
1197
|
-
}, "de_QueueList");
|
|
1198
|
-
var de_QueueSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1199
|
-
return (0, import_smithy_client.take)(output, {
|
|
1200
|
-
arn: import_smithy_client.expectString,
|
|
1201
|
-
clusterId: import_smithy_client.expectString,
|
|
1202
|
-
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
|
|
1203
|
-
id: import_smithy_client.expectString,
|
|
1204
|
-
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),
|
|
1205
|
-
name: import_smithy_client.expectString,
|
|
1206
|
-
status: import_smithy_client.expectString
|
|
1207
|
-
});
|
|
1208
|
-
}, "de_QueueSummary");
|
|
1209
|
-
var de_UpdateClusterResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1210
|
-
return (0, import_smithy_client.take)(output, {
|
|
1211
|
-
cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "cluster")
|
|
1212
|
-
});
|
|
1213
|
-
}, "de_UpdateClusterResponse");
|
|
1214
|
-
var de_UpdateComputeNodeGroupResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1215
|
-
return (0, import_smithy_client.take)(output, {
|
|
1216
|
-
computeNodeGroup: /* @__PURE__ */ __name((_) => de_ComputeNodeGroup(_, context), "computeNodeGroup")
|
|
1217
|
-
});
|
|
1218
|
-
}, "de_UpdateComputeNodeGroupResponse");
|
|
1219
|
-
var de_UpdateQueueResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1220
|
-
return (0, import_smithy_client.take)(output, {
|
|
1221
|
-
queue: /* @__PURE__ */ __name((_) => de_Queue(_, context), "queue")
|
|
1222
|
-
});
|
|
1223
|
-
}, "de_UpdateQueueResponse");
|
|
1224
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1225
|
-
httpStatusCode: output.statusCode,
|
|
1226
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1227
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1228
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1229
|
-
}), "deserializeMetadata");
|
|
1230
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(PCSServiceException);
|
|
1231
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1232
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1233
|
-
const contents = {
|
|
1234
|
-
protocol,
|
|
1235
|
-
hostname,
|
|
1236
|
-
port,
|
|
1237
|
-
method: "POST",
|
|
1238
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1239
|
-
headers
|
|
1240
|
-
};
|
|
1241
|
-
if (resolvedHostname !== void 0) {
|
|
1242
|
-
contents.hostname = resolvedHostname;
|
|
1243
|
-
}
|
|
1244
|
-
if (body !== void 0) {
|
|
1245
|
-
contents.body = body;
|
|
1246
|
-
}
|
|
1247
|
-
return new import_protocol_http.HttpRequest(contents);
|
|
1248
|
-
}, "buildHttpRpcRequest");
|
|
1249
|
-
function sharedHeaders(operation) {
|
|
1250
|
-
return {
|
|
1251
|
-
"content-type": "application/x-amz-json-1.0",
|
|
1252
|
-
"x-amz-target": `AWSParallelComputingService.${operation}`
|
|
1253
|
-
};
|
|
1254
|
-
}
|
|
1255
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1256
|
-
|
|
1257
|
-
// src/commands/CreateClusterCommand.ts
|
|
1258
|
-
var CreateClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1259
|
-
return [
|
|
1260
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1261
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1262
|
-
];
|
|
1263
|
-
}).s("AWSParallelComputingService", "CreateCluster", {}).n("PCSClient", "CreateClusterCommand").f(void 0, void 0).ser(se_CreateClusterCommand).de(de_CreateClusterCommand).build() {
|
|
1264
|
-
static {
|
|
1265
|
-
__name(this, "CreateClusterCommand");
|
|
1266
|
-
}
|
|
757
|
+
return smithyClient.decorateServiceException(exception, body);
|
|
1267
758
|
};
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
}).s("AWSParallelComputingService", "CreateComputeNodeGroup", {}).n("PCSClient", "CreateComputeNodeGroupCommand").f(void 0, void 0).ser(se_CreateComputeNodeGroupCommand).de(de_CreateComputeNodeGroupCommand).build() {
|
|
1279
|
-
static {
|
|
1280
|
-
__name(this, "CreateComputeNodeGroupCommand");
|
|
1281
|
-
}
|
|
759
|
+
const se_CreateClusterRequest = (input, context) => {
|
|
760
|
+
return smithyClient.take(input, {
|
|
761
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
762
|
+
clusterName: [],
|
|
763
|
+
networking: smithyClient._json,
|
|
764
|
+
scheduler: smithyClient._json,
|
|
765
|
+
size: [],
|
|
766
|
+
slurmConfiguration: smithyClient._json,
|
|
767
|
+
tags: smithyClient._json,
|
|
768
|
+
});
|
|
1282
769
|
};
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
770
|
+
const se_CreateComputeNodeGroupRequest = (input, context) => {
|
|
771
|
+
return smithyClient.take(input, {
|
|
772
|
+
amiId: [],
|
|
773
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
774
|
+
clusterIdentifier: [],
|
|
775
|
+
computeNodeGroupName: [],
|
|
776
|
+
customLaunchTemplate: smithyClient._json,
|
|
777
|
+
iamInstanceProfileArn: [],
|
|
778
|
+
instanceConfigs: smithyClient._json,
|
|
779
|
+
purchaseOption: [],
|
|
780
|
+
scalingConfiguration: smithyClient._json,
|
|
781
|
+
slurmConfiguration: smithyClient._json,
|
|
782
|
+
spotOptions: smithyClient._json,
|
|
783
|
+
subnetIds: smithyClient._json,
|
|
784
|
+
tags: smithyClient._json,
|
|
785
|
+
});
|
|
1297
786
|
};
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
];
|
|
1308
|
-
}).s("AWSParallelComputingService", "DeleteCluster", {}).n("PCSClient", "DeleteClusterCommand").f(void 0, void 0).ser(se_DeleteClusterCommand).de(de_DeleteClusterCommand).build() {
|
|
1309
|
-
static {
|
|
1310
|
-
__name(this, "DeleteClusterCommand");
|
|
1311
|
-
}
|
|
787
|
+
const se_CreateQueueRequest = (input, context) => {
|
|
788
|
+
return smithyClient.take(input, {
|
|
789
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
790
|
+
clusterIdentifier: [],
|
|
791
|
+
computeNodeGroupConfigurations: smithyClient._json,
|
|
792
|
+
queueName: [],
|
|
793
|
+
slurmConfiguration: smithyClient._json,
|
|
794
|
+
tags: smithyClient._json,
|
|
795
|
+
});
|
|
1312
796
|
};
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
var DeleteComputeNodeGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1319
|
-
return [
|
|
1320
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1321
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1322
|
-
];
|
|
1323
|
-
}).s("AWSParallelComputingService", "DeleteComputeNodeGroup", {}).n("PCSClient", "DeleteComputeNodeGroupCommand").f(void 0, void 0).ser(se_DeleteComputeNodeGroupCommand).de(de_DeleteComputeNodeGroupCommand).build() {
|
|
1324
|
-
static {
|
|
1325
|
-
__name(this, "DeleteComputeNodeGroupCommand");
|
|
1326
|
-
}
|
|
797
|
+
const se_DeleteClusterRequest = (input, context) => {
|
|
798
|
+
return smithyClient.take(input, {
|
|
799
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
800
|
+
clusterIdentifier: [],
|
|
801
|
+
});
|
|
1327
802
|
};
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
return [
|
|
1335
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1336
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1337
|
-
];
|
|
1338
|
-
}).s("AWSParallelComputingService", "DeleteQueue", {}).n("PCSClient", "DeleteQueueCommand").f(void 0, void 0).ser(se_DeleteQueueCommand).de(de_DeleteQueueCommand).build() {
|
|
1339
|
-
static {
|
|
1340
|
-
__name(this, "DeleteQueueCommand");
|
|
1341
|
-
}
|
|
803
|
+
const se_DeleteComputeNodeGroupRequest = (input, context) => {
|
|
804
|
+
return smithyClient.take(input, {
|
|
805
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
806
|
+
clusterIdentifier: [],
|
|
807
|
+
computeNodeGroupIdentifier: [],
|
|
808
|
+
});
|
|
1342
809
|
};
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
return [
|
|
1350
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1351
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1352
|
-
];
|
|
1353
|
-
}).s("AWSParallelComputingService", "GetCluster", {}).n("PCSClient", "GetClusterCommand").f(void 0, void 0).ser(se_GetClusterCommand).de(de_GetClusterCommand).build() {
|
|
1354
|
-
static {
|
|
1355
|
-
__name(this, "GetClusterCommand");
|
|
1356
|
-
}
|
|
810
|
+
const se_DeleteQueueRequest = (input, context) => {
|
|
811
|
+
return smithyClient.take(input, {
|
|
812
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
813
|
+
clusterIdentifier: [],
|
|
814
|
+
queueIdentifier: [],
|
|
815
|
+
});
|
|
1357
816
|
};
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
return [
|
|
1365
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1366
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1367
|
-
];
|
|
1368
|
-
}).s("AWSParallelComputingService", "GetComputeNodeGroup", {}).n("PCSClient", "GetComputeNodeGroupCommand").f(void 0, void 0).ser(se_GetComputeNodeGroupCommand).de(de_GetComputeNodeGroupCommand).build() {
|
|
1369
|
-
static {
|
|
1370
|
-
__name(this, "GetComputeNodeGroupCommand");
|
|
1371
|
-
}
|
|
817
|
+
const se_UpdateClusterRequest = (input, context) => {
|
|
818
|
+
return smithyClient.take(input, {
|
|
819
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
820
|
+
clusterIdentifier: [],
|
|
821
|
+
slurmConfiguration: smithyClient._json,
|
|
822
|
+
});
|
|
1372
823
|
};
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
824
|
+
const se_UpdateComputeNodeGroupRequest = (input, context) => {
|
|
825
|
+
return smithyClient.take(input, {
|
|
826
|
+
amiId: [],
|
|
827
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
828
|
+
clusterIdentifier: [],
|
|
829
|
+
computeNodeGroupIdentifier: [],
|
|
830
|
+
customLaunchTemplate: smithyClient._json,
|
|
831
|
+
iamInstanceProfileArn: [],
|
|
832
|
+
purchaseOption: [],
|
|
833
|
+
scalingConfiguration: smithyClient._json,
|
|
834
|
+
slurmConfiguration: smithyClient._json,
|
|
835
|
+
spotOptions: smithyClient._json,
|
|
836
|
+
subnetIds: smithyClient._json,
|
|
837
|
+
});
|
|
1387
838
|
};
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1397
|
-
];
|
|
1398
|
-
}).s("AWSParallelComputingService", "ListClusters", {}).n("PCSClient", "ListClustersCommand").f(void 0, void 0).ser(se_ListClustersCommand).de(de_ListClustersCommand).build() {
|
|
1399
|
-
static {
|
|
1400
|
-
__name(this, "ListClustersCommand");
|
|
1401
|
-
}
|
|
839
|
+
const se_UpdateQueueRequest = (input, context) => {
|
|
840
|
+
return smithyClient.take(input, {
|
|
841
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
842
|
+
clusterIdentifier: [],
|
|
843
|
+
computeNodeGroupConfigurations: smithyClient._json,
|
|
844
|
+
queueIdentifier: [],
|
|
845
|
+
slurmConfiguration: smithyClient._json,
|
|
846
|
+
});
|
|
1402
847
|
};
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
848
|
+
const de_Cluster = (output, context) => {
|
|
849
|
+
return smithyClient.take(output, {
|
|
850
|
+
arn: smithyClient.expectString,
|
|
851
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
852
|
+
endpoints: smithyClient._json,
|
|
853
|
+
errorInfo: smithyClient._json,
|
|
854
|
+
id: smithyClient.expectString,
|
|
855
|
+
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
856
|
+
name: smithyClient.expectString,
|
|
857
|
+
networking: smithyClient._json,
|
|
858
|
+
scheduler: smithyClient._json,
|
|
859
|
+
size: smithyClient.expectString,
|
|
860
|
+
slurmConfiguration: smithyClient._json,
|
|
861
|
+
status: smithyClient.expectString,
|
|
862
|
+
});
|
|
1417
863
|
};
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1426
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1427
|
-
];
|
|
1428
|
-
}).s("AWSParallelComputingService", "ListQueues", {}).n("PCSClient", "ListQueuesCommand").f(void 0, void 0).ser(se_ListQueuesCommand).de(de_ListQueuesCommand).build() {
|
|
1429
|
-
static {
|
|
1430
|
-
__name(this, "ListQueuesCommand");
|
|
1431
|
-
}
|
|
864
|
+
const de_ClusterList = (output, context) => {
|
|
865
|
+
const retVal = (output || [])
|
|
866
|
+
.filter((e) => e != null)
|
|
867
|
+
.map((entry) => {
|
|
868
|
+
return de_ClusterSummary(entry);
|
|
869
|
+
});
|
|
870
|
+
return retVal;
|
|
1432
871
|
};
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
];
|
|
1443
|
-
}).s("AWSParallelComputingService", "ListTagsForResource", {}).n("PCSClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1444
|
-
static {
|
|
1445
|
-
__name(this, "ListTagsForResourceCommand");
|
|
1446
|
-
}
|
|
872
|
+
const de_ClusterSummary = (output, context) => {
|
|
873
|
+
return smithyClient.take(output, {
|
|
874
|
+
arn: smithyClient.expectString,
|
|
875
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
876
|
+
id: smithyClient.expectString,
|
|
877
|
+
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
878
|
+
name: smithyClient.expectString,
|
|
879
|
+
status: smithyClient.expectString,
|
|
880
|
+
});
|
|
1447
881
|
};
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
882
|
+
const de_ComputeNodeGroup = (output, context) => {
|
|
883
|
+
return smithyClient.take(output, {
|
|
884
|
+
amiId: smithyClient.expectString,
|
|
885
|
+
arn: smithyClient.expectString,
|
|
886
|
+
clusterId: smithyClient.expectString,
|
|
887
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
888
|
+
customLaunchTemplate: smithyClient._json,
|
|
889
|
+
errorInfo: smithyClient._json,
|
|
890
|
+
iamInstanceProfileArn: smithyClient.expectString,
|
|
891
|
+
id: smithyClient.expectString,
|
|
892
|
+
instanceConfigs: smithyClient._json,
|
|
893
|
+
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
894
|
+
name: smithyClient.expectString,
|
|
895
|
+
purchaseOption: smithyClient.expectString,
|
|
896
|
+
scalingConfiguration: smithyClient._json,
|
|
897
|
+
slurmConfiguration: smithyClient._json,
|
|
898
|
+
spotOptions: smithyClient._json,
|
|
899
|
+
status: smithyClient.expectString,
|
|
900
|
+
subnetIds: smithyClient._json,
|
|
901
|
+
});
|
|
1462
902
|
};
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
903
|
+
const de_ComputeNodeGroupList = (output, context) => {
|
|
904
|
+
const retVal = (output || [])
|
|
905
|
+
.filter((e) => e != null)
|
|
906
|
+
.map((entry) => {
|
|
907
|
+
return de_ComputeNodeGroupSummary(entry);
|
|
908
|
+
});
|
|
909
|
+
return retVal;
|
|
910
|
+
};
|
|
911
|
+
const de_ComputeNodeGroupSummary = (output, context) => {
|
|
912
|
+
return smithyClient.take(output, {
|
|
913
|
+
arn: smithyClient.expectString,
|
|
914
|
+
clusterId: smithyClient.expectString,
|
|
915
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
916
|
+
id: smithyClient.expectString,
|
|
917
|
+
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
918
|
+
name: smithyClient.expectString,
|
|
919
|
+
status: smithyClient.expectString,
|
|
920
|
+
});
|
|
921
|
+
};
|
|
922
|
+
const de_CreateClusterResponse = (output, context) => {
|
|
923
|
+
return smithyClient.take(output, {
|
|
924
|
+
cluster: (_) => de_Cluster(_),
|
|
925
|
+
});
|
|
926
|
+
};
|
|
927
|
+
const de_CreateComputeNodeGroupResponse = (output, context) => {
|
|
928
|
+
return smithyClient.take(output, {
|
|
929
|
+
computeNodeGroup: (_) => de_ComputeNodeGroup(_),
|
|
930
|
+
});
|
|
931
|
+
};
|
|
932
|
+
const de_CreateQueueResponse = (output, context) => {
|
|
933
|
+
return smithyClient.take(output, {
|
|
934
|
+
queue: (_) => de_Queue(_),
|
|
935
|
+
});
|
|
936
|
+
};
|
|
937
|
+
const de_GetClusterResponse = (output, context) => {
|
|
938
|
+
return smithyClient.take(output, {
|
|
939
|
+
cluster: (_) => de_Cluster(_),
|
|
940
|
+
});
|
|
941
|
+
};
|
|
942
|
+
const de_GetComputeNodeGroupResponse = (output, context) => {
|
|
943
|
+
return smithyClient.take(output, {
|
|
944
|
+
computeNodeGroup: (_) => de_ComputeNodeGroup(_),
|
|
945
|
+
});
|
|
946
|
+
};
|
|
947
|
+
const de_GetQueueResponse = (output, context) => {
|
|
948
|
+
return smithyClient.take(output, {
|
|
949
|
+
queue: (_) => de_Queue(_),
|
|
950
|
+
});
|
|
951
|
+
};
|
|
952
|
+
const de_ListClustersResponse = (output, context) => {
|
|
953
|
+
return smithyClient.take(output, {
|
|
954
|
+
clusters: (_) => de_ClusterList(_),
|
|
955
|
+
nextToken: smithyClient.expectString,
|
|
956
|
+
});
|
|
957
|
+
};
|
|
958
|
+
const de_ListComputeNodeGroupsResponse = (output, context) => {
|
|
959
|
+
return smithyClient.take(output, {
|
|
960
|
+
computeNodeGroups: (_) => de_ComputeNodeGroupList(_),
|
|
961
|
+
nextToken: smithyClient.expectString,
|
|
962
|
+
});
|
|
963
|
+
};
|
|
964
|
+
const de_ListQueuesResponse = (output, context) => {
|
|
965
|
+
return smithyClient.take(output, {
|
|
966
|
+
nextToken: smithyClient.expectString,
|
|
967
|
+
queues: (_) => de_QueueList(_),
|
|
968
|
+
});
|
|
969
|
+
};
|
|
970
|
+
const de_Queue = (output, context) => {
|
|
971
|
+
return smithyClient.take(output, {
|
|
972
|
+
arn: smithyClient.expectString,
|
|
973
|
+
clusterId: smithyClient.expectString,
|
|
974
|
+
computeNodeGroupConfigurations: smithyClient._json,
|
|
975
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
976
|
+
errorInfo: smithyClient._json,
|
|
977
|
+
id: smithyClient.expectString,
|
|
978
|
+
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
979
|
+
name: smithyClient.expectString,
|
|
980
|
+
slurmConfiguration: smithyClient._json,
|
|
981
|
+
status: smithyClient.expectString,
|
|
982
|
+
});
|
|
983
|
+
};
|
|
984
|
+
const de_QueueList = (output, context) => {
|
|
985
|
+
const retVal = (output || [])
|
|
986
|
+
.filter((e) => e != null)
|
|
987
|
+
.map((entry) => {
|
|
988
|
+
return de_QueueSummary(entry);
|
|
989
|
+
});
|
|
990
|
+
return retVal;
|
|
991
|
+
};
|
|
992
|
+
const de_QueueSummary = (output, context) => {
|
|
993
|
+
return smithyClient.take(output, {
|
|
994
|
+
arn: smithyClient.expectString,
|
|
995
|
+
clusterId: smithyClient.expectString,
|
|
996
|
+
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
997
|
+
id: smithyClient.expectString,
|
|
998
|
+
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
999
|
+
name: smithyClient.expectString,
|
|
1000
|
+
status: smithyClient.expectString,
|
|
1001
|
+
});
|
|
1002
|
+
};
|
|
1003
|
+
const de_UpdateClusterResponse = (output, context) => {
|
|
1004
|
+
return smithyClient.take(output, {
|
|
1005
|
+
cluster: (_) => de_Cluster(_),
|
|
1006
|
+
});
|
|
1007
|
+
};
|
|
1008
|
+
const de_UpdateComputeNodeGroupResponse = (output, context) => {
|
|
1009
|
+
return smithyClient.take(output, {
|
|
1010
|
+
computeNodeGroup: (_) => de_ComputeNodeGroup(_),
|
|
1011
|
+
});
|
|
1012
|
+
};
|
|
1013
|
+
const de_UpdateQueueResponse = (output, context) => {
|
|
1014
|
+
return smithyClient.take(output, {
|
|
1015
|
+
queue: (_) => de_Queue(_),
|
|
1016
|
+
});
|
|
1477
1017
|
};
|
|
1018
|
+
const deserializeMetadata = (output) => ({
|
|
1019
|
+
httpStatusCode: output.statusCode,
|
|
1020
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1021
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1022
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1023
|
+
});
|
|
1024
|
+
const throwDefaultError = smithyClient.withBaseException(PCSServiceException);
|
|
1025
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1026
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1027
|
+
const contents = {
|
|
1028
|
+
protocol,
|
|
1029
|
+
hostname,
|
|
1030
|
+
port,
|
|
1031
|
+
method: "POST",
|
|
1032
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1033
|
+
headers,
|
|
1034
|
+
};
|
|
1035
|
+
if (body !== undefined) {
|
|
1036
|
+
contents.body = body;
|
|
1037
|
+
}
|
|
1038
|
+
return new protocolHttp.HttpRequest(contents);
|
|
1039
|
+
};
|
|
1040
|
+
function sharedHeaders(operation) {
|
|
1041
|
+
return {
|
|
1042
|
+
"content-type": "application/x-amz-json-1.0",
|
|
1043
|
+
"x-amz-target": `AWSParallelComputingService.${operation}`,
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1478
1046
|
|
|
1479
|
-
|
|
1047
|
+
class CreateClusterCommand extends smithyClient.Command
|
|
1048
|
+
.classBuilder()
|
|
1049
|
+
.ep(commonParams)
|
|
1050
|
+
.m(function (Command, cs, config, o) {
|
|
1051
|
+
return [
|
|
1052
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1053
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1054
|
+
];
|
|
1055
|
+
})
|
|
1056
|
+
.s("AWSParallelComputingService", "CreateCluster", {})
|
|
1057
|
+
.n("PCSClient", "CreateClusterCommand")
|
|
1058
|
+
.f(void 0, void 0)
|
|
1059
|
+
.ser(se_CreateClusterCommand)
|
|
1060
|
+
.de(de_CreateClusterCommand)
|
|
1061
|
+
.build() {
|
|
1062
|
+
}
|
|
1480
1063
|
|
|
1064
|
+
class CreateComputeNodeGroupCommand extends smithyClient.Command
|
|
1065
|
+
.classBuilder()
|
|
1066
|
+
.ep(commonParams)
|
|
1067
|
+
.m(function (Command, cs, config, o) {
|
|
1068
|
+
return [
|
|
1069
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1070
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1071
|
+
];
|
|
1072
|
+
})
|
|
1073
|
+
.s("AWSParallelComputingService", "CreateComputeNodeGroup", {})
|
|
1074
|
+
.n("PCSClient", "CreateComputeNodeGroupCommand")
|
|
1075
|
+
.f(void 0, void 0)
|
|
1076
|
+
.ser(se_CreateComputeNodeGroupCommand)
|
|
1077
|
+
.de(de_CreateComputeNodeGroupCommand)
|
|
1078
|
+
.build() {
|
|
1079
|
+
}
|
|
1481
1080
|
|
|
1081
|
+
class CreateQueueCommand extends smithyClient.Command
|
|
1082
|
+
.classBuilder()
|
|
1083
|
+
.ep(commonParams)
|
|
1084
|
+
.m(function (Command, cs, config, o) {
|
|
1085
|
+
return [
|
|
1086
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1087
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1088
|
+
];
|
|
1089
|
+
})
|
|
1090
|
+
.s("AWSParallelComputingService", "CreateQueue", {})
|
|
1091
|
+
.n("PCSClient", "CreateQueueCommand")
|
|
1092
|
+
.f(void 0, void 0)
|
|
1093
|
+
.ser(se_CreateQueueCommand)
|
|
1094
|
+
.de(de_CreateQueueCommand)
|
|
1095
|
+
.build() {
|
|
1096
|
+
}
|
|
1482
1097
|
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
(
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
}
|
|
1098
|
+
class DeleteClusterCommand extends smithyClient.Command
|
|
1099
|
+
.classBuilder()
|
|
1100
|
+
.ep(commonParams)
|
|
1101
|
+
.m(function (Command, cs, config, o) {
|
|
1102
|
+
return [
|
|
1103
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1104
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1105
|
+
];
|
|
1106
|
+
})
|
|
1107
|
+
.s("AWSParallelComputingService", "DeleteCluster", {})
|
|
1108
|
+
.n("PCSClient", "DeleteClusterCommand")
|
|
1109
|
+
.f(void 0, void 0)
|
|
1110
|
+
.ser(se_DeleteClusterCommand)
|
|
1111
|
+
.de(de_DeleteClusterCommand)
|
|
1112
|
+
.build() {
|
|
1113
|
+
}
|
|
1493
1114
|
|
|
1494
|
-
|
|
1115
|
+
class DeleteComputeNodeGroupCommand extends smithyClient.Command
|
|
1116
|
+
.classBuilder()
|
|
1117
|
+
.ep(commonParams)
|
|
1118
|
+
.m(function (Command, cs, config, o) {
|
|
1119
|
+
return [
|
|
1120
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1121
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1122
|
+
];
|
|
1123
|
+
})
|
|
1124
|
+
.s("AWSParallelComputingService", "DeleteComputeNodeGroup", {})
|
|
1125
|
+
.n("PCSClient", "DeleteComputeNodeGroupCommand")
|
|
1126
|
+
.f(void 0, void 0)
|
|
1127
|
+
.ser(se_DeleteComputeNodeGroupCommand)
|
|
1128
|
+
.de(de_DeleteComputeNodeGroupCommand)
|
|
1129
|
+
.build() {
|
|
1130
|
+
}
|
|
1495
1131
|
|
|
1132
|
+
class DeleteQueueCommand extends smithyClient.Command
|
|
1133
|
+
.classBuilder()
|
|
1134
|
+
.ep(commonParams)
|
|
1135
|
+
.m(function (Command, cs, config, o) {
|
|
1136
|
+
return [
|
|
1137
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1138
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1139
|
+
];
|
|
1140
|
+
})
|
|
1141
|
+
.s("AWSParallelComputingService", "DeleteQueue", {})
|
|
1142
|
+
.n("PCSClient", "DeleteQueueCommand")
|
|
1143
|
+
.f(void 0, void 0)
|
|
1144
|
+
.ser(se_DeleteQueueCommand)
|
|
1145
|
+
.de(de_DeleteQueueCommand)
|
|
1146
|
+
.build() {
|
|
1147
|
+
}
|
|
1496
1148
|
|
|
1149
|
+
class GetClusterCommand extends smithyClient.Command
|
|
1150
|
+
.classBuilder()
|
|
1151
|
+
.ep(commonParams)
|
|
1152
|
+
.m(function (Command, cs, config, o) {
|
|
1153
|
+
return [
|
|
1154
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1155
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1156
|
+
];
|
|
1157
|
+
})
|
|
1158
|
+
.s("AWSParallelComputingService", "GetCluster", {})
|
|
1159
|
+
.n("PCSClient", "GetClusterCommand")
|
|
1160
|
+
.f(void 0, void 0)
|
|
1161
|
+
.ser(se_GetClusterCommand)
|
|
1162
|
+
.de(de_GetClusterCommand)
|
|
1163
|
+
.build() {
|
|
1164
|
+
}
|
|
1497
1165
|
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
(
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
}
|
|
1166
|
+
class GetComputeNodeGroupCommand extends smithyClient.Command
|
|
1167
|
+
.classBuilder()
|
|
1168
|
+
.ep(commonParams)
|
|
1169
|
+
.m(function (Command, cs, config, o) {
|
|
1170
|
+
return [
|
|
1171
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1172
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1173
|
+
];
|
|
1174
|
+
})
|
|
1175
|
+
.s("AWSParallelComputingService", "GetComputeNodeGroup", {})
|
|
1176
|
+
.n("PCSClient", "GetComputeNodeGroupCommand")
|
|
1177
|
+
.f(void 0, void 0)
|
|
1178
|
+
.ser(se_GetComputeNodeGroupCommand)
|
|
1179
|
+
.de(de_GetComputeNodeGroupCommand)
|
|
1180
|
+
.build() {
|
|
1181
|
+
}
|
|
1508
1182
|
|
|
1509
|
-
|
|
1183
|
+
class GetQueueCommand extends smithyClient.Command
|
|
1184
|
+
.classBuilder()
|
|
1185
|
+
.ep(commonParams)
|
|
1186
|
+
.m(function (Command, cs, config, o) {
|
|
1187
|
+
return [
|
|
1188
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1189
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1190
|
+
];
|
|
1191
|
+
})
|
|
1192
|
+
.s("AWSParallelComputingService", "GetQueue", {})
|
|
1193
|
+
.n("PCSClient", "GetQueueCommand")
|
|
1194
|
+
.f(void 0, void 0)
|
|
1195
|
+
.ser(se_GetQueueCommand)
|
|
1196
|
+
.de(de_GetQueueCommand)
|
|
1197
|
+
.build() {
|
|
1198
|
+
}
|
|
1510
1199
|
|
|
1200
|
+
class ListClustersCommand extends smithyClient.Command
|
|
1201
|
+
.classBuilder()
|
|
1202
|
+
.ep(commonParams)
|
|
1203
|
+
.m(function (Command, cs, config, o) {
|
|
1204
|
+
return [
|
|
1205
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1206
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1207
|
+
];
|
|
1208
|
+
})
|
|
1209
|
+
.s("AWSParallelComputingService", "ListClusters", {})
|
|
1210
|
+
.n("PCSClient", "ListClustersCommand")
|
|
1211
|
+
.f(void 0, void 0)
|
|
1212
|
+
.ser(se_ListClustersCommand)
|
|
1213
|
+
.de(de_ListClustersCommand)
|
|
1214
|
+
.build() {
|
|
1215
|
+
}
|
|
1511
1216
|
|
|
1217
|
+
class ListComputeNodeGroupsCommand extends smithyClient.Command
|
|
1218
|
+
.classBuilder()
|
|
1219
|
+
.ep(commonParams)
|
|
1220
|
+
.m(function (Command, cs, config, o) {
|
|
1221
|
+
return [
|
|
1222
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1223
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1224
|
+
];
|
|
1225
|
+
})
|
|
1226
|
+
.s("AWSParallelComputingService", "ListComputeNodeGroups", {})
|
|
1227
|
+
.n("PCSClient", "ListComputeNodeGroupsCommand")
|
|
1228
|
+
.f(void 0, void 0)
|
|
1229
|
+
.ser(se_ListComputeNodeGroupsCommand)
|
|
1230
|
+
.de(de_ListComputeNodeGroupsCommand)
|
|
1231
|
+
.build() {
|
|
1232
|
+
}
|
|
1512
1233
|
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
(
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
}
|
|
1234
|
+
class ListQueuesCommand extends smithyClient.Command
|
|
1235
|
+
.classBuilder()
|
|
1236
|
+
.ep(commonParams)
|
|
1237
|
+
.m(function (Command, cs, config, o) {
|
|
1238
|
+
return [
|
|
1239
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1240
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1241
|
+
];
|
|
1242
|
+
})
|
|
1243
|
+
.s("AWSParallelComputingService", "ListQueues", {})
|
|
1244
|
+
.n("PCSClient", "ListQueuesCommand")
|
|
1245
|
+
.f(void 0, void 0)
|
|
1246
|
+
.ser(se_ListQueuesCommand)
|
|
1247
|
+
.de(de_ListQueuesCommand)
|
|
1248
|
+
.build() {
|
|
1249
|
+
}
|
|
1523
1250
|
|
|
1524
|
-
|
|
1251
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1252
|
+
.classBuilder()
|
|
1253
|
+
.ep(commonParams)
|
|
1254
|
+
.m(function (Command, cs, config, o) {
|
|
1255
|
+
return [
|
|
1256
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1257
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1258
|
+
];
|
|
1259
|
+
})
|
|
1260
|
+
.s("AWSParallelComputingService", "ListTagsForResource", {})
|
|
1261
|
+
.n("PCSClient", "ListTagsForResourceCommand")
|
|
1262
|
+
.f(void 0, void 0)
|
|
1263
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1264
|
+
.de(de_ListTagsForResourceCommand)
|
|
1265
|
+
.build() {
|
|
1266
|
+
}
|
|
1525
1267
|
|
|
1268
|
+
class RegisterComputeNodeGroupInstanceCommand extends smithyClient.Command
|
|
1269
|
+
.classBuilder()
|
|
1270
|
+
.ep(commonParams)
|
|
1271
|
+
.m(function (Command, cs, config, o) {
|
|
1272
|
+
return [
|
|
1273
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1274
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1275
|
+
];
|
|
1276
|
+
})
|
|
1277
|
+
.s("AWSParallelComputingService", "RegisterComputeNodeGroupInstance", {})
|
|
1278
|
+
.n("PCSClient", "RegisterComputeNodeGroupInstanceCommand")
|
|
1279
|
+
.f(void 0, RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog)
|
|
1280
|
+
.ser(se_RegisterComputeNodeGroupInstanceCommand)
|
|
1281
|
+
.de(de_RegisterComputeNodeGroupInstanceCommand)
|
|
1282
|
+
.build() {
|
|
1283
|
+
}
|
|
1526
1284
|
|
|
1285
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1286
|
+
.classBuilder()
|
|
1287
|
+
.ep(commonParams)
|
|
1288
|
+
.m(function (Command, cs, config, o) {
|
|
1289
|
+
return [
|
|
1290
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1291
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1292
|
+
];
|
|
1293
|
+
})
|
|
1294
|
+
.s("AWSParallelComputingService", "TagResource", {})
|
|
1295
|
+
.n("PCSClient", "TagResourceCommand")
|
|
1296
|
+
.f(void 0, void 0)
|
|
1297
|
+
.ser(se_TagResourceCommand)
|
|
1298
|
+
.de(de_TagResourceCommand)
|
|
1299
|
+
.build() {
|
|
1300
|
+
}
|
|
1527
1301
|
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
(
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
}
|
|
1302
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1303
|
+
.classBuilder()
|
|
1304
|
+
.ep(commonParams)
|
|
1305
|
+
.m(function (Command, cs, config, o) {
|
|
1306
|
+
return [
|
|
1307
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1308
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1309
|
+
];
|
|
1310
|
+
})
|
|
1311
|
+
.s("AWSParallelComputingService", "UntagResource", {})
|
|
1312
|
+
.n("PCSClient", "UntagResourceCommand")
|
|
1313
|
+
.f(void 0, void 0)
|
|
1314
|
+
.ser(se_UntagResourceCommand)
|
|
1315
|
+
.de(de_UntagResourceCommand)
|
|
1316
|
+
.build() {
|
|
1317
|
+
}
|
|
1538
1318
|
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
TagResourceCommand,
|
|
1556
|
-
UntagResourceCommand,
|
|
1557
|
-
UpdateClusterCommand,
|
|
1558
|
-
UpdateComputeNodeGroupCommand,
|
|
1559
|
-
UpdateQueueCommand
|
|
1560
|
-
};
|
|
1561
|
-
var PCS = class extends PCSClient {
|
|
1562
|
-
static {
|
|
1563
|
-
__name(this, "PCS");
|
|
1564
|
-
}
|
|
1565
|
-
};
|
|
1566
|
-
(0, import_smithy_client.createAggregatedClient)(commands, PCS);
|
|
1319
|
+
class UpdateClusterCommand extends smithyClient.Command
|
|
1320
|
+
.classBuilder()
|
|
1321
|
+
.ep(commonParams)
|
|
1322
|
+
.m(function (Command, cs, config, o) {
|
|
1323
|
+
return [
|
|
1324
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1325
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1326
|
+
];
|
|
1327
|
+
})
|
|
1328
|
+
.s("AWSParallelComputingService", "UpdateCluster", {})
|
|
1329
|
+
.n("PCSClient", "UpdateClusterCommand")
|
|
1330
|
+
.f(void 0, void 0)
|
|
1331
|
+
.ser(se_UpdateClusterCommand)
|
|
1332
|
+
.de(de_UpdateClusterCommand)
|
|
1333
|
+
.build() {
|
|
1334
|
+
}
|
|
1567
1335
|
|
|
1568
|
-
|
|
1336
|
+
class UpdateComputeNodeGroupCommand extends smithyClient.Command
|
|
1337
|
+
.classBuilder()
|
|
1338
|
+
.ep(commonParams)
|
|
1339
|
+
.m(function (Command, cs, config, o) {
|
|
1340
|
+
return [
|
|
1341
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1342
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1343
|
+
];
|
|
1344
|
+
})
|
|
1345
|
+
.s("AWSParallelComputingService", "UpdateComputeNodeGroup", {})
|
|
1346
|
+
.n("PCSClient", "UpdateComputeNodeGroupCommand")
|
|
1347
|
+
.f(void 0, void 0)
|
|
1348
|
+
.ser(se_UpdateComputeNodeGroupCommand)
|
|
1349
|
+
.de(de_UpdateComputeNodeGroupCommand)
|
|
1350
|
+
.build() {
|
|
1351
|
+
}
|
|
1569
1352
|
|
|
1570
|
-
|
|
1353
|
+
class UpdateQueueCommand extends smithyClient.Command
|
|
1354
|
+
.classBuilder()
|
|
1355
|
+
.ep(commonParams)
|
|
1356
|
+
.m(function (Command, cs, config, o) {
|
|
1357
|
+
return [
|
|
1358
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1359
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1360
|
+
];
|
|
1361
|
+
})
|
|
1362
|
+
.s("AWSParallelComputingService", "UpdateQueue", {})
|
|
1363
|
+
.n("PCSClient", "UpdateQueueCommand")
|
|
1364
|
+
.f(void 0, void 0)
|
|
1365
|
+
.ser(se_UpdateQueueCommand)
|
|
1366
|
+
.de(de_UpdateQueueCommand)
|
|
1367
|
+
.build() {
|
|
1368
|
+
}
|
|
1571
1369
|
|
|
1572
|
-
|
|
1370
|
+
const commands = {
|
|
1371
|
+
CreateClusterCommand,
|
|
1372
|
+
CreateComputeNodeGroupCommand,
|
|
1373
|
+
CreateQueueCommand,
|
|
1374
|
+
DeleteClusterCommand,
|
|
1375
|
+
DeleteComputeNodeGroupCommand,
|
|
1376
|
+
DeleteQueueCommand,
|
|
1377
|
+
GetClusterCommand,
|
|
1378
|
+
GetComputeNodeGroupCommand,
|
|
1379
|
+
GetQueueCommand,
|
|
1380
|
+
ListClustersCommand,
|
|
1381
|
+
ListComputeNodeGroupsCommand,
|
|
1382
|
+
ListQueuesCommand,
|
|
1383
|
+
ListTagsForResourceCommand,
|
|
1384
|
+
RegisterComputeNodeGroupInstanceCommand,
|
|
1385
|
+
TagResourceCommand,
|
|
1386
|
+
UntagResourceCommand,
|
|
1387
|
+
UpdateClusterCommand,
|
|
1388
|
+
UpdateComputeNodeGroupCommand,
|
|
1389
|
+
UpdateQueueCommand,
|
|
1390
|
+
};
|
|
1391
|
+
class PCS extends PCSClient {
|
|
1392
|
+
}
|
|
1393
|
+
smithyClient.createAggregatedClient(commands, PCS);
|
|
1573
1394
|
|
|
1574
|
-
|
|
1395
|
+
const paginateListClusters = core.createPaginator(PCSClient, ListClustersCommand, "nextToken", "nextToken", "maxResults");
|
|
1575
1396
|
|
|
1576
|
-
|
|
1397
|
+
const paginateListComputeNodeGroups = core.createPaginator(PCSClient, ListComputeNodeGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
1577
1398
|
|
|
1578
|
-
|
|
1579
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1399
|
+
const paginateListQueues = core.createPaginator(PCSClient, ListQueuesCommand, "nextToken", "nextToken", "maxResults");
|
|
1580
1400
|
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
PCSClient,
|
|
1585
|
-
PCS,
|
|
1586
|
-
$Command,
|
|
1587
|
-
CreateClusterCommand,
|
|
1588
|
-
CreateComputeNodeGroupCommand,
|
|
1589
|
-
CreateQueueCommand,
|
|
1590
|
-
DeleteClusterCommand,
|
|
1591
|
-
DeleteComputeNodeGroupCommand,
|
|
1592
|
-
DeleteQueueCommand,
|
|
1593
|
-
GetClusterCommand,
|
|
1594
|
-
GetComputeNodeGroupCommand,
|
|
1595
|
-
GetQueueCommand,
|
|
1596
|
-
ListClustersCommand,
|
|
1597
|
-
ListComputeNodeGroupsCommand,
|
|
1598
|
-
ListQueuesCommand,
|
|
1599
|
-
ListTagsForResourceCommand,
|
|
1600
|
-
RegisterComputeNodeGroupInstanceCommand,
|
|
1601
|
-
TagResourceCommand,
|
|
1602
|
-
UntagResourceCommand,
|
|
1603
|
-
UpdateClusterCommand,
|
|
1604
|
-
UpdateComputeNodeGroupCommand,
|
|
1605
|
-
UpdateQueueCommand,
|
|
1606
|
-
paginateListClusters,
|
|
1607
|
-
paginateListComputeNodeGroups,
|
|
1608
|
-
paginateListQueues,
|
|
1609
|
-
AccessDeniedException,
|
|
1610
|
-
AccountingMode,
|
|
1611
|
-
ConflictException,
|
|
1612
|
-
PurchaseOption,
|
|
1613
|
-
SpotAllocationStrategy,
|
|
1614
|
-
ComputeNodeGroupStatus,
|
|
1615
|
-
InternalServerException,
|
|
1616
|
-
ResourceNotFoundException,
|
|
1617
|
-
ServiceQuotaExceededException,
|
|
1618
|
-
ThrottlingException,
|
|
1619
|
-
ValidationExceptionReason,
|
|
1620
|
-
ValidationException,
|
|
1621
|
-
NetworkType,
|
|
1622
|
-
SchedulerType,
|
|
1623
|
-
Size,
|
|
1624
|
-
EndpointType,
|
|
1625
|
-
ClusterStatus,
|
|
1626
|
-
QueueStatus,
|
|
1627
|
-
RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog
|
|
1401
|
+
Object.defineProperty(exports, "$Command", {
|
|
1402
|
+
enumerable: true,
|
|
1403
|
+
get: function () { return smithyClient.Command; }
|
|
1628
1404
|
});
|
|
1629
|
-
|
|
1405
|
+
Object.defineProperty(exports, "__Client", {
|
|
1406
|
+
enumerable: true,
|
|
1407
|
+
get: function () { return smithyClient.Client; }
|
|
1408
|
+
});
|
|
1409
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1410
|
+
exports.AccountingMode = AccountingMode;
|
|
1411
|
+
exports.ClusterStatus = ClusterStatus;
|
|
1412
|
+
exports.ComputeNodeGroupStatus = ComputeNodeGroupStatus;
|
|
1413
|
+
exports.ConflictException = ConflictException;
|
|
1414
|
+
exports.CreateClusterCommand = CreateClusterCommand;
|
|
1415
|
+
exports.CreateComputeNodeGroupCommand = CreateComputeNodeGroupCommand;
|
|
1416
|
+
exports.CreateQueueCommand = CreateQueueCommand;
|
|
1417
|
+
exports.DeleteClusterCommand = DeleteClusterCommand;
|
|
1418
|
+
exports.DeleteComputeNodeGroupCommand = DeleteComputeNodeGroupCommand;
|
|
1419
|
+
exports.DeleteQueueCommand = DeleteQueueCommand;
|
|
1420
|
+
exports.EndpointType = EndpointType;
|
|
1421
|
+
exports.GetClusterCommand = GetClusterCommand;
|
|
1422
|
+
exports.GetComputeNodeGroupCommand = GetComputeNodeGroupCommand;
|
|
1423
|
+
exports.GetQueueCommand = GetQueueCommand;
|
|
1424
|
+
exports.InternalServerException = InternalServerException;
|
|
1425
|
+
exports.ListClustersCommand = ListClustersCommand;
|
|
1426
|
+
exports.ListComputeNodeGroupsCommand = ListComputeNodeGroupsCommand;
|
|
1427
|
+
exports.ListQueuesCommand = ListQueuesCommand;
|
|
1428
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1429
|
+
exports.NetworkType = NetworkType;
|
|
1430
|
+
exports.PCS = PCS;
|
|
1431
|
+
exports.PCSClient = PCSClient;
|
|
1432
|
+
exports.PCSServiceException = PCSServiceException;
|
|
1433
|
+
exports.PurchaseOption = PurchaseOption;
|
|
1434
|
+
exports.QueueStatus = QueueStatus;
|
|
1435
|
+
exports.RegisterComputeNodeGroupInstanceCommand = RegisterComputeNodeGroupInstanceCommand;
|
|
1436
|
+
exports.RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog = RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog;
|
|
1437
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1438
|
+
exports.SchedulerType = SchedulerType;
|
|
1439
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1440
|
+
exports.Size = Size;
|
|
1441
|
+
exports.SpotAllocationStrategy = SpotAllocationStrategy;
|
|
1442
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1443
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1444
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1445
|
+
exports.UpdateClusterCommand = UpdateClusterCommand;
|
|
1446
|
+
exports.UpdateComputeNodeGroupCommand = UpdateComputeNodeGroupCommand;
|
|
1447
|
+
exports.UpdateQueueCommand = UpdateQueueCommand;
|
|
1448
|
+
exports.ValidationException = ValidationException;
|
|
1449
|
+
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1450
|
+
exports.paginateListClusters = paginateListClusters;
|
|
1451
|
+
exports.paginateListComputeNodeGroups = paginateListComputeNodeGroups;
|
|
1452
|
+
exports.paginateListQueues = paginateListQueues;
|