/var/runtime/node_modules/@aws-sdk/client-pcs/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, { AccessDeniedException: () => AccessDeniedException, AccountingMode: () => AccountingMode, ClusterStatus: () => ClusterStatus, ComputeNodeGroupStatus: () => ComputeNodeGroupStatus, ConflictException: () => ConflictException, CreateClusterCommand: () => CreateClusterCommand, CreateComputeNodeGroupCommand: () => CreateComputeNodeGroupCommand, CreateQueueCommand: () => CreateQueueCommand, DeleteClusterCommand: () => DeleteClusterCommand, DeleteComputeNodeGroupCommand: () => DeleteComputeNodeGroupCommand, DeleteQueueCommand: () => DeleteQueueCommand, EndpointType: () => EndpointType, GetClusterCommand: () => GetClusterCommand, GetComputeNodeGroupCommand: () => GetComputeNodeGroupCommand, GetQueueCommand: () => GetQueueCommand, InternalServerException: () => InternalServerException, ListClustersCommand: () => ListClustersCommand, ListComputeNodeGroupsCommand: () => ListComputeNodeGroupsCommand, ListQueuesCommand: () => ListQueuesCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, NetworkType: () => NetworkType, PCS: () => PCS, PCSClient: () => PCSClient, PCSServiceException: () => PCSServiceException, PurchaseOption: () => PurchaseOption, QueueStatus: () => QueueStatus, RegisterComputeNodeGroupInstanceCommand: () => RegisterComputeNodeGroupInstanceCommand, RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog: () => RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog, ResourceNotFoundException: () => ResourceNotFoundException, SchedulerType: () => SchedulerType, ServiceQuotaExceededException: () => ServiceQuotaExceededException, Size: () => Size, SpotAllocationStrategy: () => SpotAllocationStrategy, TagResourceCommand: () => TagResourceCommand, ThrottlingException: () => ThrottlingException, UntagResourceCommand: () => UntagResourceCommand, UpdateComputeNodeGroupCommand: () => UpdateComputeNodeGroupCommand, UpdateQueueCommand: () => UpdateQueueCommand, ValidationException: () => ValidationException, ValidationExceptionReason: () => ValidationExceptionReason, __Client: () => import_smithy_client.Client, paginateListClusters: () => paginateListClusters, paginateListComputeNodeGroups: () => paginateListComputeNodeGroups, paginateListQueues: () => paginateListQueues});module.exports = __toCommonJS(index_exports); // src/PCSClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "pcs" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/PCSClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; } };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = Object.assign( (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig) ); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign( runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration) );}, "resolveRuntimeExtensions"); // src/PCSClient.tsvar PCSClient = class extends import_smithy_client.Client { static { __name(this, "PCSClient"); } /** * The resolved configuration of PCSClient class. This is resolved and normalized from the {@link PCSClientConfig | constructor configuration interface}. */ config; constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); this.middlewareStack.use( (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultPCSHttpAuthSchemeParametersProvider, identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }), "identityProviderConfigProvider") }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); }}; // src/PCS.ts // src/commands/CreateClusterCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_json1_0.tsvar import_core2 = require("@aws-sdk/core"); var import_uuid = require("uuid"); // src/models/models_0.ts // src/models/PCSServiceException.ts var PCSServiceException = class _PCSServiceException extends import_smithy_client.ServiceException { static { __name(this, "PCSServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _PCSServiceException.prototype); }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends PCSServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); }};var AccountingMode = { NONE: "NONE", STANDARD: "STANDARD"};var ConflictException = class _ConflictException extends PCSServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; /** * <p> The unique identifier of the resource that caused the conflict exception. </p> * @public */ resourceId; /** * <p> The type or category of the resource that caused the conflict exception." </p> * @public */ resourceType; /** * @internal */ constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); this.resourceId = opts.resourceId; this.resourceType = opts.resourceType; }};var PurchaseOption = { CAPACITY_BLOCK: "CAPACITY_BLOCK", ONDEMAND: "ONDEMAND", SPOT: "SPOT"};var SpotAllocationStrategy = { CAPACITY_OPTIMIZED: "capacity-optimized", LOWEST_PRICE: "lowest-price", PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized"};var ComputeNodeGroupStatus = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETED: "DELETED", DELETE_FAILED: "DELETE_FAILED", DELETING: "DELETING", SUSPENDED: "SUSPENDED", SUSPENDING: "SUSPENDING", UPDATE_FAILED: "UPDATE_FAILED", UPDATING: "UPDATING"};var InternalServerException = class _InternalServerException extends PCSServiceException { static { __name(this, "InternalServerException"); } name = "InternalServerException"; $fault = "server"; $retryable = {}; /** * @internal */ constructor(opts) { super({ name: "InternalServerException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServerException.prototype); }};var ResourceNotFoundException = class _ResourceNotFoundException extends PCSServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; /** * <p> The unique identifier of the resource that was not found. </p> * @public */ resourceId; /** * <p> The type or category of the resource that was not found. </p> * @public */ resourceType; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.resourceId = opts.resourceId; this.resourceType = opts.resourceType; }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends PCSServiceException { static { __name(this, "ServiceQuotaExceededException"); } name = "ServiceQuotaExceededException"; $fault = "client"; /** * <p> The service code associated with the quota that was exceeded. </p> * @public */ serviceCode; /** * <p> The unique identifier of the resource that caused the quota to be exceeded. </p> * @public */ resourceId; /** * <p> The type or category of the resource that caused the quota to be exceeded. </p> * @public */ resourceType; /** * <p> The <b>quota code</b> of the service quota that was exceeded. </p> * @public */ quotaCode; /** * @internal */ constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); this.serviceCode = opts.serviceCode; this.resourceId = opts.resourceId; this.resourceType = opts.resourceType; this.quotaCode = opts.quotaCode; }};var ThrottlingException = class _ThrottlingException extends PCSServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; $retryable = {}; /** * <p> The number of seconds to wait before retrying the request. </p> * @public */ retryAfterSeconds; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); this.retryAfterSeconds = opts.retryAfterSeconds; }};var ValidationExceptionReason = { CANNOT_PARSE: "cannotParse", FIELD_VALIDATION_FAILED: "fieldValidationFailed", OTHER: "other", UNKNOWN_OPERATION: "unknownOperation"};var ValidationException = class _ValidationException extends PCSServiceException { static { __name(this, "ValidationException"); } name = "ValidationException"; $fault = "client"; /** * <p> The specific reason or cause of the validation error. </p> * @public */ reason; /** * <p> A list of fields or properties that failed validation. </p> * @public */ fieldList; /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ValidationException.prototype); this.reason = opts.reason; this.fieldList = opts.fieldList; }};var NetworkType = { IPV4: "IPV4", IPV6: "IPV6"};var SchedulerType = { SLURM: "SLURM"};var Size = { LARGE: "LARGE", MEDIUM: "MEDIUM", SMALL: "SMALL"};var EndpointType = { SLURMCTLD: "SLURMCTLD", SLURMDBD: "SLURMDBD"};var ClusterStatus = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETE_FAILED: "DELETE_FAILED", DELETING: "DELETING", SUSPENDED: "SUSPENDED", SUSPENDING: "SUSPENDING", UPDATE_FAILED: "UPDATE_FAILED", UPDATING: "UPDATING"};var QueueStatus = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATING: "CREATING", DELETE_FAILED: "DELETE_FAILED", DELETING: "DELETING", SUSPENDED: "SUSPENDED", SUSPENDING: "SUSPENDING", UPDATE_FAILED: "UPDATE_FAILED", UPDATING: "UPDATING"};var RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.sharedSecret && { sharedSecret: import_smithy_client.SENSITIVE_STRING }}), "RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog"); // src/protocols/Aws_json1_0.tsvar se_CreateClusterCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateCluster"); let body; body = JSON.stringify(se_CreateClusterRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateClusterCommand");var se_CreateComputeNodeGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateComputeNodeGroup"); let body; body = JSON.stringify(se_CreateComputeNodeGroupRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateComputeNodeGroupCommand");var se_CreateQueueCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateQueue"); let body; body = JSON.stringify(se_CreateQueueRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateQueueCommand");var se_DeleteClusterCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteCluster"); let body; body = JSON.stringify(se_DeleteClusterRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteClusterCommand");var se_DeleteComputeNodeGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteComputeNodeGroup"); let body; body = JSON.stringify(se_DeleteComputeNodeGroupRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteComputeNodeGroupCommand");var se_DeleteQueueCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteQueue"); let body; body = JSON.stringify(se_DeleteQueueRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteQueueCommand");var se_GetClusterCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetCluster"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetClusterCommand");var se_GetComputeNodeGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetComputeNodeGroup"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetComputeNodeGroupCommand");var se_GetQueueCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetQueue"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetQueueCommand");var se_ListClustersCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListClusters"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListClustersCommand");var se_ListComputeNodeGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListComputeNodeGroups"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListComputeNodeGroupsCommand");var se_ListQueuesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListQueues"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListQueuesCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListTagsForResource"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTagsForResourceCommand");var se_RegisterComputeNodeGroupInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("RegisterComputeNodeGroupInstance"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_RegisterComputeNodeGroupInstanceCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("TagResource"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UntagResource"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UntagResourceCommand");var se_UpdateComputeNodeGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateComputeNodeGroup"); let body; body = JSON.stringify(se_UpdateComputeNodeGroupRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateComputeNodeGroupCommand");var se_UpdateQueueCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateQueue"); let body; body = JSON.stringify(se_UpdateQueueRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateQueueCommand");var de_CreateClusterCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_CreateClusterResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateClusterCommand");var de_CreateComputeNodeGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_CreateComputeNodeGroupResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateComputeNodeGroupCommand");var de_CreateQueueCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_CreateQueueResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateQueueCommand");var de_DeleteClusterCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteClusterCommand");var de_DeleteComputeNodeGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteComputeNodeGroupCommand");var de_DeleteQueueCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteQueueCommand");var de_GetClusterCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetClusterResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetClusterCommand");var de_GetComputeNodeGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetComputeNodeGroupResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetComputeNodeGroupCommand");var de_GetQueueCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetQueueResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetQueueCommand");var de_ListClustersCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListClustersResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListClustersCommand");var de_ListComputeNodeGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListComputeNodeGroupsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListComputeNodeGroupsCommand");var de_ListQueuesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListQueuesResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListQueuesCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListTagsForResourceCommand");var de_RegisterComputeNodeGroupInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_RegisterComputeNodeGroupInstanceCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } await (0, import_smithy_client.collectBody)(output.body, context); const response = { $metadata: deserializeMetadata(output) }; return response;}, "de_UntagResourceCommand");var de_UpdateComputeNodeGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_UpdateComputeNodeGroupResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateComputeNodeGroupCommand");var de_UpdateQueueCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_UpdateQueueResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateQueueCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { const parsedOutput = { ...output, body: await (0, import_core2.parseJsonErrorBody)(output.body, context) }; const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); switch (errorCode) { case "AccessDeniedException": case "com.amazonaws.pcs#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.pcs#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "InternalServerException": case "com.amazonaws.pcs#InternalServerException": throw await de_InternalServerExceptionRes(parsedOutput, context); case "ServiceQuotaExceededException": case "com.amazonaws.pcs#ServiceQuotaExceededException": throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); case "ThrottlingException": case "com.amazonaws.pcs#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.pcs#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.pcs#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccessDeniedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccessDeniedExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ConflictException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConflictExceptionRes");var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InternalServerException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InternalServerExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceNotFoundExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ServiceQuotaExceededException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ServiceQuotaExceededExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ThrottlingException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ThrottlingExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ValidationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ValidationExceptionRes");var se_CreateClusterRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], clusterName: [], networking: import_smithy_client._json, scheduler: import_smithy_client._json, size: [], slurmConfiguration: import_smithy_client._json, tags: import_smithy_client._json });}, "se_CreateClusterRequest");var se_CreateComputeNodeGroupRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { amiId: [], clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], clusterIdentifier: [], computeNodeGroupName: [], customLaunchTemplate: import_smithy_client._json, iamInstanceProfileArn: [], instanceConfigs: import_smithy_client._json, purchaseOption: [], scalingConfiguration: import_smithy_client._json, slurmConfiguration: import_smithy_client._json, spotOptions: import_smithy_client._json, subnetIds: import_smithy_client._json, tags: import_smithy_client._json });}, "se_CreateComputeNodeGroupRequest");var se_CreateQueueRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], clusterIdentifier: [], computeNodeGroupConfigurations: import_smithy_client._json, queueName: [], tags: import_smithy_client._json });}, "se_CreateQueueRequest");var se_DeleteClusterRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], clusterIdentifier: [] });}, "se_DeleteClusterRequest");var se_DeleteComputeNodeGroupRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], clusterIdentifier: [], computeNodeGroupIdentifier: [] });}, "se_DeleteComputeNodeGroupRequest");var se_DeleteQueueRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], clusterIdentifier: [], queueIdentifier: [] });}, "se_DeleteQueueRequest");var se_UpdateComputeNodeGroupRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { amiId: [], clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], clusterIdentifier: [], computeNodeGroupIdentifier: [], customLaunchTemplate: import_smithy_client._json, iamInstanceProfileArn: [], purchaseOption: [], scalingConfiguration: import_smithy_client._json, slurmConfiguration: import_smithy_client._json, spotOptions: import_smithy_client._json, subnetIds: import_smithy_client._json });}, "se_UpdateComputeNodeGroupRequest");var se_UpdateQueueRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], clusterIdentifier: [], computeNodeGroupConfigurations: import_smithy_client._json, queueIdentifier: [] });}, "se_UpdateQueueRequest");var de_Cluster = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { arn: import_smithy_client.expectString, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), endpoints: import_smithy_client._json, errorInfo: import_smithy_client._json, id: import_smithy_client.expectString, modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"), name: import_smithy_client.expectString, networking: import_smithy_client._json, scheduler: import_smithy_client._json, size: import_smithy_client.expectString, slurmConfiguration: import_smithy_client._json, status: import_smithy_client.expectString });}, "de_Cluster");var de_ClusterList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ClusterSummary(entry, context); }); return retVal;}, "de_ClusterList");var de_ClusterSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { arn: import_smithy_client.expectString, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), id: import_smithy_client.expectString, modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"), name: import_smithy_client.expectString, status: import_smithy_client.expectString });}, "de_ClusterSummary");var de_ComputeNodeGroup = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { amiId: import_smithy_client.expectString, arn: import_smithy_client.expectString, clusterId: import_smithy_client.expectString, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), customLaunchTemplate: import_smithy_client._json, errorInfo: import_smithy_client._json, iamInstanceProfileArn: import_smithy_client.expectString, id: import_smithy_client.expectString, instanceConfigs: import_smithy_client._json, modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"), name: import_smithy_client.expectString, purchaseOption: import_smithy_client.expectString, scalingConfiguration: import_smithy_client._json, slurmConfiguration: import_smithy_client._json, spotOptions: import_smithy_client._json, status: import_smithy_client.expectString, subnetIds: import_smithy_client._json });}, "de_ComputeNodeGroup");var de_ComputeNodeGroupList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ComputeNodeGroupSummary(entry, context); }); return retVal;}, "de_ComputeNodeGroupList");var de_ComputeNodeGroupSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { arn: import_smithy_client.expectString, clusterId: import_smithy_client.expectString, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), id: import_smithy_client.expectString, modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"), name: import_smithy_client.expectString, status: import_smithy_client.expectString });}, "de_ComputeNodeGroupSummary");var de_CreateClusterResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "cluster") });}, "de_CreateClusterResponse");var de_CreateComputeNodeGroupResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { computeNodeGroup: /* @__PURE__ */ __name((_) => de_ComputeNodeGroup(_, context), "computeNodeGroup") });}, "de_CreateComputeNodeGroupResponse");var de_CreateQueueResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { queue: /* @__PURE__ */ __name((_) => de_Queue(_, context), "queue") });}, "de_CreateQueueResponse");var de_GetClusterResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { cluster: /* @__PURE__ */ __name((_) => de_Cluster(_, context), "cluster") });}, "de_GetClusterResponse");var de_GetComputeNodeGroupResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { computeNodeGroup: /* @__PURE__ */ __name((_) => de_ComputeNodeGroup(_, context), "computeNodeGroup") });}, "de_GetComputeNodeGroupResponse");var de_GetQueueResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { queue: /* @__PURE__ */ __name((_) => de_Queue(_, context), "queue") });}, "de_GetQueueResponse");var de_ListClustersResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { clusters: /* @__PURE__ */ __name((_) => de_ClusterList(_, context), "clusters"), nextToken: import_smithy_client.expectString });}, "de_ListClustersResponse");var de_ListComputeNodeGroupsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { computeNodeGroups: /* @__PURE__ */ __name((_) => de_ComputeNodeGroupList(_, context), "computeNodeGroups"), nextToken: import_smithy_client.expectString });}, "de_ListComputeNodeGroupsResponse");var de_ListQueuesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { nextToken: import_smithy_client.expectString, queues: /* @__PURE__ */ __name((_) => de_QueueList(_, context), "queues") });}, "de_ListQueuesResponse");var de_Queue = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { arn: import_smithy_client.expectString, clusterId: import_smithy_client.expectString, computeNodeGroupConfigurations: import_smithy_client._json, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), errorInfo: import_smithy_client._json, id: import_smithy_client.expectString, modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"), name: import_smithy_client.expectString, status: import_smithy_client.expectString });}, "de_Queue");var de_QueueList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_QueueSummary(entry, context); }); return retVal;}, "de_QueueList");var de_QueueSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { arn: import_smithy_client.expectString, clusterId: import_smithy_client.expectString, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), id: import_smithy_client.expectString, modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"), name: import_smithy_client.expectString, status: import_smithy_client.expectString });}, "de_QueueSummary");var de_UpdateComputeNodeGroupResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { computeNodeGroup: /* @__PURE__ */ __name((_) => de_ComputeNodeGroup(_, context), "computeNodeGroup") });}, "de_UpdateComputeNodeGroupResponse");var de_UpdateQueueResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { queue: /* @__PURE__ */ __name((_) => de_Queue(_, context), "queue") });}, "de_UpdateQueueResponse");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ httpStatusCode: output.statusCode, requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], extendedRequestId: output.headers["x-amz-id-2"], cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata");var throwDefaultError = (0, import_smithy_client.withBaseException)(PCSServiceException);var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => { const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); const contents = { protocol, hostname, port, method: "POST", path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, headers }; if (resolvedHostname !== void 0) { contents.hostname = resolvedHostname; } if (body !== void 0) { contents.body = body; } return new import_protocol_http.HttpRequest(contents);}, "buildHttpRpcRequest");function sharedHeaders(operation) { return { "content-type": "application/x-amz-json-1.0", "x-amz-target": `AWSParallelComputingService.${operation}` };}__name(sharedHeaders, "sharedHeaders"); // src/commands/CreateClusterCommand.tsvar CreateClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "CreateCluster", {}).n("PCSClient", "CreateClusterCommand").f(void 0, void 0).ser(se_CreateClusterCommand).de(de_CreateClusterCommand).build() { static { __name(this, "CreateClusterCommand"); }}; // src/commands/CreateComputeNodeGroupCommand.ts var CreateComputeNodeGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "CreateComputeNodeGroup", {}).n("PCSClient", "CreateComputeNodeGroupCommand").f(void 0, void 0).ser(se_CreateComputeNodeGroupCommand).de(de_CreateComputeNodeGroupCommand).build() { static { __name(this, "CreateComputeNodeGroupCommand"); }}; // src/commands/CreateQueueCommand.ts var CreateQueueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "CreateQueue", {}).n("PCSClient", "CreateQueueCommand").f(void 0, void 0).ser(se_CreateQueueCommand).de(de_CreateQueueCommand).build() { static { __name(this, "CreateQueueCommand"); }}; // src/commands/DeleteClusterCommand.ts var DeleteClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "DeleteCluster", {}).n("PCSClient", "DeleteClusterCommand").f(void 0, void 0).ser(se_DeleteClusterCommand).de(de_DeleteClusterCommand).build() { static { __name(this, "DeleteClusterCommand"); }}; // src/commands/DeleteComputeNodeGroupCommand.ts var DeleteComputeNodeGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "DeleteComputeNodeGroup", {}).n("PCSClient", "DeleteComputeNodeGroupCommand").f(void 0, void 0).ser(se_DeleteComputeNodeGroupCommand).de(de_DeleteComputeNodeGroupCommand).build() { static { __name(this, "DeleteComputeNodeGroupCommand"); }}; // src/commands/DeleteQueueCommand.ts var DeleteQueueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "DeleteQueue", {}).n("PCSClient", "DeleteQueueCommand").f(void 0, void 0).ser(se_DeleteQueueCommand).de(de_DeleteQueueCommand).build() { static { __name(this, "DeleteQueueCommand"); }}; // src/commands/GetClusterCommand.ts var GetClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "GetCluster", {}).n("PCSClient", "GetClusterCommand").f(void 0, void 0).ser(se_GetClusterCommand).de(de_GetClusterCommand).build() { static { __name(this, "GetClusterCommand"); }}; // src/commands/GetComputeNodeGroupCommand.ts var GetComputeNodeGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "GetComputeNodeGroup", {}).n("PCSClient", "GetComputeNodeGroupCommand").f(void 0, void 0).ser(se_GetComputeNodeGroupCommand).de(de_GetComputeNodeGroupCommand).build() { static { __name(this, "GetComputeNodeGroupCommand"); }}; // src/commands/GetQueueCommand.ts var GetQueueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "GetQueue", {}).n("PCSClient", "GetQueueCommand").f(void 0, void 0).ser(se_GetQueueCommand).de(de_GetQueueCommand).build() { static { __name(this, "GetQueueCommand"); }}; // src/commands/ListClustersCommand.ts var ListClustersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "ListClusters", {}).n("PCSClient", "ListClustersCommand").f(void 0, void 0).ser(se_ListClustersCommand).de(de_ListClustersCommand).build() { static { __name(this, "ListClustersCommand"); }}; // src/commands/ListComputeNodeGroupsCommand.ts var ListComputeNodeGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "ListComputeNodeGroups", {}).n("PCSClient", "ListComputeNodeGroupsCommand").f(void 0, void 0).ser(se_ListComputeNodeGroupsCommand).de(de_ListComputeNodeGroupsCommand).build() { static { __name(this, "ListComputeNodeGroupsCommand"); }}; // src/commands/ListQueuesCommand.ts var ListQueuesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "ListQueues", {}).n("PCSClient", "ListQueuesCommand").f(void 0, void 0).ser(se_ListQueuesCommand).de(de_ListQueuesCommand).build() { static { __name(this, "ListQueuesCommand"); }}; // src/commands/ListTagsForResourceCommand.ts var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "ListTagsForResource", {}).n("PCSClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/RegisterComputeNodeGroupInstanceCommand.ts var RegisterComputeNodeGroupInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "RegisterComputeNodeGroupInstance", {}).n("PCSClient", "RegisterComputeNodeGroupInstanceCommand").f(void 0, RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog).ser(se_RegisterComputeNodeGroupInstanceCommand).de(de_RegisterComputeNodeGroupInstanceCommand).build() { static { __name(this, "RegisterComputeNodeGroupInstanceCommand"); }}; // src/commands/TagResourceCommand.ts var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "TagResource", {}).n("PCSClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/UntagResourceCommand.ts var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "UntagResource", {}).n("PCSClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateComputeNodeGroupCommand.ts var UpdateComputeNodeGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "UpdateComputeNodeGroup", {}).n("PCSClient", "UpdateComputeNodeGroupCommand").f(void 0, void 0).ser(se_UpdateComputeNodeGroupCommand).de(de_UpdateComputeNodeGroupCommand).build() { static { __name(this, "UpdateComputeNodeGroupCommand"); }}; // src/commands/UpdateQueueCommand.ts var UpdateQueueCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSParallelComputingService", "UpdateQueue", {}).n("PCSClient", "UpdateQueueCommand").f(void 0, void 0).ser(se_UpdateQueueCommand).de(de_UpdateQueueCommand).build() { static { __name(this, "UpdateQueueCommand"); }}; // src/PCS.tsvar commands = { CreateClusterCommand, CreateComputeNodeGroupCommand, CreateQueueCommand, DeleteClusterCommand, DeleteComputeNodeGroupCommand, DeleteQueueCommand, GetClusterCommand, GetComputeNodeGroupCommand, GetQueueCommand, ListClustersCommand, ListComputeNodeGroupsCommand, ListQueuesCommand, ListTagsForResourceCommand, RegisterComputeNodeGroupInstanceCommand, TagResourceCommand, UntagResourceCommand, UpdateComputeNodeGroupCommand, UpdateQueueCommand};var PCS = class extends PCSClient { static { __name(this, "PCS"); }};(0, import_smithy_client.createAggregatedClient)(commands, PCS); // src/pagination/ListClustersPaginator.ts var paginateListClusters = (0, import_core.createPaginator)(PCSClient, ListClustersCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListComputeNodeGroupsPaginator.ts var paginateListComputeNodeGroups = (0, import_core.createPaginator)(PCSClient, ListComputeNodeGroupsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListQueuesPaginator.ts var paginateListQueues = (0, import_core.createPaginator)(PCSClient, ListQueuesCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { PCSServiceException, __Client, PCSClient, PCS, $Command, CreateClusterCommand, CreateComputeNodeGroupCommand, CreateQueueCommand, DeleteClusterCommand, DeleteComputeNodeGroupCommand, DeleteQueueCommand, GetClusterCommand, GetComputeNodeGroupCommand, GetQueueCommand, ListClustersCommand, ListComputeNodeGroupsCommand, ListQueuesCommand, ListTagsForResourceCommand, RegisterComputeNodeGroupInstanceCommand, TagResourceCommand, UntagResourceCommand, UpdateComputeNodeGroupCommand, UpdateQueueCommand, paginateListClusters, paginateListComputeNodeGroups, paginateListQueues, AccessDeniedException, AccountingMode, ConflictException, PurchaseOption, SpotAllocationStrategy, ComputeNodeGroupStatus, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationExceptionReason, ValidationException, NetworkType, SchedulerType, Size, EndpointType, ClusterStatus, QueueStatus, RegisterComputeNodeGroupInstanceResponseFilterSensitiveLog});