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