@aws-sdk/client-braket 3.1075.0 → 3.1076.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultBraketHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CancelJob$, CancelQuantumTask$, CreateJob$, CreateQuantumTask$, CreateSpendingLimit$, DeleteSpendingLimit$, GetDevice$, GetJob$, GetQuantumTask$, ListTagsForResource$, SearchDevices$, SearchJobs$, SearchQuantumTasks$, SearchSpendingLimits$, TagResource$, UntagResource$, UpdateSpendingLimit$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { BraketServiceException } = require("./models/BraketServiceException");
18
- exports.BraketServiceException = BraketServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultBraketHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "braket",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultBraketHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,928 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://braket-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://braket-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://braket.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://braket.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class BraketServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, BraketServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends BraketServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ constructor(opts) {
143
+ super({
144
+ name: "AccessDeniedException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
149
+ }
150
+ }
151
+ class InternalServiceException extends BraketServiceException {
152
+ name = "InternalServiceException";
153
+ $fault = "server";
154
+ constructor(opts) {
155
+ super({
156
+ name: "InternalServiceException",
157
+ $fault: "server",
158
+ ...opts,
159
+ });
160
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
161
+ }
162
+ }
163
+ class ResourceNotFoundException extends BraketServiceException {
164
+ name = "ResourceNotFoundException";
165
+ $fault = "client";
166
+ constructor(opts) {
167
+ super({
168
+ name: "ResourceNotFoundException",
169
+ $fault: "client",
170
+ ...opts,
171
+ });
172
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
173
+ }
174
+ }
175
+ class ThrottlingException extends BraketServiceException {
176
+ name = "ThrottlingException";
177
+ $fault = "client";
178
+ constructor(opts) {
179
+ super({
180
+ name: "ThrottlingException",
181
+ $fault: "client",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
185
+ }
186
+ }
187
+ class ValidationException extends BraketServiceException {
188
+ name = "ValidationException";
189
+ $fault = "client";
190
+ reason;
191
+ programSetValidationFailures;
192
+ constructor(opts) {
193
+ super({
194
+ name: "ValidationException",
195
+ $fault: "client",
196
+ ...opts,
197
+ });
198
+ Object.setPrototypeOf(this, ValidationException.prototype);
199
+ this.reason = opts.reason;
200
+ this.programSetValidationFailures = opts.programSetValidationFailures;
201
+ }
202
+ }
203
+ class ConflictException extends BraketServiceException {
204
+ name = "ConflictException";
205
+ $fault = "client";
206
+ constructor(opts) {
207
+ super({
208
+ name: "ConflictException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ Object.setPrototypeOf(this, ConflictException.prototype);
213
+ }
214
+ }
215
+ class DeviceOfflineException extends BraketServiceException {
216
+ name = "DeviceOfflineException";
217
+ $fault = "client";
218
+ constructor(opts) {
219
+ super({
220
+ name: "DeviceOfflineException",
221
+ $fault: "client",
222
+ ...opts,
223
+ });
224
+ Object.setPrototypeOf(this, DeviceOfflineException.prototype);
225
+ }
226
+ }
227
+ class DeviceRetiredException extends BraketServiceException {
228
+ name = "DeviceRetiredException";
229
+ $fault = "client";
230
+ constructor(opts) {
231
+ super({
232
+ name: "DeviceRetiredException",
233
+ $fault: "client",
234
+ ...opts,
235
+ });
236
+ Object.setPrototypeOf(this, DeviceRetiredException.prototype);
237
+ }
238
+ }
239
+ class ServiceQuotaExceededException extends BraketServiceException {
240
+ name = "ServiceQuotaExceededException";
241
+ $fault = "client";
242
+ constructor(opts) {
243
+ super({
244
+ name: "ServiceQuotaExceededException",
245
+ $fault: "client",
246
+ ...opts,
247
+ });
248
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
249
+ }
250
+ }
251
+
252
+ const _A = "Association";
253
+ const _ADE = "AccessDeniedException";
254
+ const _AM = "ActionMetadata";
255
+ const _AS = "AlgorithmSpecification";
256
+ const _As = "Associations";
257
+ const _CE = "ConflictException";
258
+ const _CI = "ContainerImage";
259
+ const _CJ = "CancelJob";
260
+ const _CJR = "CancelJobRequest";
261
+ const _CJRa = "CancelJobResponse";
262
+ const _CJRr = "CreateJobRequest";
263
+ const _CJRre = "CreateJobResponse";
264
+ const _CJr = "CreateJob";
265
+ const _CQT = "CancelQuantumTask";
266
+ const _CQTR = "CancelQuantumTaskRequest";
267
+ const _CQTRa = "CancelQuantumTaskResponse";
268
+ const _CQTRr = "CreateQuantumTaskRequest";
269
+ const _CQTRre = "CreateQuantumTaskResponse";
270
+ const _CQTr = "CreateQuantumTask";
271
+ const _CSL = "CreateSpendingLimit";
272
+ const _CSLR = "CreateSpendingLimitRequest";
273
+ const _CSLRr = "CreateSpendingLimitResponse";
274
+ const _DC = "DeviceConfig";
275
+ const _DOE = "DeviceOfflineException";
276
+ const _DQI = "DeviceQueueInfo";
277
+ const _DQIL = "DeviceQueueInfoList";
278
+ const _DRE = "DeviceRetiredException";
279
+ const _DS = "DataSource";
280
+ const _DSL = "DeviceSummaryList";
281
+ const _DSLR = "DeleteSpendingLimitRequest";
282
+ const _DSLRe = "DeleteSpendingLimitResponse";
283
+ const _DSLe = "DeleteSpendingLimit";
284
+ const _DSe = "DeviceSummary";
285
+ const _EC = "ExperimentalCapabilities";
286
+ const _GD = "GetDevice";
287
+ const _GDR = "GetDeviceRequest";
288
+ const _GDRe = "GetDeviceResponse";
289
+ const _GJ = "GetJob";
290
+ const _GJR = "GetJobRequest";
291
+ const _GJRe = "GetJobResponse";
292
+ const _GQT = "GetQuantumTask";
293
+ const _GQTR = "GetQuantumTaskRequest";
294
+ const _GQTRe = "GetQuantumTaskResponse";
295
+ const _HJQI = "HybridJobQueueInfo";
296
+ const _IC = "InstanceConfig";
297
+ const _ICL = "InputConfigList";
298
+ const _IFC = "InputFileConfig";
299
+ const _ISE = "InternalServiceException";
300
+ const _JCC = "JobCheckpointConfig";
301
+ const _JE = "JobEvents";
302
+ const _JED = "JobEventDetails";
303
+ const _JODC = "JobOutputDataConfig";
304
+ const _JS = "JobSummary";
305
+ const _JSC = "JobStoppingCondition";
306
+ const _JSL = "JobSummaryList";
307
+ const _JV = "JsonValue";
308
+ const _LTFR = "ListTagsForResource";
309
+ const _LTFRR = "ListTagsForResourceRequest";
310
+ const _LTFRRi = "ListTagsForResourceResponse";
311
+ const _PSVF = "ProgramSetValidationFailure";
312
+ const _PSVFL = "ProgramSetValidationFailuresList";
313
+ const _QTQI = "QuantumTaskQueueInfo";
314
+ const _QTS = "QuantumTaskSummary";
315
+ const _QTSL = "QuantumTaskSummaryList";
316
+ const _RNFE = "ResourceNotFoundException";
317
+ const _SD = "SearchDevices";
318
+ const _SDF = "SearchDevicesFilter";
319
+ const _SDFL = "SearchDevicesFilterList";
320
+ const _SDR = "SearchDevicesRequest";
321
+ const _SDRe = "SearchDevicesResponse";
322
+ const _SDS = "S3DataSource";
323
+ const _SJ = "SearchJobs";
324
+ const _SJF = "SearchJobsFilter";
325
+ const _SJFL = "SearchJobsFilterList";
326
+ const _SJR = "SearchJobsRequest";
327
+ const _SJRe = "SearchJobsResponse";
328
+ const _SLS = "SpendingLimitSummary";
329
+ const _SLSL = "SpendingLimitSummaryList";
330
+ const _SMC = "ScriptModeConfig";
331
+ const _SQEE = "ServiceQuotaExceededException";
332
+ const _SQT = "SearchQuantumTasks";
333
+ const _SQTF = "SearchQuantumTasksFilter";
334
+ const _SQTFL = "SearchQuantumTasksFilterList";
335
+ const _SQTR = "SearchQuantumTasksRequest";
336
+ const _SQTRe = "SearchQuantumTasksResponse";
337
+ const _SSL = "SearchSpendingLimits";
338
+ const _SSLF = "SearchSpendingLimitsFilter";
339
+ const _SSLFL = "SearchSpendingLimitsFilterList";
340
+ const _SSLR = "SearchSpendingLimitsRequest";
341
+ const _SSLRe = "SearchSpendingLimitsResponse";
342
+ const _TE = "ThrottlingException";
343
+ const _TP = "TimePeriod";
344
+ const _TR = "TagResource";
345
+ const _TRR = "TagResourceRequest";
346
+ const _TRRa = "TagResourceResponse";
347
+ const _UR = "UntagResource";
348
+ const _URR = "UntagResourceRequest";
349
+ const _URRn = "UntagResourceResponse";
350
+ const _USL = "UpdateSpendingLimit";
351
+ const _USLR = "UpdateSpendingLimitRequest";
352
+ const _USLRp = "UpdateSpendingLimitResponse";
353
+ const _VE = "ValidationException";
354
+ const _a = "application/json";
355
+ const _aAN = "additionalAttributeNames";
356
+ const _aM = "actionMetadata";
357
+ const _aS = "algorithmSpecification";
358
+ const _aT = "actionType";
359
+ const _ac = "action";
360
+ const _ar = "arn";
361
+ const _as = "associations";
362
+ const _bD = "billableDuration";
363
+ const _c = "client";
364
+ const _cA = "createdAt";
365
+ const _cC = "checkpointConfig";
366
+ const _cI = "containerImage";
367
+ const _cN = "channelName";
368
+ const _cS = "cancellationStatus";
369
+ const _cT = "clientToken";
370
+ const _cTo = "contentType";
371
+ const _cTom = "compressionType";
372
+ const _d = "device";
373
+ const _dA = "deviceArn";
374
+ const _dC = "deviceConfig";
375
+ const _dCe = "deviceCapabilities";
376
+ const _dN = "deviceName";
377
+ const _dP = "deviceParameters";
378
+ const _dQI = "deviceQueueInfo";
379
+ const _dS = "deviceStatus";
380
+ const _dSa = "dataSource";
381
+ const _dT = "deviceType";
382
+ const _de = "devices";
383
+ const _e = "error";
384
+ const _eA = "endedAt";
385
+ const _eAn = "endAt";
386
+ const _eC = "executableCount";
387
+ const _eCx = "experimentalCapabilities";
388
+ const _eP = "entryPoint";
389
+ const _eT = "eventType";
390
+ const _en = "enabled";
391
+ const _er = "errors";
392
+ const _ev = "events";
393
+ const _f = "filters";
394
+ const _fR = "failureReason";
395
+ const _h = "http";
396
+ const _hE = "httpError";
397
+ const _hP = "hyperParameters";
398
+ const _hQ = "httpQuery";
399
+ const _iC = "instanceConfig";
400
+ const _iCn = "instanceCount";
401
+ const _iDC = "inputDataConfig";
402
+ const _iI = "inputsIndex";
403
+ const _iT = "instanceType";
404
+ const _j = "jobs";
405
+ const _jA = "jobArn";
406
+ const _jN = "jobName";
407
+ const _jT = "jobToken";
408
+ const _kKI = "kmsKeyId";
409
+ const _lP = "localPath";
410
+ const _m = "message";
411
+ const _mR = "maxResults";
412
+ const _mRIS = "maxRuntimeInSeconds";
413
+ const _mT = "mediaType";
414
+ const _n = "name";
415
+ const _nSS = "numSuccessfulShots";
416
+ const _nT = "nextToken";
417
+ const _o = "operator";
418
+ const _oDC = "outputDataConfig";
419
+ const _oSB = "outputS3Bucket";
420
+ const _oSD = "outputS3Directory";
421
+ const _oSKP = "outputS3KeyPrefix";
422
+ const _p = "position";
423
+ const _pC = "programCount";
424
+ const _pI = "programIndex";
425
+ const _pN = "providerName";
426
+ const _pSVF = "programSetValidationFailures";
427
+ const _q = "queue";
428
+ const _qI = "queueInfo";
429
+ const _qP = "queuePriority";
430
+ const _qS = "queueSize";
431
+ const _qSu = "queuedSpend";
432
+ const _qT = "quantumTasks";
433
+ const _qTA = "quantumTaskArn";
434
+ const _r = "reason";
435
+ const _rA = "roleArn";
436
+ const _rAe = "resourceArn";
437
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.braket";
438
+ const _sA = "startedAt";
439
+ const _sAt = "startAt";
440
+ const _sC = "stoppingCondition";
441
+ const _sDS = "s3DataSource";
442
+ const _sL = "spendingLimit";
443
+ const _sLA = "spendingLimitArn";
444
+ const _sLp = "spendingLimits";
445
+ const _sMC = "scriptModeConfig";
446
+ const _sP = "s3Path";
447
+ const _sU = "s3Uri";
448
+ const _se = "server";
449
+ const _sh = "shots";
450
+ const _st = "status";
451
+ const _t = "type";
452
+ const _tK = "tagKeys";
453
+ const _tOE = "timeOfEvent";
454
+ const _tP = "timePeriod";
455
+ const _tS = "totalSpend";
456
+ const _ta = "tags";
457
+ const _u = "uri";
458
+ const _uA = "updatedAt";
459
+ const _v = "values";
460
+ const _vSIG = "volumeSizeInGb";
461
+ const n0 = "com.amazonaws.braket";
462
+ const _s_registry = TypeRegistry.for(_s);
463
+ var BraketServiceException$ = [-3, _s, "BraketServiceException", 0, [], []];
464
+ _s_registry.registerError(BraketServiceException$, BraketServiceException);
465
+ const n0_registry = TypeRegistry.for(n0);
466
+ var AccessDeniedException$ = [-3, n0, _ADE,
467
+ { [_e]: _c, [_hE]: 403 },
468
+ [_m],
469
+ [0]
470
+ ];
471
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
472
+ var ConflictException$ = [-3, n0, _CE,
473
+ { [_e]: _c, [_hE]: 409 },
474
+ [_m],
475
+ [0]
476
+ ];
477
+ n0_registry.registerError(ConflictException$, ConflictException);
478
+ var DeviceOfflineException$ = [-3, n0, _DOE,
479
+ { [_e]: _c, [_hE]: 424 },
480
+ [_m],
481
+ [0]
482
+ ];
483
+ n0_registry.registerError(DeviceOfflineException$, DeviceOfflineException);
484
+ var DeviceRetiredException$ = [-3, n0, _DRE,
485
+ { [_e]: _c, [_hE]: 410 },
486
+ [_m],
487
+ [0]
488
+ ];
489
+ n0_registry.registerError(DeviceRetiredException$, DeviceRetiredException);
490
+ var InternalServiceException$ = [-3, n0, _ISE,
491
+ { [_e]: _se, [_hE]: 500 },
492
+ [_m],
493
+ [0]
494
+ ];
495
+ n0_registry.registerError(InternalServiceException$, InternalServiceException);
496
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
497
+ { [_e]: _c, [_hE]: 404 },
498
+ [_m],
499
+ [0]
500
+ ];
501
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
502
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
503
+ { [_e]: _c, [_hE]: 402 },
504
+ [_m],
505
+ [0]
506
+ ];
507
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
508
+ var ThrottlingException$ = [-3, n0, _TE,
509
+ { [_e]: _c, [_hE]: 429 },
510
+ [_m],
511
+ [0]
512
+ ];
513
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
514
+ var ValidationException$ = [-3, n0, _VE,
515
+ { [_e]: _c, [_hE]: 400 },
516
+ [_m, _r, _pSVF],
517
+ [0, 0, () => ProgramSetValidationFailuresList]
518
+ ];
519
+ n0_registry.registerError(ValidationException$, ValidationException);
520
+ const errorTypeRegistries = [
521
+ _s_registry,
522
+ n0_registry,
523
+ ];
524
+ var JsonValue = [0, n0, _JV, { [_mT]: _a }, 0];
525
+ var ActionMetadata$ = [3, n0, _AM,
526
+ 0,
527
+ [_aT, _pC, _eC],
528
+ [0, 1, 1], 1
529
+ ];
530
+ var AlgorithmSpecification$ = [3, n0, _AS,
531
+ 0,
532
+ [_sMC, _cI],
533
+ [() => ScriptModeConfig$, () => ContainerImage$]
534
+ ];
535
+ var Association$ = [3, n0, _A,
536
+ 0,
537
+ [_ar, _t],
538
+ [0, 0], 2
539
+ ];
540
+ var CancelJobRequest$ = [3, n0, _CJR,
541
+ 0,
542
+ [_jA],
543
+ [[0, 1]], 1
544
+ ];
545
+ var CancelJobResponse$ = [3, n0, _CJRa,
546
+ 0,
547
+ [_jA, _cS],
548
+ [0, 0], 2
549
+ ];
550
+ var CancelQuantumTaskRequest$ = [3, n0, _CQTR,
551
+ 0,
552
+ [_qTA, _cT],
553
+ [[0, 1], [0, 4]], 1
554
+ ];
555
+ var CancelQuantumTaskResponse$ = [3, n0, _CQTRa,
556
+ 0,
557
+ [_qTA, _cS],
558
+ [0, 0], 2
559
+ ];
560
+ var ContainerImage$ = [3, n0, _CI,
561
+ 0,
562
+ [_u],
563
+ [0], 1
564
+ ];
565
+ var CreateJobRequest$ = [3, n0, _CJRr,
566
+ 0,
567
+ [_aS, _oDC, _jN, _rA, _iC, _dC, _cT, _iDC, _cC, _sC, _hP, _ta, _as],
568
+ [() => AlgorithmSpecification$, () => JobOutputDataConfig$, 0, 0, () => InstanceConfig$, () => DeviceConfig$, [0, 4], () => InputConfigList, () => JobCheckpointConfig$, () => JobStoppingCondition$, 128 | 0, 128 | 0, () => Associations], 6
569
+ ];
570
+ var CreateJobResponse$ = [3, n0, _CJRre,
571
+ 0,
572
+ [_jA],
573
+ [0], 1
574
+ ];
575
+ var CreateQuantumTaskRequest$ = [3, n0, _CQTRr,
576
+ 0,
577
+ [_dA, _sh, _oSB, _oSKP, _ac, _cT, _dP, _ta, _jT, _as, _eCx],
578
+ [0, 1, 0, 0, [() => JsonValue, 0], [0, 4], [() => JsonValue, 0], 128 | 0, 0, () => Associations, () => ExperimentalCapabilities$], 5
579
+ ];
580
+ var CreateQuantumTaskResponse$ = [3, n0, _CQTRre,
581
+ 0,
582
+ [_qTA],
583
+ [0], 1
584
+ ];
585
+ var CreateSpendingLimitRequest$ = [3, n0, _CSLR,
586
+ 0,
587
+ [_dA, _sL, _cT, _tP, _ta],
588
+ [0, 0, [0, 4], () => TimePeriod$, 128 | 0], 2
589
+ ];
590
+ var CreateSpendingLimitResponse$ = [3, n0, _CSLRr,
591
+ 0,
592
+ [_sLA],
593
+ [0], 1
594
+ ];
595
+ var DataSource$ = [3, n0, _DS,
596
+ 0,
597
+ [_sDS],
598
+ [() => S3DataSource$], 1
599
+ ];
600
+ var DeleteSpendingLimitRequest$ = [3, n0, _DSLR,
601
+ 0,
602
+ [_sLA],
603
+ [[0, 1]], 1
604
+ ];
605
+ var DeleteSpendingLimitResponse$ = [3, n0, _DSLRe,
606
+ 0,
607
+ [],
608
+ []
609
+ ];
610
+ var DeviceConfig$ = [3, n0, _DC,
611
+ 0,
612
+ [_d],
613
+ [0], 1
614
+ ];
615
+ var DeviceQueueInfo$ = [3, n0, _DQI,
616
+ 0,
617
+ [_q, _qS, _qP],
618
+ [0, 0, 0], 2
619
+ ];
620
+ var DeviceSummary$ = [3, n0, _DSe,
621
+ 0,
622
+ [_dA, _dN, _pN, _dT, _dS],
623
+ [0, 0, 0, 0, 0], 5
624
+ ];
625
+ var GetDeviceRequest$ = [3, n0, _GDR,
626
+ 0,
627
+ [_dA],
628
+ [[0, 1]], 1
629
+ ];
630
+ var GetDeviceResponse$ = [3, n0, _GDRe,
631
+ 0,
632
+ [_dA, _dN, _pN, _dT, _dS, _dCe, _dQI],
633
+ [0, 0, 0, 0, 0, [() => JsonValue, 0], () => DeviceQueueInfoList], 6
634
+ ];
635
+ var GetJobRequest$ = [3, n0, _GJR,
636
+ 0,
637
+ [_jA, _aAN],
638
+ [[0, 1], [64 | 0, { [_hQ]: _aAN }]], 1
639
+ ];
640
+ var GetJobResponse$ = [3, n0, _GJRe,
641
+ 0,
642
+ [_st, _jA, _rA, _jN, _oDC, _aS, _iC, _cA, _fR, _hP, _iDC, _sC, _cC, _sA, _eA, _bD, _dC, _ev, _ta, _qI, _as],
643
+ [0, 0, 0, 0, () => JobOutputDataConfig$, () => AlgorithmSpecification$, () => InstanceConfig$, 5, 0, 128 | 0, () => InputConfigList, () => JobStoppingCondition$, () => JobCheckpointConfig$, 5, 5, 1, () => DeviceConfig$, () => JobEvents, 128 | 0, () => HybridJobQueueInfo$, () => Associations], 8
644
+ ];
645
+ var GetQuantumTaskRequest$ = [3, n0, _GQTR,
646
+ 0,
647
+ [_qTA, _aAN],
648
+ [[0, 1], [64 | 0, { [_hQ]: _aAN }]], 1
649
+ ];
650
+ var GetQuantumTaskResponse$ = [3, n0, _GQTRe,
651
+ 0,
652
+ [_qTA, _st, _dA, _dP, _sh, _oSB, _oSD, _cA, _fR, _eA, _ta, _jA, _qI, _as, _nSS, _aM, _eCx],
653
+ [0, 0, 0, [() => JsonValue, 0], 1, 0, 0, 5, 0, 5, 128 | 0, 0, () => QuantumTaskQueueInfo$, () => Associations, 1, () => ActionMetadata$, () => ExperimentalCapabilities$], 8
654
+ ];
655
+ var HybridJobQueueInfo$ = [3, n0, _HJQI,
656
+ 0,
657
+ [_q, _p, _m],
658
+ [0, 0, 0], 2
659
+ ];
660
+ var InputFileConfig$ = [3, n0, _IFC,
661
+ 0,
662
+ [_cN, _dSa, _cTo],
663
+ [0, () => DataSource$, 0], 2
664
+ ];
665
+ var InstanceConfig$ = [3, n0, _IC,
666
+ 0,
667
+ [_iT, _vSIG, _iCn],
668
+ [0, 1, 1], 2
669
+ ];
670
+ var JobCheckpointConfig$ = [3, n0, _JCC,
671
+ 0,
672
+ [_sU, _lP],
673
+ [0, 0], 1
674
+ ];
675
+ var JobEventDetails$ = [3, n0, _JED,
676
+ 0,
677
+ [_eT, _tOE, _m],
678
+ [0, 5, 0]
679
+ ];
680
+ var JobOutputDataConfig$ = [3, n0, _JODC,
681
+ 0,
682
+ [_sP, _kKI],
683
+ [0, 0], 1
684
+ ];
685
+ var JobStoppingCondition$ = [3, n0, _JSC,
686
+ 0,
687
+ [_mRIS],
688
+ [1]
689
+ ];
690
+ var JobSummary$ = [3, n0, _JS,
691
+ 0,
692
+ [_st, _jA, _jN, _d, _cA, _sA, _eA, _ta],
693
+ [0, 0, 0, 0, 5, 5, 5, 128 | 0], 5
694
+ ];
695
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
696
+ 0,
697
+ [_rAe],
698
+ [[0, 1]], 1
699
+ ];
700
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
701
+ 0,
702
+ [_ta],
703
+ [128 | 0]
704
+ ];
705
+ var ProgramSetValidationFailure$ = [3, n0, _PSVF,
706
+ 0,
707
+ [_pI, _iI, _er],
708
+ [1, 1, 64 | 0], 1
709
+ ];
710
+ var QuantumTaskQueueInfo$ = [3, n0, _QTQI,
711
+ 0,
712
+ [_q, _p, _qP, _m],
713
+ [0, 0, 0, 0], 2
714
+ ];
715
+ var QuantumTaskSummary$ = [3, n0, _QTS,
716
+ 0,
717
+ [_qTA, _st, _dA, _sh, _oSB, _oSD, _cA, _eA, _ta],
718
+ [0, 0, 0, 1, 0, 0, 5, 5, 128 | 0], 7
719
+ ];
720
+ var S3DataSource$ = [3, n0, _SDS,
721
+ 0,
722
+ [_sU],
723
+ [0], 1
724
+ ];
725
+ var ScriptModeConfig$ = [3, n0, _SMC,
726
+ 0,
727
+ [_eP, _sU, _cTom],
728
+ [0, 0, 0], 2
729
+ ];
730
+ var SearchDevicesFilter$ = [3, n0, _SDF,
731
+ 0,
732
+ [_n, _v],
733
+ [0, 64 | 0], 2
734
+ ];
735
+ var SearchDevicesRequest$ = [3, n0, _SDR,
736
+ 0,
737
+ [_f, _nT, _mR],
738
+ [() => SearchDevicesFilterList, 0, 1], 1
739
+ ];
740
+ var SearchDevicesResponse$ = [3, n0, _SDRe,
741
+ 0,
742
+ [_de, _nT],
743
+ [() => DeviceSummaryList, 0], 1
744
+ ];
745
+ var SearchJobsFilter$ = [3, n0, _SJF,
746
+ 0,
747
+ [_n, _v, _o],
748
+ [0, 64 | 0, 0], 3
749
+ ];
750
+ var SearchJobsRequest$ = [3, n0, _SJR,
751
+ 0,
752
+ [_f, _nT, _mR],
753
+ [() => SearchJobsFilterList, 0, 1], 1
754
+ ];
755
+ var SearchJobsResponse$ = [3, n0, _SJRe,
756
+ 0,
757
+ [_j, _nT],
758
+ [() => JobSummaryList, 0], 1
759
+ ];
760
+ var SearchQuantumTasksFilter$ = [3, n0, _SQTF,
761
+ 0,
762
+ [_n, _v, _o],
763
+ [0, 64 | 0, 0], 3
764
+ ];
765
+ var SearchQuantumTasksRequest$ = [3, n0, _SQTR,
766
+ 0,
767
+ [_f, _nT, _mR],
768
+ [() => SearchQuantumTasksFilterList, 0, 1], 1
769
+ ];
770
+ var SearchQuantumTasksResponse$ = [3, n0, _SQTRe,
771
+ 0,
772
+ [_qT, _nT],
773
+ [() => QuantumTaskSummaryList, 0], 1
774
+ ];
775
+ var SearchSpendingLimitsFilter$ = [3, n0, _SSLF,
776
+ 0,
777
+ [_n, _v, _o],
778
+ [0, 64 | 0, 0], 3
779
+ ];
780
+ var SearchSpendingLimitsRequest$ = [3, n0, _SSLR,
781
+ 0,
782
+ [_nT, _mR, _f],
783
+ [0, 1, () => SearchSpendingLimitsFilterList]
784
+ ];
785
+ var SearchSpendingLimitsResponse$ = [3, n0, _SSLRe,
786
+ 0,
787
+ [_sLp, _nT],
788
+ [() => SpendingLimitSummaryList, 0], 1
789
+ ];
790
+ var SpendingLimitSummary$ = [3, n0, _SLS,
791
+ 0,
792
+ [_sLA, _dA, _tP, _sL, _qSu, _tS, _cA, _uA, _ta],
793
+ [0, 0, () => TimePeriod$, 0, 0, 0, 5, 5, 128 | 0], 8
794
+ ];
795
+ var TagResourceRequest$ = [3, n0, _TRR,
796
+ 0,
797
+ [_rAe, _ta],
798
+ [[0, 1], 128 | 0], 2
799
+ ];
800
+ var TagResourceResponse$ = [3, n0, _TRRa,
801
+ 0,
802
+ [],
803
+ []
804
+ ];
805
+ var TimePeriod$ = [3, n0, _TP,
806
+ 0,
807
+ [_sAt, _eAn],
808
+ [7, 7], 2
809
+ ];
810
+ var UntagResourceRequest$ = [3, n0, _URR,
811
+ 0,
812
+ [_rAe, _tK],
813
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
814
+ ];
815
+ var UntagResourceResponse$ = [3, n0, _URRn,
816
+ 0,
817
+ [],
818
+ []
819
+ ];
820
+ var UpdateSpendingLimitRequest$ = [3, n0, _USLR,
821
+ 0,
822
+ [_sLA, _cT, _sL, _tP],
823
+ [[0, 1], [0, 4], 0, () => TimePeriod$], 1
824
+ ];
825
+ var UpdateSpendingLimitResponse$ = [3, n0, _USLRp,
826
+ 0,
827
+ [],
828
+ []
829
+ ];
830
+ var Associations = [1, n0, _As,
831
+ 0, () => Association$
832
+ ];
833
+ var DeviceQueueInfoList = [1, n0, _DQIL,
834
+ 0, () => DeviceQueueInfo$
835
+ ];
836
+ var DeviceSummaryList = [1, n0, _DSL,
837
+ 0, () => DeviceSummary$
838
+ ];
839
+ var InputConfigList = [1, n0, _ICL,
840
+ 0, () => InputFileConfig$
841
+ ];
842
+ var JobEvents = [1, n0, _JE,
843
+ 0, () => JobEventDetails$
844
+ ];
845
+ var JobSummaryList = [1, n0, _JSL,
846
+ 0, () => JobSummary$
847
+ ];
848
+ var ProgramSetValidationFailuresList = [1, n0, _PSVFL,
849
+ 0, () => ProgramSetValidationFailure$
850
+ ];
851
+ var QuantumTaskSummaryList = [1, n0, _QTSL,
852
+ 0, () => QuantumTaskSummary$
853
+ ];
854
+ var SearchDevicesFilterList = [1, n0, _SDFL,
855
+ 0, () => SearchDevicesFilter$
856
+ ];
857
+ var SearchJobsFilterList = [1, n0, _SJFL,
858
+ 0, () => SearchJobsFilter$
859
+ ];
860
+ var SearchQuantumTasksFilterList = [1, n0, _SQTFL,
861
+ 0, () => SearchQuantumTasksFilter$
862
+ ];
863
+ var SearchSpendingLimitsFilterList = [1, n0, _SSLFL,
864
+ 0, () => SearchSpendingLimitsFilter$
865
+ ];
866
+ var SpendingLimitSummaryList = [1, n0, _SLSL,
867
+ 0, () => SpendingLimitSummary$
868
+ ];
869
+ var ExperimentalCapabilities$ = [4, n0, _EC,
870
+ 0,
871
+ [_en],
872
+ [0]
873
+ ];
874
+ var CancelJob$ = [9, n0, _CJ,
875
+ { [_h]: ["PUT", "/job/{jobArn}/cancel", 200] }, () => CancelJobRequest$, () => CancelJobResponse$
876
+ ];
877
+ var CancelQuantumTask$ = [9, n0, _CQT,
878
+ { [_h]: ["PUT", "/quantum-task/{quantumTaskArn}/cancel", 200] }, () => CancelQuantumTaskRequest$, () => CancelQuantumTaskResponse$
879
+ ];
880
+ var CreateJob$ = [9, n0, _CJr,
881
+ { [_h]: ["POST", "/job", 201] }, () => CreateJobRequest$, () => CreateJobResponse$
882
+ ];
883
+ var CreateQuantumTask$ = [9, n0, _CQTr,
884
+ { [_h]: ["POST", "/quantum-task", 201] }, () => CreateQuantumTaskRequest$, () => CreateQuantumTaskResponse$
885
+ ];
886
+ var CreateSpendingLimit$ = [9, n0, _CSL,
887
+ { [_h]: ["POST", "/spending-limit", 201] }, () => CreateSpendingLimitRequest$, () => CreateSpendingLimitResponse$
888
+ ];
889
+ var DeleteSpendingLimit$ = [9, n0, _DSLe,
890
+ { [_h]: ["DELETE", "/spending-limit/{spendingLimitArn}/delete", 200] }, () => DeleteSpendingLimitRequest$, () => DeleteSpendingLimitResponse$
891
+ ];
892
+ var GetDevice$ = [9, n0, _GD,
893
+ { [_h]: ["GET", "/device/{deviceArn}", 200] }, () => GetDeviceRequest$, () => GetDeviceResponse$
894
+ ];
895
+ var GetJob$ = [9, n0, _GJ,
896
+ { [_h]: ["GET", "/job/{jobArn}", 200] }, () => GetJobRequest$, () => GetJobResponse$
897
+ ];
898
+ var GetQuantumTask$ = [9, n0, _GQT,
899
+ { [_h]: ["GET", "/quantum-task/{quantumTaskArn}", 200] }, () => GetQuantumTaskRequest$, () => GetQuantumTaskResponse$
900
+ ];
901
+ var ListTagsForResource$ = [9, n0, _LTFR,
902
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
903
+ ];
904
+ var SearchDevices$ = [9, n0, _SD,
905
+ { [_h]: ["POST", "/devices", 200] }, () => SearchDevicesRequest$, () => SearchDevicesResponse$
906
+ ];
907
+ var SearchJobs$ = [9, n0, _SJ,
908
+ { [_h]: ["POST", "/jobs", 200] }, () => SearchJobsRequest$, () => SearchJobsResponse$
909
+ ];
910
+ var SearchQuantumTasks$ = [9, n0, _SQT,
911
+ { [_h]: ["POST", "/quantum-tasks", 200] }, () => SearchQuantumTasksRequest$, () => SearchQuantumTasksResponse$
912
+ ];
913
+ var SearchSpendingLimits$ = [9, n0, _SSL,
914
+ { [_h]: ["POST", "/spending-limits", 200] }, () => SearchSpendingLimitsRequest$, () => SearchSpendingLimitsResponse$
915
+ ];
916
+ var TagResource$ = [9, n0, _TR,
917
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
918
+ ];
919
+ var UntagResource$ = [9, n0, _UR,
920
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
921
+ ];
922
+ var UpdateSpendingLimit$ = [9, n0, _USL,
923
+ { [_h]: ["PATCH", "/spending-limit/{spendingLimitArn}/update", 200] }, () => UpdateSpendingLimitRequest$, () => UpdateSpendingLimitResponse$
924
+ ];
925
+
926
+ const getRuntimeConfig$1 = (config) => {
927
+ return {
928
+ apiVersion: "2019-09-01",
929
+ base64Decoder: config?.base64Decoder ?? fromBase64,
930
+ base64Encoder: config?.base64Encoder ?? toBase64,
931
+ disableHostPrefix: config?.disableHostPrefix ?? false,
932
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
933
+ extensions: config?.extensions ?? [],
934
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBraketHttpAuthSchemeProvider,
935
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
936
+ {
937
+ schemeId: "aws.auth#sigv4",
938
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
939
+ signer: new AwsSdkSigV4Signer(),
940
+ },
941
+ ],
942
+ logger: config?.logger ?? new NoOpLogger(),
943
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
944
+ protocolSettings: config?.protocolSettings ?? {
945
+ defaultNamespace: "com.amazonaws.braket",
946
+ errorTypeRegistries,
947
+ version: "2019-09-01",
948
+ serviceTarget: "Braket",
949
+ },
950
+ serviceId: config?.serviceId ?? "Braket",
951
+ urlParser: config?.urlParser ?? parseUrl,
952
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
953
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
954
+ };
955
+ };
956
+
957
+ const getRuntimeConfig = (config) => {
958
+ emitWarningIfUnsupportedVersion(process.version);
959
+ const defaultsMode = resolveDefaultsModeConfig(config);
960
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
961
+ const clientSharedValues = getRuntimeConfig$1(config);
962
+ emitWarningIfUnsupportedVersion$1(process.version);
963
+ const loaderConfig = {
964
+ profile: config?.profile,
965
+ logger: clientSharedValues.logger,
966
+ };
967
+ return {
968
+ ...clientSharedValues,
969
+ ...config,
970
+ runtime: "node",
971
+ defaultsMode,
972
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
973
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
974
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
975
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
976
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
977
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
978
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
979
+ retryMode: config?.retryMode ??
980
+ loadConfig({
981
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
982
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
983
+ }, config),
984
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
985
+ streamCollector: config?.streamCollector ?? streamCollector,
986
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
987
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
988
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
989
+ };
990
+ };
991
+
34
992
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
993
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
994
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -504,43 +1462,143 @@ const SearchSpendingLimitsFilterOperator = {
504
1462
  EQUAL: "EQUAL",
505
1463
  };
506
1464
 
1465
+ exports.AccessDeniedException = AccessDeniedException;
1466
+ exports.AccessDeniedException$ = AccessDeniedException$;
1467
+ exports.ActionMetadata$ = ActionMetadata$;
1468
+ exports.AlgorithmSpecification$ = AlgorithmSpecification$;
1469
+ exports.Association$ = Association$;
507
1470
  exports.AssociationType = AssociationType;
508
1471
  exports.Braket = Braket;
509
1472
  exports.BraketClient = BraketClient;
1473
+ exports.BraketServiceException = BraketServiceException;
1474
+ exports.BraketServiceException$ = BraketServiceException$;
1475
+ exports.CancelJob$ = CancelJob$;
510
1476
  exports.CancelJobCommand = CancelJobCommand;
1477
+ exports.CancelJobRequest$ = CancelJobRequest$;
1478
+ exports.CancelJobResponse$ = CancelJobResponse$;
1479
+ exports.CancelQuantumTask$ = CancelQuantumTask$;
511
1480
  exports.CancelQuantumTaskCommand = CancelQuantumTaskCommand;
1481
+ exports.CancelQuantumTaskRequest$ = CancelQuantumTaskRequest$;
1482
+ exports.CancelQuantumTaskResponse$ = CancelQuantumTaskResponse$;
512
1483
  exports.CancellationStatus = CancellationStatus;
513
1484
  exports.CompressionType = CompressionType;
1485
+ exports.ConflictException = ConflictException;
1486
+ exports.ConflictException$ = ConflictException$;
1487
+ exports.ContainerImage$ = ContainerImage$;
1488
+ exports.CreateJob$ = CreateJob$;
514
1489
  exports.CreateJobCommand = CreateJobCommand;
1490
+ exports.CreateJobRequest$ = CreateJobRequest$;
1491
+ exports.CreateJobResponse$ = CreateJobResponse$;
1492
+ exports.CreateQuantumTask$ = CreateQuantumTask$;
515
1493
  exports.CreateQuantumTaskCommand = CreateQuantumTaskCommand;
1494
+ exports.CreateQuantumTaskRequest$ = CreateQuantumTaskRequest$;
1495
+ exports.CreateQuantumTaskResponse$ = CreateQuantumTaskResponse$;
1496
+ exports.CreateSpendingLimit$ = CreateSpendingLimit$;
516
1497
  exports.CreateSpendingLimitCommand = CreateSpendingLimitCommand;
1498
+ exports.CreateSpendingLimitRequest$ = CreateSpendingLimitRequest$;
1499
+ exports.CreateSpendingLimitResponse$ = CreateSpendingLimitResponse$;
1500
+ exports.DataSource$ = DataSource$;
1501
+ exports.DeleteSpendingLimit$ = DeleteSpendingLimit$;
517
1502
  exports.DeleteSpendingLimitCommand = DeleteSpendingLimitCommand;
1503
+ exports.DeleteSpendingLimitRequest$ = DeleteSpendingLimitRequest$;
1504
+ exports.DeleteSpendingLimitResponse$ = DeleteSpendingLimitResponse$;
1505
+ exports.DeviceConfig$ = DeviceConfig$;
1506
+ exports.DeviceOfflineException = DeviceOfflineException;
1507
+ exports.DeviceOfflineException$ = DeviceOfflineException$;
1508
+ exports.DeviceQueueInfo$ = DeviceQueueInfo$;
1509
+ exports.DeviceRetiredException = DeviceRetiredException;
1510
+ exports.DeviceRetiredException$ = DeviceRetiredException$;
518
1511
  exports.DeviceStatus = DeviceStatus;
1512
+ exports.DeviceSummary$ = DeviceSummary$;
519
1513
  exports.DeviceType = DeviceType;
1514
+ exports.ExperimentalCapabilities$ = ExperimentalCapabilities$;
520
1515
  exports.ExperimentalCapabilitiesEnablementType = ExperimentalCapabilitiesEnablementType;
1516
+ exports.GetDevice$ = GetDevice$;
521
1517
  exports.GetDeviceCommand = GetDeviceCommand;
1518
+ exports.GetDeviceRequest$ = GetDeviceRequest$;
1519
+ exports.GetDeviceResponse$ = GetDeviceResponse$;
1520
+ exports.GetJob$ = GetJob$;
522
1521
  exports.GetJobCommand = GetJobCommand;
1522
+ exports.GetJobRequest$ = GetJobRequest$;
1523
+ exports.GetJobResponse$ = GetJobResponse$;
1524
+ exports.GetQuantumTask$ = GetQuantumTask$;
523
1525
  exports.GetQuantumTaskCommand = GetQuantumTaskCommand;
1526
+ exports.GetQuantumTaskRequest$ = GetQuantumTaskRequest$;
1527
+ exports.GetQuantumTaskResponse$ = GetQuantumTaskResponse$;
524
1528
  exports.HybridJobAdditionalAttributeName = HybridJobAdditionalAttributeName;
1529
+ exports.HybridJobQueueInfo$ = HybridJobQueueInfo$;
1530
+ exports.InputFileConfig$ = InputFileConfig$;
1531
+ exports.InstanceConfig$ = InstanceConfig$;
1532
+ exports.InternalServiceException = InternalServiceException;
1533
+ exports.InternalServiceException$ = InternalServiceException$;
1534
+ exports.JobCheckpointConfig$ = JobCheckpointConfig$;
1535
+ exports.JobEventDetails$ = JobEventDetails$;
525
1536
  exports.JobEventType = JobEventType;
1537
+ exports.JobOutputDataConfig$ = JobOutputDataConfig$;
526
1538
  exports.JobPrimaryStatus = JobPrimaryStatus;
1539
+ exports.JobStoppingCondition$ = JobStoppingCondition$;
1540
+ exports.JobSummary$ = JobSummary$;
1541
+ exports.ListTagsForResource$ = ListTagsForResource$;
527
1542
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1543
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1544
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1545
+ exports.ProgramSetValidationFailure$ = ProgramSetValidationFailure$;
528
1546
  exports.QuantumTaskAdditionalAttributeName = QuantumTaskAdditionalAttributeName;
1547
+ exports.QuantumTaskQueueInfo$ = QuantumTaskQueueInfo$;
529
1548
  exports.QuantumTaskStatus = QuantumTaskStatus;
1549
+ exports.QuantumTaskSummary$ = QuantumTaskSummary$;
530
1550
  exports.QueueName = QueueName;
531
1551
  exports.QueuePriority = QueuePriority;
1552
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1553
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1554
+ exports.S3DataSource$ = S3DataSource$;
1555
+ exports.ScriptModeConfig$ = ScriptModeConfig$;
1556
+ exports.SearchDevices$ = SearchDevices$;
532
1557
  exports.SearchDevicesCommand = SearchDevicesCommand;
1558
+ exports.SearchDevicesFilter$ = SearchDevicesFilter$;
1559
+ exports.SearchDevicesRequest$ = SearchDevicesRequest$;
1560
+ exports.SearchDevicesResponse$ = SearchDevicesResponse$;
1561
+ exports.SearchJobs$ = SearchJobs$;
533
1562
  exports.SearchJobsCommand = SearchJobsCommand;
1563
+ exports.SearchJobsFilter$ = SearchJobsFilter$;
534
1564
  exports.SearchJobsFilterOperator = SearchJobsFilterOperator;
1565
+ exports.SearchJobsRequest$ = SearchJobsRequest$;
1566
+ exports.SearchJobsResponse$ = SearchJobsResponse$;
1567
+ exports.SearchQuantumTasks$ = SearchQuantumTasks$;
535
1568
  exports.SearchQuantumTasksCommand = SearchQuantumTasksCommand;
1569
+ exports.SearchQuantumTasksFilter$ = SearchQuantumTasksFilter$;
536
1570
  exports.SearchQuantumTasksFilterOperator = SearchQuantumTasksFilterOperator;
1571
+ exports.SearchQuantumTasksRequest$ = SearchQuantumTasksRequest$;
1572
+ exports.SearchQuantumTasksResponse$ = SearchQuantumTasksResponse$;
1573
+ exports.SearchSpendingLimits$ = SearchSpendingLimits$;
537
1574
  exports.SearchSpendingLimitsCommand = SearchSpendingLimitsCommand;
1575
+ exports.SearchSpendingLimitsFilter$ = SearchSpendingLimitsFilter$;
538
1576
  exports.SearchSpendingLimitsFilterOperator = SearchSpendingLimitsFilterOperator;
1577
+ exports.SearchSpendingLimitsRequest$ = SearchSpendingLimitsRequest$;
1578
+ exports.SearchSpendingLimitsResponse$ = SearchSpendingLimitsResponse$;
1579
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1580
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1581
+ exports.SpendingLimitSummary$ = SpendingLimitSummary$;
1582
+ exports.TagResource$ = TagResource$;
539
1583
  exports.TagResourceCommand = TagResourceCommand;
1584
+ exports.TagResourceRequest$ = TagResourceRequest$;
1585
+ exports.TagResourceResponse$ = TagResourceResponse$;
1586
+ exports.ThrottlingException = ThrottlingException;
1587
+ exports.ThrottlingException$ = ThrottlingException$;
1588
+ exports.TimePeriod$ = TimePeriod$;
1589
+ exports.UntagResource$ = UntagResource$;
540
1590
  exports.UntagResourceCommand = UntagResourceCommand;
1591
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1592
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1593
+ exports.UpdateSpendingLimit$ = UpdateSpendingLimit$;
541
1594
  exports.UpdateSpendingLimitCommand = UpdateSpendingLimitCommand;
1595
+ exports.UpdateSpendingLimitRequest$ = UpdateSpendingLimitRequest$;
1596
+ exports.UpdateSpendingLimitResponse$ = UpdateSpendingLimitResponse$;
1597
+ exports.ValidationException = ValidationException;
1598
+ exports.ValidationException$ = ValidationException$;
542
1599
  exports.ValidationExceptionReason = ValidationExceptionReason;
543
1600
  exports._InstanceType = _InstanceType;
1601
+ exports.errorTypeRegistries = errorTypeRegistries;
544
1602
  exports.paginateSearchDevices = paginateSearchDevices;
545
1603
  exports.paginateSearchJobs = paginateSearchJobs;
546
1604
  exports.paginateSearchQuantumTasks = paginateSearchQuantumTasks;