/proc/self/root/proc/self/root/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 client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var BraketServiceException = require('./models/BraketServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "braket", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (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; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class BraketClient extends client.Client { config; constructor(...[configuration]) { const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = client$1.resolveUserAgentConfig(_config_1); const _config_3 = retry.resolveRetryConfig(_config_2); const _config_4 = config.resolveRegionConfig(_config_3); const _config_5 = client$1.resolveHostHeaderConfig(_config_4); const _config_6 = endpoints.resolveEndpointConfig(_config_5); const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); this.middlewareStack.use(retry.getRetryPlugin(this.config)); this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultBraketHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class CancelJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "CancelJob", {}) .n("BraketClient", "CancelJobCommand") .sc(schemas_0.CancelJob$) .build() {} class CancelQuantumTaskCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "CancelQuantumTask", {}) .n("BraketClient", "CancelQuantumTaskCommand") .sc(schemas_0.CancelQuantumTask$) .build() {} class CreateJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "CreateJob", {}) .n("BraketClient", "CreateJobCommand") .sc(schemas_0.CreateJob$) .build() {} class CreateQuantumTaskCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "CreateQuantumTask", {}) .n("BraketClient", "CreateQuantumTaskCommand") .sc(schemas_0.CreateQuantumTask$) .build() {} class CreateSpendingLimitCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "CreateSpendingLimit", {}) .n("BraketClient", "CreateSpendingLimitCommand") .sc(schemas_0.CreateSpendingLimit$) .build() {} class DeleteSpendingLimitCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "DeleteSpendingLimit", {}) .n("BraketClient", "DeleteSpendingLimitCommand") .sc(schemas_0.DeleteSpendingLimit$) .build() {} class GetDeviceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "GetDevice", {}) .n("BraketClient", "GetDeviceCommand") .sc(schemas_0.GetDevice$) .build() {} class GetJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "GetJob", {}) .n("BraketClient", "GetJobCommand") .sc(schemas_0.GetJob$) .build() {} class GetQuantumTaskCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "GetQuantumTask", {}) .n("BraketClient", "GetQuantumTaskCommand") .sc(schemas_0.GetQuantumTask$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "ListTagsForResource", {}) .n("BraketClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class SearchDevicesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "SearchDevices", {}) .n("BraketClient", "SearchDevicesCommand") .sc(schemas_0.SearchDevices$) .build() {} class SearchJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "SearchJobs", {}) .n("BraketClient", "SearchJobsCommand") .sc(schemas_0.SearchJobs$) .build() {} class SearchQuantumTasksCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "SearchQuantumTasks", {}) .n("BraketClient", "SearchQuantumTasksCommand") .sc(schemas_0.SearchQuantumTasks$) .build() {} class SearchSpendingLimitsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "SearchSpendingLimits", {}) .n("BraketClient", "SearchSpendingLimitsCommand") .sc(schemas_0.SearchSpendingLimits$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "TagResource", {}) .n("BraketClient", "TagResourceCommand") .sc(schemas_0.TagResource$) .build() {} class UntagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "UntagResource", {}) .n("BraketClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateSpendingLimitCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("Braket", "UpdateSpendingLimit", {}) .n("BraketClient", "UpdateSpendingLimitCommand") .sc(schemas_0.UpdateSpendingLimit$) .build() {} const paginateSearchDevices = core.createPaginator(BraketClient, SearchDevicesCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchJobs = core.createPaginator(BraketClient, SearchJobsCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchQuantumTasks = core.createPaginator(BraketClient, SearchQuantumTasksCommand, "nextToken", "nextToken", "maxResults"); const paginateSearchSpendingLimits = core.createPaginator(BraketClient, SearchSpendingLimitsCommand, "nextToken", "nextToken", "maxResults"); const commands = { CancelJobCommand, CancelQuantumTaskCommand, CreateJobCommand, CreateQuantumTaskCommand, CreateSpendingLimitCommand, DeleteSpendingLimitCommand, GetDeviceCommand, GetJobCommand, GetQuantumTaskCommand, ListTagsForResourceCommand, SearchDevicesCommand, SearchJobsCommand, SearchQuantumTasksCommand, SearchSpendingLimitsCommand, TagResourceCommand, UntagResourceCommand, UpdateSpendingLimitCommand,};const paginators = { paginateSearchDevices, paginateSearchJobs, paginateSearchQuantumTasks, paginateSearchSpendingLimits,};class Braket extends BraketClient {}client.createAggregatedClient(commands, Braket, { paginators }); const CompressionType = { GZIP: "GZIP", NONE: "NONE",};const AssociationType = { RESERVATION_TIME_WINDOW_ARN: "RESERVATION_TIME_WINDOW_ARN",};const QueueName = { JOBS_QUEUE: "JOBS_QUEUE", QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE",};const QueuePriority = { NORMAL: "Normal", PRIORITY: "Priority",};const DeviceStatus = { OFFLINE: "OFFLINE", ONLINE: "ONLINE", RETIRED: "RETIRED",};const DeviceType = { QPU: "QPU", SIMULATOR: "SIMULATOR",};const ValidationExceptionReason = { PROGRAM_SET_VALIDATION_FAILED: "ProgramSetValidationFailed",};const CancellationStatus = { CANCELLED: "CANCELLED", CANCELLING: "CANCELLING",};const _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_G6E_12XLARGE: "ml.g6e.12xlarge", ML_G6E_16XLARGE: "ml.g6e.16xlarge", ML_G6E_24XLARGE: "ml.g6e.24xlarge", ML_G6E_2XLARGE: "ml.g6e.2xlarge", ML_G6E_48XLARGE: "ml.g6e.48xlarge", ML_G6E_4XLARGE: "ml.g6e.4xlarge", ML_G6E_8XLARGE: "ml.g6e.8xlarge", ML_G6E_XLARGE: "ml.g6e.xlarge", ML_G6_12XLARGE: "ml.g6.12xlarge", ML_G6_16XLARGE: "ml.g6.16xlarge", ML_G6_24XLARGE: "ml.g6.24xlarge", ML_G6_2XLARGE: "ml.g6.2xlarge", ML_G6_48XLARGE: "ml.g6.48xlarge", ML_G6_4XLARGE: "ml.g6.4xlarge", ML_G6_8XLARGE: "ml.g6.8xlarge", ML_G6_XLARGE: "ml.g6.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", ML_T3_2XLARGE: "ml.t3.2xlarge", ML_T3_LARGE: "ml.t3.large", ML_T3_XLARGE: "ml.t3.xlarge",};const HybridJobAdditionalAttributeName = { QUEUE_INFO: "QueueInfo",};const 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",};const JobPrimaryStatus = { CANCELLED: "CANCELLED", CANCELLING: "CANCELLING", COMPLETED: "COMPLETED", FAILED: "FAILED", QUEUED: "QUEUED", RUNNING: "RUNNING",};const SearchJobsFilterOperator = { BETWEEN: "BETWEEN", CONTAINS: "CONTAINS", EQUAL: "EQUAL", GT: "GT", GTE: "GTE", LT: "LT", LTE: "LTE",};const ExperimentalCapabilitiesEnablementType = { ALL: "ALL", NONE: "NONE",};const QuantumTaskAdditionalAttributeName = { QUEUE_INFO: "QueueInfo",};const QuantumTaskStatus = { CANCELLED: "CANCELLED", CANCELLING: "CANCELLING", COMPLETED: "COMPLETED", CREATED: "CREATED", FAILED: "FAILED", QUEUED: "QUEUED", RUNNING: "RUNNING",};const SearchQuantumTasksFilterOperator = { BETWEEN: "BETWEEN", EQUAL: "EQUAL", GT: "GT", GTE: "GTE", LT: "LT", LTE: "LTE",};const SearchSpendingLimitsFilterOperator = { EQUAL: "EQUAL",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.BraketServiceException = BraketServiceException.BraketServiceException;exports.AssociationType = AssociationType;exports.Braket = Braket;exports.BraketClient = BraketClient;exports.CancelJobCommand = CancelJobCommand;exports.CancelQuantumTaskCommand = CancelQuantumTaskCommand;exports.CancellationStatus = CancellationStatus;exports.CompressionType = CompressionType;exports.CreateJobCommand = CreateJobCommand;exports.CreateQuantumTaskCommand = CreateQuantumTaskCommand;exports.CreateSpendingLimitCommand = CreateSpendingLimitCommand;exports.DeleteSpendingLimitCommand = DeleteSpendingLimitCommand;exports.DeviceStatus = DeviceStatus;exports.DeviceType = DeviceType;exports.ExperimentalCapabilitiesEnablementType = ExperimentalCapabilitiesEnablementType;exports.GetDeviceCommand = GetDeviceCommand;exports.GetJobCommand = GetJobCommand;exports.GetQuantumTaskCommand = GetQuantumTaskCommand;exports.HybridJobAdditionalAttributeName = HybridJobAdditionalAttributeName;exports.JobEventType = JobEventType;exports.JobPrimaryStatus = JobPrimaryStatus;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.QuantumTaskAdditionalAttributeName = QuantumTaskAdditionalAttributeName;exports.QuantumTaskStatus = QuantumTaskStatus;exports.QueueName = QueueName;exports.QueuePriority = QueuePriority;exports.SearchDevicesCommand = SearchDevicesCommand;exports.SearchJobsCommand = SearchJobsCommand;exports.SearchJobsFilterOperator = SearchJobsFilterOperator;exports.SearchQuantumTasksCommand = SearchQuantumTasksCommand;exports.SearchQuantumTasksFilterOperator = SearchQuantumTasksFilterOperator;exports.SearchSpendingLimitsCommand = SearchSpendingLimitsCommand;exports.SearchSpendingLimitsFilterOperator = SearchSpendingLimitsFilterOperator;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateSpendingLimitCommand = UpdateSpendingLimitCommand;exports.ValidationExceptionReason = ValidationExceptionReason;exports._InstanceType = _InstanceType;exports.paginateSearchDevices = paginateSearchDevices;exports.paginateSearchJobs = paginateSearchJobs;exports.paginateSearchQuantumTasks = paginateSearchQuantumTasks;exports.paginateSearchSpendingLimits = paginateSearchSpendingLimits;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: schemas_0['__proto__'] }); Object.keys(schemas_0).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: errors['__proto__'] }); Object.keys(errors).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});