/var/runtime/node_modules/@aws-sdk/client-braket/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, AssociationType: () => AssociationType, Braket: () => Braket, BraketClient: () => BraketClient, BraketServiceException: () => BraketServiceException, CancelJobCommand: () => CancelJobCommand, CancelQuantumTaskCommand: () => CancelQuantumTaskCommand, CancellationStatus: () => CancellationStatus, CompressionType: () => CompressionType, ConflictException: () => ConflictException, CreateJobCommand: () => CreateJobCommand, CreateQuantumTaskCommand: () => CreateQuantumTaskCommand, DeviceOfflineException: () => DeviceOfflineException, DeviceRetiredException: () => DeviceRetiredException, DeviceStatus: () => DeviceStatus, DeviceType: () => DeviceType, GetDeviceCommand: () => GetDeviceCommand, GetJobCommand: () => GetJobCommand, GetQuantumTaskCommand: () => GetQuantumTaskCommand, HybridJobAdditionalAttributeName: () => HybridJobAdditionalAttributeName, InternalServiceException: () => InternalServiceException, JobEventType: () => JobEventType, JobPrimaryStatus: () => JobPrimaryStatus, ListTagsForResourceCommand: () => ListTagsForResourceCommand, QuantumTaskAdditionalAttributeName: () => QuantumTaskAdditionalAttributeName, QuantumTaskStatus: () => QuantumTaskStatus, QueueName: () => QueueName, QueuePriority: () => QueuePriority, ResourceNotFoundException: () => ResourceNotFoundException, SearchDevicesCommand: () => SearchDevicesCommand, SearchJobsCommand: () => SearchJobsCommand, SearchJobsFilterOperator: () => SearchJobsFilterOperator, SearchQuantumTasksCommand: () => SearchQuantumTasksCommand, SearchQuantumTasksFilterOperator: () => SearchQuantumTasksFilterOperator, ServiceQuotaExceededException: () => ServiceQuotaExceededException, TagResourceCommand: () => TagResourceCommand, ThrottlingException: () => ThrottlingException, UntagResourceCommand: () => UntagResourceCommand, ValidationException: () => ValidationException, ValidationExceptionReason: () => ValidationExceptionReason, _InstanceType: () => _InstanceType, __Client: () => import_smithy_client.Client, paginateSearchDevices: () => paginateSearchDevices, paginateSearchJobs: () => paginateSearchJobs, paginateSearchQuantumTasks: () => paginateSearchQuantumTasks});module.exports = __toCommonJS(index_exports); // src/BraketClient.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: "braket" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/BraketClient.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/BraketClient.tsvar BraketClient = class extends import_smithy_client.Client { static { __name(this, "BraketClient"); } /** * The resolved configuration of BraketClient class. This is resolved and normalized from the {@link BraketClientConfig | 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.defaultBraketHttpAuthSchemeParametersProvider, 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/Braket.ts // src/commands/CancelJobCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); var import_uuid = require("uuid"); // src/models/BraketServiceException.ts var BraketServiceException = class _BraketServiceException extends import_smithy_client.ServiceException { static { __name(this, "BraketServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _BraketServiceException.prototype); }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends BraketServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); }};var CompressionType = { GZIP: "GZIP", NONE: "NONE"};var AssociationType = { RESERVATION_TIME_WINDOW_ARN: "RESERVATION_TIME_WINDOW_ARN"};var QueueName = { JOBS_QUEUE: "JOBS_QUEUE", QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE"};var QueuePriority = { NORMAL: "Normal", PRIORITY: "Priority"};var DeviceStatus = { OFFLINE: "OFFLINE", ONLINE: "ONLINE", RETIRED: "RETIRED"};var DeviceType = { QPU: "QPU", SIMULATOR: "SIMULATOR"};var InternalServiceException = class _InternalServiceException extends BraketServiceException { static { __name(this, "InternalServiceException"); } name = "InternalServiceException"; $fault = "server"; /** * @internal */ constructor(opts) { super({ name: "InternalServiceException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServiceException.prototype); }};var ResourceNotFoundException = class _ResourceNotFoundException extends BraketServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); }};var ThrottlingException = class _ThrottlingException extends BraketServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); }};var ValidationExceptionReason = { PROGRAM_SET_VALIDATION_FAILED: "ProgramSetValidationFailed"};var ValidationException = class _ValidationException extends BraketServiceException { static { __name(this, "ValidationException"); } name = "ValidationException"; $fault = "client"; /** * <p>The reason for validation failure.</p> * @public */ reason; /** * <p>The validation failures in the program set submitted in the request.</p> * @public */ programSetValidationFailures; /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ValidationException.prototype); this.reason = opts.reason; this.programSetValidationFailures = opts.programSetValidationFailures; }};var CancellationStatus = { CANCELLED: "CANCELLED", CANCELLING: "CANCELLING"};var ConflictException = class _ConflictException extends BraketServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); }};var _InstanceType = { ML_C4_2XLARGE: "ml.c4.2xlarge", ML_C4_4XLARGE: "ml.c4.4xlarge", ML_C4_8XLARGE: "ml.c4.8xlarge", ML_C4_XLARGE: "ml.c4.xlarge", ML_C5N_18XLARGE: "ml.c5n.18xlarge", ML_C5N_2XLARGE: "ml.c5n.2xlarge", ML_C5N_4XLARGE: "ml.c5n.4xlarge", ML_C5N_9XLARGE: "ml.c5n.9xlarge", ML_C5N_XLARGE: "ml.c5n.xlarge", ML_C5_18XLARGE: "ml.c5.18xlarge", ML_C5_2XLARGE: "ml.c5.2xlarge", ML_C5_4XLARGE: "ml.c5.4xlarge", ML_C5_9XLARGE: "ml.c5.9xlarge", ML_C5_XLARGE: "ml.c5.xlarge", ML_G4DN_12XLARGE: "ml.g4dn.12xlarge", ML_G4DN_16XLARGE: "ml.g4dn.16xlarge", ML_G4DN_2XLARGE: "ml.g4dn.2xlarge", ML_G4DN_4XLARGE: "ml.g4dn.4xlarge", ML_G4DN_8XLARGE: "ml.g4dn.8xlarge", ML_G4DN_XLARGE: "ml.g4dn.xlarge", ML_M4_10XLARGE: "ml.m4.10xlarge", ML_M4_16XLARGE: "ml.m4.16xlarge", ML_M4_2XLARGE: "ml.m4.2xlarge", ML_M4_4XLARGE: "ml.m4.4xlarge", ML_M4_XLARGE: "ml.m4.xlarge", ML_M5_12XLARGE: "ml.m5.12xlarge", ML_M5_24XLARGE: "ml.m5.24xlarge", ML_M5_2XLARGE: "ml.m5.2xlarge", ML_M5_4XLARGE: "ml.m5.4xlarge", ML_M5_LARGE: "ml.m5.large", ML_M5_XLARGE: "ml.m5.xlarge", ML_P2_16XLARGE: "ml.p2.16xlarge", ML_P2_8XLARGE: "ml.p2.8xlarge", ML_P2_XLARGE: "ml.p2.xlarge", ML_P3DN_24XLARGE: "ml.p3dn.24xlarge", ML_P3_16XLARGE: "ml.p3.16xlarge", ML_P3_2XLARGE: "ml.p3.2xlarge", ML_P3_8XLARGE: "ml.p3.8xlarge", ML_P4D_24XLARGE: "ml.p4d.24xlarge"};var DeviceOfflineException = class _DeviceOfflineException extends BraketServiceException { static { __name(this, "DeviceOfflineException"); } name = "DeviceOfflineException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "DeviceOfflineException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DeviceOfflineException.prototype); }};var DeviceRetiredException = class _DeviceRetiredException extends BraketServiceException { static { __name(this, "DeviceRetiredException"); } name = "DeviceRetiredException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "DeviceRetiredException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DeviceRetiredException.prototype); }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BraketServiceException { static { __name(this, "ServiceQuotaExceededException"); } name = "ServiceQuotaExceededException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); }};var HybridJobAdditionalAttributeName = { QUEUE_INFO: "QueueInfo"};var JobEventType = { CANCELLED: "CANCELLED", COMPLETED: "COMPLETED", DEPRIORITIZED_DUE_TO_INACTIVITY: "DEPRIORITIZED_DUE_TO_INACTIVITY", DOWNLOADING_DATA: "DOWNLOADING_DATA", FAILED: "FAILED", MAX_RUNTIME_EXCEEDED: "MAX_RUNTIME_EXCEEDED", QUEUED_FOR_EXECUTION: "QUEUED_FOR_EXECUTION", RUNNING: "RUNNING", STARTING_INSTANCE: "STARTING_INSTANCE", UPLOADING_RESULTS: "UPLOADING_RESULTS", WAITING_FOR_PRIORITY: "WAITING_FOR_PRIORITY"};var JobPrimaryStatus = { CANCELLED: "CANCELLED", CANCELLING: "CANCELLING", COMPLETED: "COMPLETED", FAILED: "FAILED", QUEUED: "QUEUED", RUNNING: "RUNNING"};var SearchJobsFilterOperator = { BETWEEN: "BETWEEN", CONTAINS: "CONTAINS", EQUAL: "EQUAL", GT: "GT", GTE: "GTE", LT: "LT", LTE: "LTE"};var QuantumTaskAdditionalAttributeName = { QUEUE_INFO: "QueueInfo"};var QuantumTaskStatus = { CANCELLED: "CANCELLED", CANCELLING: "CANCELLING", COMPLETED: "COMPLETED", CREATED: "CREATED", FAILED: "FAILED", QUEUED: "QUEUED", RUNNING: "RUNNING"};var SearchQuantumTasksFilterOperator = { BETWEEN: "BETWEEN", EQUAL: "EQUAL", GT: "GT", GTE: "GTE", LT: "LT", LTE: "LTE"}; // src/protocols/Aws_restJson1.tsvar se_CancelJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/job/{jobArn}/cancel"); b.p("jobArn", () => input.jobArn, "{jobArn}", false); let body; b.m("PUT").h(headers).b(body); return b.build();}, "se_CancelJobCommand");var se_CancelQuantumTaskCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/quantum-task/{quantumTaskArn}/cancel"); b.p("quantumTaskArn", () => input.quantumTaskArn, "{quantumTaskArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_CancelQuantumTaskCommand");var se_CreateJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/job"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { algorithmSpecification: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "algorithmSpecification"), associations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "associations"), checkpointConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "checkpointConfig"), clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], deviceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "deviceConfig"), hyperParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "hyperParameters"), inputDataConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "inputDataConfig"), instanceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "instanceConfig"), jobName: [], outputDataConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputDataConfig"), roleArn: [], stoppingCondition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "stoppingCondition"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateJobCommand");var se_CreateQuantumTaskCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/quantum-task"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { action: /* @__PURE__ */ __name((_) => import_smithy_client.LazyJsonString.from(_), "action"), associations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "associations"), clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()], deviceArn: [], deviceParameters: /* @__PURE__ */ __name((_) => import_smithy_client.LazyJsonString.from(_), "deviceParameters"), jobToken: [], outputS3Bucket: [], outputS3KeyPrefix: [], shots: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateQuantumTaskCommand");var se_GetDeviceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/device/{deviceArn}"); b.p("deviceArn", () => input.deviceArn, "{deviceArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetDeviceCommand");var se_GetJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/job/{jobArn}"); b.p("jobArn", () => input.jobArn, "{jobArn}", false); const query = (0, import_smithy_client.map)({ [_aAN]: [() => input.additionalAttributeNames !== void 0, () => input[_aAN] || []] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetJobCommand");var se_GetQuantumTaskCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/quantum-task/{quantumTaskArn}"); b.p("quantumTaskArn", () => input.quantumTaskArn, "{quantumTaskArn}", false); const query = (0, import_smithy_client.map)({ [_aAN]: [() => input.additionalAttributeNames !== void 0, () => input[_aAN] || []] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetQuantumTaskCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_ListTagsForResourceCommand");var se_SearchDevicesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/devices"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"), maxResults: [], nextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_SearchDevicesCommand");var se_SearchJobsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/jobs"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"), maxResults: [], nextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_SearchJobsCommand");var se_SearchQuantumTasksCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/quantum-tasks"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"), maxResults: [], nextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_SearchQuantumTasksCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/tags/{resourceArn}"); b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false); const query = (0, import_smithy_client.map)({ [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_UntagResourceCommand");var de_CancelJobCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { cancellationStatus: import_smithy_client.expectString, jobArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CancelJobCommand");var de_CancelQuantumTaskCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { cancellationStatus: import_smithy_client.expectString, quantumTaskArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CancelQuantumTaskCommand");var de_CreateJobCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { jobArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateJobCommand");var de_CreateQuantumTaskCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 201 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { quantumTaskArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateQuantumTaskCommand");var de_GetDeviceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { deviceArn: import_smithy_client.expectString, deviceCapabilities: import_smithy_client.LazyJsonString.from, deviceName: import_smithy_client.expectString, deviceQueueInfo: import_smithy_client._json, deviceStatus: import_smithy_client.expectString, deviceType: import_smithy_client.expectString, providerName: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetDeviceCommand");var de_GetJobCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { algorithmSpecification: import_smithy_client._json, associations: import_smithy_client._json, billableDuration: import_smithy_client.expectInt32, checkpointConfig: import_smithy_client._json, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), deviceConfig: import_smithy_client._json, endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endedAt"), events: /* @__PURE__ */ __name((_) => de_JobEvents(_, context), "events"), failureReason: import_smithy_client.expectString, hyperParameters: import_smithy_client._json, inputDataConfig: import_smithy_client._json, instanceConfig: import_smithy_client._json, jobArn: import_smithy_client.expectString, jobName: import_smithy_client.expectString, outputDataConfig: import_smithy_client._json, queueInfo: import_smithy_client._json, roleArn: import_smithy_client.expectString, startedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedAt"), status: import_smithy_client.expectString, stoppingCondition: import_smithy_client._json, tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetJobCommand");var de_GetQuantumTaskCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { actionMetadata: import_smithy_client._json, associations: import_smithy_client._json, createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), deviceArn: import_smithy_client.expectString, deviceParameters: import_smithy_client.LazyJsonString.from, endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endedAt"), failureReason: import_smithy_client.expectString, jobArn: import_smithy_client.expectString, numSuccessfulShots: import_smithy_client.expectLong, outputS3Bucket: import_smithy_client.expectString, outputS3Directory: import_smithy_client.expectString, quantumTaskArn: import_smithy_client.expectString, queueInfo: import_smithy_client._json, shots: import_smithy_client.expectLong, status: import_smithy_client.expectString, tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetQuantumTaskCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTagsForResourceCommand");var de_SearchDevicesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { devices: import_smithy_client._json, nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_SearchDevicesCommand");var de_SearchJobsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { jobs: /* @__PURE__ */ __name((_) => de_JobSummaryList(_, context), "jobs"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_SearchJobsCommand");var de_SearchQuantumTasksCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { nextToken: import_smithy_client.expectString, quantumTasks: /* @__PURE__ */ __name((_) => de_QuantumTaskSummaryList(_, context), "quantumTasks") }); Object.assign(contents, doc); return contents;}, "de_SearchQuantumTasksCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UntagResourceCommand");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.braket#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.braket#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "InternalServiceException": case "com.amazonaws.braket#InternalServiceException": throw await de_InternalServiceExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.braket#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ThrottlingException": case "com.amazonaws.braket#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.braket#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); case "DeviceOfflineException": case "com.amazonaws.braket#DeviceOfflineException": throw await de_DeviceOfflineExceptionRes(parsedOutput, context); case "DeviceRetiredException": case "com.amazonaws.braket#DeviceRetiredException": throw await de_DeviceRetiredExceptionRes(parsedOutput, context); case "ServiceQuotaExceededException": case "com.amazonaws.braket#ServiceQuotaExceededException": throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(BraketServiceException);var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new AccessDeniedException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ConflictException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_DeviceOfflineExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new DeviceOfflineException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DeviceOfflineExceptionRes");var de_DeviceRetiredExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new DeviceRetiredException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_DeviceRetiredExceptionRes");var de_InternalServiceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InternalServiceException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServiceExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ServiceQuotaExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ServiceQuotaExceededExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ThrottlingException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottlingExceptionRes");var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { message: import_smithy_client.expectString, programSetValidationFailures: import_smithy_client._json, reason: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ValidationException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ValidationExceptionRes");var de_JobEventDetails = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { eventType: import_smithy_client.expectString, message: import_smithy_client.expectString, timeOfEvent: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timeOfEvent") });}, "de_JobEventDetails");var de_JobEvents = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_JobEventDetails(entry, context); }); return retVal;}, "de_JobEvents");var de_JobSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), device: import_smithy_client.expectString, endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endedAt"), jobArn: import_smithy_client.expectString, jobName: import_smithy_client.expectString, startedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedAt"), status: import_smithy_client.expectString, tags: import_smithy_client._json });}, "de_JobSummary");var de_JobSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_JobSummary(entry, context); }); return retVal;}, "de_JobSummaryList");var de_QuantumTaskSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"), deviceArn: import_smithy_client.expectString, endedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endedAt"), outputS3Bucket: import_smithy_client.expectString, outputS3Directory: import_smithy_client.expectString, quantumTaskArn: import_smithy_client.expectString, shots: import_smithy_client.expectLong, status: import_smithy_client.expectString, tags: import_smithy_client._json });}, "de_QuantumTaskSummary");var de_QuantumTaskSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_QuantumTaskSummary(entry, context); }); return retVal;}, "de_QuantumTaskSummaryList");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 _aAN = "additionalAttributeNames";var _tK = "tagKeys"; // src/commands/CancelJobCommand.tsvar CancelJobCommand = 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("Braket", "CancelJob", {}).n("BraketClient", "CancelJobCommand").f(void 0, void 0).ser(se_CancelJobCommand).de(de_CancelJobCommand).build() { static { __name(this, "CancelJobCommand"); }}; // src/commands/CancelQuantumTaskCommand.ts var CancelQuantumTaskCommand = 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("Braket", "CancelQuantumTask", {}).n("BraketClient", "CancelQuantumTaskCommand").f(void 0, void 0).ser(se_CancelQuantumTaskCommand).de(de_CancelQuantumTaskCommand).build() { static { __name(this, "CancelQuantumTaskCommand"); }}; // src/commands/CreateJobCommand.ts var CreateJobCommand = 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("Braket", "CreateJob", {}).n("BraketClient", "CreateJobCommand").f(void 0, void 0).ser(se_CreateJobCommand).de(de_CreateJobCommand).build() { static { __name(this, "CreateJobCommand"); }}; // src/commands/CreateQuantumTaskCommand.ts var CreateQuantumTaskCommand = 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("Braket", "CreateQuantumTask", {}).n("BraketClient", "CreateQuantumTaskCommand").f(void 0, void 0).ser(se_CreateQuantumTaskCommand).de(de_CreateQuantumTaskCommand).build() { static { __name(this, "CreateQuantumTaskCommand"); }}; // src/commands/GetDeviceCommand.ts var GetDeviceCommand = 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("Braket", "GetDevice", {}).n("BraketClient", "GetDeviceCommand").f(void 0, void 0).ser(se_GetDeviceCommand).de(de_GetDeviceCommand).build() { static { __name(this, "GetDeviceCommand"); }}; // src/commands/GetJobCommand.ts var GetJobCommand = 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("Braket", "GetJob", {}).n("BraketClient", "GetJobCommand").f(void 0, void 0).ser(se_GetJobCommand).de(de_GetJobCommand).build() { static { __name(this, "GetJobCommand"); }}; // src/commands/GetQuantumTaskCommand.ts var GetQuantumTaskCommand = 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("Braket", "GetQuantumTask", {}).n("BraketClient", "GetQuantumTaskCommand").f(void 0, void 0).ser(se_GetQuantumTaskCommand).de(de_GetQuantumTaskCommand).build() { static { __name(this, "GetQuantumTaskCommand"); }}; // 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("Braket", "ListTagsForResource", {}).n("BraketClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/SearchDevicesCommand.ts var SearchDevicesCommand = 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("Braket", "SearchDevices", {}).n("BraketClient", "SearchDevicesCommand").f(void 0, void 0).ser(se_SearchDevicesCommand).de(de_SearchDevicesCommand).build() { static { __name(this, "SearchDevicesCommand"); }}; // src/commands/SearchJobsCommand.ts var SearchJobsCommand = 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("Braket", "SearchJobs", {}).n("BraketClient", "SearchJobsCommand").f(void 0, void 0).ser(se_SearchJobsCommand).de(de_SearchJobsCommand).build() { static { __name(this, "SearchJobsCommand"); }}; // src/commands/SearchQuantumTasksCommand.ts var SearchQuantumTasksCommand = 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("Braket", "SearchQuantumTasks", {}).n("BraketClient", "SearchQuantumTasksCommand").f(void 0, void 0).ser(se_SearchQuantumTasksCommand).de(de_SearchQuantumTasksCommand).build() { static { __name(this, "SearchQuantumTasksCommand"); }}; // 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("Braket", "TagResource", {}).n("BraketClient", "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("Braket", "UntagResource", {}).n("BraketClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/Braket.tsvar commands = { CancelJobCommand, CancelQuantumTaskCommand, CreateJobCommand, CreateQuantumTaskCommand, GetDeviceCommand, GetJobCommand, GetQuantumTaskCommand, ListTagsForResourceCommand, SearchDevicesCommand, SearchJobsCommand, SearchQuantumTasksCommand, TagResourceCommand, UntagResourceCommand};var Braket = class extends BraketClient { static { __name(this, "Braket"); }};(0, import_smithy_client.createAggregatedClient)(commands, Braket); // src/pagination/SearchDevicesPaginator.ts var paginateSearchDevices = (0, import_core.createPaginator)(BraketClient, SearchDevicesCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/SearchJobsPaginator.ts var paginateSearchJobs = (0, import_core.createPaginator)(BraketClient, SearchJobsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/SearchQuantumTasksPaginator.ts var paginateSearchQuantumTasks = (0, import_core.createPaginator)(BraketClient, SearchQuantumTasksCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { BraketServiceException, __Client, BraketClient, Braket, $Command, CancelJobCommand, CancelQuantumTaskCommand, CreateJobCommand, CreateQuantumTaskCommand, GetDeviceCommand, GetJobCommand, GetQuantumTaskCommand, ListTagsForResourceCommand, SearchDevicesCommand, SearchJobsCommand, SearchQuantumTasksCommand, TagResourceCommand, UntagResourceCommand, paginateSearchDevices, paginateSearchJobs, paginateSearchQuantumTasks, AccessDeniedException, CompressionType, AssociationType, QueueName, QueuePriority, DeviceStatus, DeviceType, InternalServiceException, ResourceNotFoundException, ThrottlingException, ValidationExceptionReason, ValidationException, CancellationStatus, ConflictException, _InstanceType, DeviceOfflineException, DeviceRetiredException, ServiceQuotaExceededException, HybridJobAdditionalAttributeName, JobEventType, JobPrimaryStatus, SearchJobsFilterOperator, QuantumTaskAdditionalAttributeName, QuantumTaskStatus, SearchQuantumTasksFilterOperator});