@aws-sdk/client-braket 3.935.0 → 3.937.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/README.md +32 -0
- package/dist-cjs/index.js +173 -0
- package/dist-es/Braket.js +8 -0
- package/dist-es/commands/CreateSpendingLimitCommand.js +16 -0
- package/dist-es/commands/DeleteSpendingLimitCommand.js +16 -0
- package/dist-es/commands/SearchSpendingLimitsCommand.js +16 -0
- package/dist-es/commands/UpdateSpendingLimitCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/pagination/SearchSpendingLimitsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +114 -0
- package/dist-types/Braket.d.ts +29 -0
- package/dist-types/BraketClient.d.ts +6 -2
- package/dist-types/commands/CreateSpendingLimitCommand.d.ts +98 -0
- package/dist-types/commands/DeleteSpendingLimitCommand.d.ts +87 -0
- package/dist-types/commands/SearchSpendingLimitsCommand.d.ts +114 -0
- package/dist-types/commands/UpdateSpendingLimitCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +219 -0
- package/dist-types/pagination/SearchSpendingLimitsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/Braket.d.ts +69 -0
- package/dist-types/ts3.4/BraketClient.d.ts +26 -2
- package/dist-types/ts3.4/commands/CreateSpendingLimitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteSpendingLimitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchSpendingLimitsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateSpendingLimitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -0
- package/dist-types/ts3.4/pagination/SearchSpendingLimitsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -234,6 +234,22 @@ CreateQuantumTask
|
|
|
234
234
|
|
|
235
235
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/braket/command/CreateQuantumTaskCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/CreateQuantumTaskCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/CreateQuantumTaskCommandOutput/)
|
|
236
236
|
|
|
237
|
+
</details>
|
|
238
|
+
<details>
|
|
239
|
+
<summary>
|
|
240
|
+
CreateSpendingLimit
|
|
241
|
+
</summary>
|
|
242
|
+
|
|
243
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/braket/command/CreateSpendingLimitCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/CreateSpendingLimitCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/CreateSpendingLimitCommandOutput/)
|
|
244
|
+
|
|
245
|
+
</details>
|
|
246
|
+
<details>
|
|
247
|
+
<summary>
|
|
248
|
+
DeleteSpendingLimit
|
|
249
|
+
</summary>
|
|
250
|
+
|
|
251
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/braket/command/DeleteSpendingLimitCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/DeleteSpendingLimitCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/DeleteSpendingLimitCommandOutput/)
|
|
252
|
+
|
|
237
253
|
</details>
|
|
238
254
|
<details>
|
|
239
255
|
<summary>
|
|
@@ -290,6 +306,14 @@ SearchQuantumTasks
|
|
|
290
306
|
|
|
291
307
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/braket/command/SearchQuantumTasksCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/SearchQuantumTasksCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/SearchQuantumTasksCommandOutput/)
|
|
292
308
|
|
|
309
|
+
</details>
|
|
310
|
+
<details>
|
|
311
|
+
<summary>
|
|
312
|
+
SearchSpendingLimits
|
|
313
|
+
</summary>
|
|
314
|
+
|
|
315
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/braket/command/SearchSpendingLimitsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/SearchSpendingLimitsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/SearchSpendingLimitsCommandOutput/)
|
|
316
|
+
|
|
293
317
|
</details>
|
|
294
318
|
<details>
|
|
295
319
|
<summary>
|
|
@@ -307,3 +331,11 @@ UntagResource
|
|
|
307
331
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/braket/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/UntagResourceCommandOutput/)
|
|
308
332
|
|
|
309
333
|
</details>
|
|
334
|
+
<details>
|
|
335
|
+
<summary>
|
|
336
|
+
UpdateSpendingLimit
|
|
337
|
+
</summary>
|
|
338
|
+
|
|
339
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/braket/command/UpdateSpendingLimitCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/UpdateSpendingLimitCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-braket/Interface/UpdateSpendingLimitCommandOutput/)
|
|
340
|
+
|
|
341
|
+
</details>
|
package/dist-cjs/index.js
CHANGED
|
@@ -249,6 +249,9 @@ const _CQTRa = "CancelQuantumTaskResponse";
|
|
|
249
249
|
const _CQTRr = "CreateQuantumTaskRequest";
|
|
250
250
|
const _CQTRre = "CreateQuantumTaskResponse";
|
|
251
251
|
const _CQTr = "CreateQuantumTask";
|
|
252
|
+
const _CSL = "CreateSpendingLimit";
|
|
253
|
+
const _CSLR = "CreateSpendingLimitRequest";
|
|
254
|
+
const _CSLRr = "CreateSpendingLimitResponse";
|
|
252
255
|
const _DC = "DeviceConfig";
|
|
253
256
|
const _DOE = "DeviceOfflineException";
|
|
254
257
|
const _DQI = "DeviceQueueInfo";
|
|
@@ -256,6 +259,9 @@ const _DQIL = "DeviceQueueInfoList";
|
|
|
256
259
|
const _DRE = "DeviceRetiredException";
|
|
257
260
|
const _DS = "DataSource";
|
|
258
261
|
const _DSL = "DeviceSummaryList";
|
|
262
|
+
const _DSLR = "DeleteSpendingLimitRequest";
|
|
263
|
+
const _DSLRe = "DeleteSpendingLimitResponse";
|
|
264
|
+
const _DSLe = "DeleteSpendingLimit";
|
|
259
265
|
const _DSe = "DeviceSummary";
|
|
260
266
|
const _EC = "ExperimentalCapabilities";
|
|
261
267
|
const _GD = "GetDevice";
|
|
@@ -300,6 +306,8 @@ const _SJF = "SearchJobsFilter";
|
|
|
300
306
|
const _SJFL = "SearchJobsFilterList";
|
|
301
307
|
const _SJR = "SearchJobsRequest";
|
|
302
308
|
const _SJRe = "SearchJobsResponse";
|
|
309
|
+
const _SLS = "SpendingLimitSummary";
|
|
310
|
+
const _SLSL = "SpendingLimitSummaryList";
|
|
303
311
|
const _SMC = "ScriptModeConfig";
|
|
304
312
|
const _SQEE = "ServiceQuotaExceededException";
|
|
305
313
|
const _SQT = "SearchQuantumTasks";
|
|
@@ -307,13 +315,22 @@ const _SQTF = "SearchQuantumTasksFilter";
|
|
|
307
315
|
const _SQTFL = "SearchQuantumTasksFilterList";
|
|
308
316
|
const _SQTR = "SearchQuantumTasksRequest";
|
|
309
317
|
const _SQTRe = "SearchQuantumTasksResponse";
|
|
318
|
+
const _SSL = "SearchSpendingLimits";
|
|
319
|
+
const _SSLF = "SearchSpendingLimitsFilter";
|
|
320
|
+
const _SSLFL = "SearchSpendingLimitsFilterList";
|
|
321
|
+
const _SSLR = "SearchSpendingLimitsRequest";
|
|
322
|
+
const _SSLRe = "SearchSpendingLimitsResponse";
|
|
310
323
|
const _TE = "ThrottlingException";
|
|
324
|
+
const _TP = "TimePeriod";
|
|
311
325
|
const _TR = "TagResource";
|
|
312
326
|
const _TRR = "TagResourceRequest";
|
|
313
327
|
const _TRRa = "TagResourceResponse";
|
|
314
328
|
const _UR = "UntagResource";
|
|
315
329
|
const _URR = "UntagResourceRequest";
|
|
316
330
|
const _URRn = "UntagResourceResponse";
|
|
331
|
+
const _USL = "UpdateSpendingLimit";
|
|
332
|
+
const _USLR = "UpdateSpendingLimitRequest";
|
|
333
|
+
const _USLRp = "UpdateSpendingLimitResponse";
|
|
317
334
|
const _VE = "ValidationException";
|
|
318
335
|
const _a = "application/json";
|
|
319
336
|
const _aAN = "additionalAttributeNames";
|
|
@@ -346,6 +363,7 @@ const _dT = "deviceType";
|
|
|
346
363
|
const _de = "devices";
|
|
347
364
|
const _e = "error";
|
|
348
365
|
const _eA = "endedAt";
|
|
366
|
+
const _eAn = "endAt";
|
|
349
367
|
const _eC = "executableCount";
|
|
350
368
|
const _eCx = "experimentalCapabilities";
|
|
351
369
|
const _eP = "entryPoint";
|
|
@@ -391,6 +409,7 @@ const _q = "queue";
|
|
|
391
409
|
const _qI = "queueInfo";
|
|
392
410
|
const _qP = "queuePriority";
|
|
393
411
|
const _qS = "queueSize";
|
|
412
|
+
const _qSu = "queuedSpend";
|
|
394
413
|
const _qT = "quantumTasks";
|
|
395
414
|
const _qTA = "quantumTaskArn";
|
|
396
415
|
const _r = "reason";
|
|
@@ -398,8 +417,12 @@ const _rA = "roleArn";
|
|
|
398
417
|
const _rAe = "resourceArn";
|
|
399
418
|
const _s = "shots";
|
|
400
419
|
const _sA = "startedAt";
|
|
420
|
+
const _sAt = "startAt";
|
|
401
421
|
const _sC = "stoppingCondition";
|
|
402
422
|
const _sDS = "s3DataSource";
|
|
423
|
+
const _sL = "spendingLimit";
|
|
424
|
+
const _sLA = "spendingLimitArn";
|
|
425
|
+
const _sLp = "spendingLimits";
|
|
403
426
|
const _sMC = "scriptModeConfig";
|
|
404
427
|
const _sP = "s3Path";
|
|
405
428
|
const _sU = "s3Uri";
|
|
@@ -409,8 +432,11 @@ const _st = "status";
|
|
|
409
432
|
const _t = "type";
|
|
410
433
|
const _tK = "tagKeys";
|
|
411
434
|
const _tOE = "timeOfEvent";
|
|
435
|
+
const _tP = "timePeriod";
|
|
436
|
+
const _tS = "totalSpend";
|
|
412
437
|
const _ta = "tags";
|
|
413
438
|
const _u = "uri";
|
|
439
|
+
const _uA = "updatedAt";
|
|
414
440
|
const _v = "values";
|
|
415
441
|
const _vSIG = "volumeSizeInGb";
|
|
416
442
|
const n0 = "com.amazonaws.braket";
|
|
@@ -516,7 +542,18 @@ var CreateQuantumTaskRequest = [
|
|
|
516
542
|
],
|
|
517
543
|
];
|
|
518
544
|
var CreateQuantumTaskResponse = [3, n0, _CQTRre, 0, [_qTA], [0]];
|
|
545
|
+
var CreateSpendingLimitRequest = [
|
|
546
|
+
3,
|
|
547
|
+
n0,
|
|
548
|
+
_CSLR,
|
|
549
|
+
0,
|
|
550
|
+
[_cT, _dA, _sL, _tP, _ta],
|
|
551
|
+
[[0, 4], 0, 0, () => TimePeriod, 128 | 0],
|
|
552
|
+
];
|
|
553
|
+
var CreateSpendingLimitResponse = [3, n0, _CSLRr, 0, [_sLA], [0]];
|
|
519
554
|
var DataSource = [3, n0, _DS, 0, [_sDS], [() => S3DataSource]];
|
|
555
|
+
var DeleteSpendingLimitRequest = [3, n0, _DSLR, 0, [_sLA], [[0, 1]]];
|
|
556
|
+
var DeleteSpendingLimitResponse = [3, n0, _DSLRe, 0, [], []];
|
|
520
557
|
var DeviceConfig = [3, n0, _DC, 0, [_d], [0]];
|
|
521
558
|
var DeviceOfflineException = [
|
|
522
559
|
-3,
|
|
@@ -731,6 +768,23 @@ var SearchQuantumTasksResponse = [
|
|
|
731
768
|
[_qT, _nT],
|
|
732
769
|
[() => QuantumTaskSummaryList, 0],
|
|
733
770
|
];
|
|
771
|
+
var SearchSpendingLimitsFilter = [3, n0, _SSLF, 0, [_n, _v, _o], [0, 64 | 0, 0]];
|
|
772
|
+
var SearchSpendingLimitsRequest = [
|
|
773
|
+
3,
|
|
774
|
+
n0,
|
|
775
|
+
_SSLR,
|
|
776
|
+
0,
|
|
777
|
+
[_nT, _mR, _f],
|
|
778
|
+
[0, 1, () => SearchSpendingLimitsFilterList],
|
|
779
|
+
];
|
|
780
|
+
var SearchSpendingLimitsResponse = [
|
|
781
|
+
3,
|
|
782
|
+
n0,
|
|
783
|
+
_SSLRe,
|
|
784
|
+
0,
|
|
785
|
+
[_sLp, _nT],
|
|
786
|
+
[() => SpendingLimitSummaryList, 0],
|
|
787
|
+
];
|
|
734
788
|
var ServiceQuotaExceededException = [
|
|
735
789
|
-3,
|
|
736
790
|
n0,
|
|
@@ -743,6 +797,14 @@ var ServiceQuotaExceededException = [
|
|
|
743
797
|
[0],
|
|
744
798
|
];
|
|
745
799
|
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
800
|
+
var SpendingLimitSummary = [
|
|
801
|
+
3,
|
|
802
|
+
n0,
|
|
803
|
+
_SLS,
|
|
804
|
+
0,
|
|
805
|
+
[_sLA, _dA, _tP, _sL, _qSu, _tS, _cA, _uA, _ta],
|
|
806
|
+
[0, 0, () => TimePeriod, 0, 0, 0, 5, 5, 128 | 0],
|
|
807
|
+
];
|
|
746
808
|
var TagResourceRequest = [3, n0, _TRR, 0, [_rAe, _ta], [[0, 1], 128 | 0]];
|
|
747
809
|
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
748
810
|
var ThrottlingException = [
|
|
@@ -757,6 +819,7 @@ var ThrottlingException = [
|
|
|
757
819
|
[0],
|
|
758
820
|
];
|
|
759
821
|
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
822
|
+
var TimePeriod = [3, n0, _TP, 0, [_sAt, _eAn], [7, 7]];
|
|
760
823
|
var UntagResourceRequest = [
|
|
761
824
|
3,
|
|
762
825
|
n0,
|
|
@@ -774,6 +837,15 @@ var UntagResourceRequest = [
|
|
|
774
837
|
],
|
|
775
838
|
];
|
|
776
839
|
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
840
|
+
var UpdateSpendingLimitRequest = [
|
|
841
|
+
3,
|
|
842
|
+
n0,
|
|
843
|
+
_USLR,
|
|
844
|
+
0,
|
|
845
|
+
[_sLA, _cT, _sL, _tP],
|
|
846
|
+
[[0, 1], [0, 4], 0, () => TimePeriod],
|
|
847
|
+
];
|
|
848
|
+
var UpdateSpendingLimitResponse = [3, n0, _USLRp, 0, [], []];
|
|
777
849
|
var ValidationException = [
|
|
778
850
|
-3,
|
|
779
851
|
n0,
|
|
@@ -799,6 +871,8 @@ var QuantumTaskSummaryList = [1, n0, _QTSL, 0, () => QuantumTaskSummary];
|
|
|
799
871
|
var SearchDevicesFilterList = [1, n0, _SDFL, 0, () => SearchDevicesFilter];
|
|
800
872
|
var SearchJobsFilterList = [1, n0, _SJFL, 0, () => SearchJobsFilter];
|
|
801
873
|
var SearchQuantumTasksFilterList = [1, n0, _SQTFL, 0, () => SearchQuantumTasksFilter];
|
|
874
|
+
var SearchSpendingLimitsFilterList = [1, n0, _SSLFL, 0, () => SearchSpendingLimitsFilter];
|
|
875
|
+
var SpendingLimitSummaryList = [1, n0, _SLSL, 0, () => SpendingLimitSummary];
|
|
802
876
|
var ExperimentalCapabilities = [3, n0, _EC, 0, [_en], [0]];
|
|
803
877
|
var CancelJob = [
|
|
804
878
|
9,
|
|
@@ -840,6 +914,26 @@ var CreateQuantumTask = [
|
|
|
840
914
|
() => CreateQuantumTaskRequest,
|
|
841
915
|
() => CreateQuantumTaskResponse,
|
|
842
916
|
];
|
|
917
|
+
var CreateSpendingLimit = [
|
|
918
|
+
9,
|
|
919
|
+
n0,
|
|
920
|
+
_CSL,
|
|
921
|
+
{
|
|
922
|
+
[_h]: ["POST", "/spending-limit", 201],
|
|
923
|
+
},
|
|
924
|
+
() => CreateSpendingLimitRequest,
|
|
925
|
+
() => CreateSpendingLimitResponse,
|
|
926
|
+
];
|
|
927
|
+
var DeleteSpendingLimit = [
|
|
928
|
+
9,
|
|
929
|
+
n0,
|
|
930
|
+
_DSLe,
|
|
931
|
+
{
|
|
932
|
+
[_h]: ["DELETE", "/spending-limit/{spendingLimitArn}/delete", 200],
|
|
933
|
+
},
|
|
934
|
+
() => DeleteSpendingLimitRequest,
|
|
935
|
+
() => DeleteSpendingLimitResponse,
|
|
936
|
+
];
|
|
843
937
|
var GetDevice = [
|
|
844
938
|
9,
|
|
845
939
|
n0,
|
|
@@ -910,6 +1004,16 @@ var SearchQuantumTasks = [
|
|
|
910
1004
|
() => SearchQuantumTasksRequest,
|
|
911
1005
|
() => SearchQuantumTasksResponse,
|
|
912
1006
|
];
|
|
1007
|
+
var SearchSpendingLimits = [
|
|
1008
|
+
9,
|
|
1009
|
+
n0,
|
|
1010
|
+
_SSL,
|
|
1011
|
+
{
|
|
1012
|
+
[_h]: ["POST", "/spending-limits", 200],
|
|
1013
|
+
},
|
|
1014
|
+
() => SearchSpendingLimitsRequest,
|
|
1015
|
+
() => SearchSpendingLimitsResponse,
|
|
1016
|
+
];
|
|
913
1017
|
var TagResource = [
|
|
914
1018
|
9,
|
|
915
1019
|
n0,
|
|
@@ -930,6 +1034,16 @@ var UntagResource = [
|
|
|
930
1034
|
() => UntagResourceRequest,
|
|
931
1035
|
() => UntagResourceResponse,
|
|
932
1036
|
];
|
|
1037
|
+
var UpdateSpendingLimit = [
|
|
1038
|
+
9,
|
|
1039
|
+
n0,
|
|
1040
|
+
_USL,
|
|
1041
|
+
{
|
|
1042
|
+
[_h]: ["PATCH", "/spending-limit/{spendingLimitArn}/update", 200],
|
|
1043
|
+
},
|
|
1044
|
+
() => UpdateSpendingLimitRequest,
|
|
1045
|
+
() => UpdateSpendingLimitResponse,
|
|
1046
|
+
];
|
|
933
1047
|
|
|
934
1048
|
class CancelJobCommand extends smithyClient.Command
|
|
935
1049
|
.classBuilder()
|
|
@@ -979,6 +1093,30 @@ class CreateQuantumTaskCommand extends smithyClient.Command
|
|
|
979
1093
|
.build() {
|
|
980
1094
|
}
|
|
981
1095
|
|
|
1096
|
+
class CreateSpendingLimitCommand extends smithyClient.Command
|
|
1097
|
+
.classBuilder()
|
|
1098
|
+
.ep(commonParams)
|
|
1099
|
+
.m(function (Command, cs, config, o) {
|
|
1100
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1101
|
+
})
|
|
1102
|
+
.s("Braket", "CreateSpendingLimit", {})
|
|
1103
|
+
.n("BraketClient", "CreateSpendingLimitCommand")
|
|
1104
|
+
.sc(CreateSpendingLimit)
|
|
1105
|
+
.build() {
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
class DeleteSpendingLimitCommand extends smithyClient.Command
|
|
1109
|
+
.classBuilder()
|
|
1110
|
+
.ep(commonParams)
|
|
1111
|
+
.m(function (Command, cs, config, o) {
|
|
1112
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1113
|
+
})
|
|
1114
|
+
.s("Braket", "DeleteSpendingLimit", {})
|
|
1115
|
+
.n("BraketClient", "DeleteSpendingLimitCommand")
|
|
1116
|
+
.sc(DeleteSpendingLimit)
|
|
1117
|
+
.build() {
|
|
1118
|
+
}
|
|
1119
|
+
|
|
982
1120
|
class GetDeviceCommand extends smithyClient.Command
|
|
983
1121
|
.classBuilder()
|
|
984
1122
|
.ep(commonParams)
|
|
@@ -1063,6 +1201,18 @@ class SearchQuantumTasksCommand extends smithyClient.Command
|
|
|
1063
1201
|
.build() {
|
|
1064
1202
|
}
|
|
1065
1203
|
|
|
1204
|
+
class SearchSpendingLimitsCommand extends smithyClient.Command
|
|
1205
|
+
.classBuilder()
|
|
1206
|
+
.ep(commonParams)
|
|
1207
|
+
.m(function (Command, cs, config, o) {
|
|
1208
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1209
|
+
})
|
|
1210
|
+
.s("Braket", "SearchSpendingLimits", {})
|
|
1211
|
+
.n("BraketClient", "SearchSpendingLimitsCommand")
|
|
1212
|
+
.sc(SearchSpendingLimits)
|
|
1213
|
+
.build() {
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1066
1216
|
class TagResourceCommand extends smithyClient.Command
|
|
1067
1217
|
.classBuilder()
|
|
1068
1218
|
.ep(commonParams)
|
|
@@ -1087,11 +1237,25 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1087
1237
|
.build() {
|
|
1088
1238
|
}
|
|
1089
1239
|
|
|
1240
|
+
class UpdateSpendingLimitCommand extends smithyClient.Command
|
|
1241
|
+
.classBuilder()
|
|
1242
|
+
.ep(commonParams)
|
|
1243
|
+
.m(function (Command, cs, config, o) {
|
|
1244
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1245
|
+
})
|
|
1246
|
+
.s("Braket", "UpdateSpendingLimit", {})
|
|
1247
|
+
.n("BraketClient", "UpdateSpendingLimitCommand")
|
|
1248
|
+
.sc(UpdateSpendingLimit)
|
|
1249
|
+
.build() {
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1090
1252
|
const commands = {
|
|
1091
1253
|
CancelJobCommand,
|
|
1092
1254
|
CancelQuantumTaskCommand,
|
|
1093
1255
|
CreateJobCommand,
|
|
1094
1256
|
CreateQuantumTaskCommand,
|
|
1257
|
+
CreateSpendingLimitCommand,
|
|
1258
|
+
DeleteSpendingLimitCommand,
|
|
1095
1259
|
GetDeviceCommand,
|
|
1096
1260
|
GetJobCommand,
|
|
1097
1261
|
GetQuantumTaskCommand,
|
|
@@ -1099,8 +1263,10 @@ const commands = {
|
|
|
1099
1263
|
SearchDevicesCommand,
|
|
1100
1264
|
SearchJobsCommand,
|
|
1101
1265
|
SearchQuantumTasksCommand,
|
|
1266
|
+
SearchSpendingLimitsCommand,
|
|
1102
1267
|
TagResourceCommand,
|
|
1103
1268
|
UntagResourceCommand,
|
|
1269
|
+
UpdateSpendingLimitCommand,
|
|
1104
1270
|
};
|
|
1105
1271
|
class Braket extends BraketClient {
|
|
1106
1272
|
}
|
|
@@ -1112,6 +1278,8 @@ const paginateSearchJobs = core.createPaginator(BraketClient, SearchJobsCommand,
|
|
|
1112
1278
|
|
|
1113
1279
|
const paginateSearchQuantumTasks = core.createPaginator(BraketClient, SearchQuantumTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
1114
1280
|
|
|
1281
|
+
const paginateSearchSpendingLimits = core.createPaginator(BraketClient, SearchSpendingLimitsCommand, "nextToken", "nextToken", "maxResults");
|
|
1282
|
+
|
|
1115
1283
|
Object.defineProperty(exports, "$Command", {
|
|
1116
1284
|
enumerable: true,
|
|
1117
1285
|
get: function () { return smithyClient.Command; }
|
|
@@ -1129,6 +1297,8 @@ exports.CancelQuantumTaskCommand = CancelQuantumTaskCommand;
|
|
|
1129
1297
|
exports.ConflictException = ConflictException$1;
|
|
1130
1298
|
exports.CreateJobCommand = CreateJobCommand;
|
|
1131
1299
|
exports.CreateQuantumTaskCommand = CreateQuantumTaskCommand;
|
|
1300
|
+
exports.CreateSpendingLimitCommand = CreateSpendingLimitCommand;
|
|
1301
|
+
exports.DeleteSpendingLimitCommand = DeleteSpendingLimitCommand;
|
|
1132
1302
|
exports.DeviceOfflineException = DeviceOfflineException$1;
|
|
1133
1303
|
exports.DeviceRetiredException = DeviceRetiredException$1;
|
|
1134
1304
|
exports.GetDeviceCommand = GetDeviceCommand;
|
|
@@ -1140,11 +1310,14 @@ exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
|
1140
1310
|
exports.SearchDevicesCommand = SearchDevicesCommand;
|
|
1141
1311
|
exports.SearchJobsCommand = SearchJobsCommand;
|
|
1142
1312
|
exports.SearchQuantumTasksCommand = SearchQuantumTasksCommand;
|
|
1313
|
+
exports.SearchSpendingLimitsCommand = SearchSpendingLimitsCommand;
|
|
1143
1314
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1144
1315
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1145
1316
|
exports.ThrottlingException = ThrottlingException$1;
|
|
1146
1317
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1318
|
+
exports.UpdateSpendingLimitCommand = UpdateSpendingLimitCommand;
|
|
1147
1319
|
exports.ValidationException = ValidationException$1;
|
|
1148
1320
|
exports.paginateSearchDevices = paginateSearchDevices;
|
|
1149
1321
|
exports.paginateSearchJobs = paginateSearchJobs;
|
|
1150
1322
|
exports.paginateSearchQuantumTasks = paginateSearchQuantumTasks;
|
|
1323
|
+
exports.paginateSearchSpendingLimits = paginateSearchSpendingLimits;
|
package/dist-es/Braket.js
CHANGED
|
@@ -4,6 +4,8 @@ import { CancelJobCommand } from "./commands/CancelJobCommand";
|
|
|
4
4
|
import { CancelQuantumTaskCommand, } from "./commands/CancelQuantumTaskCommand";
|
|
5
5
|
import { CreateJobCommand } from "./commands/CreateJobCommand";
|
|
6
6
|
import { CreateQuantumTaskCommand, } from "./commands/CreateQuantumTaskCommand";
|
|
7
|
+
import { CreateSpendingLimitCommand, } from "./commands/CreateSpendingLimitCommand";
|
|
8
|
+
import { DeleteSpendingLimitCommand, } from "./commands/DeleteSpendingLimitCommand";
|
|
7
9
|
import { GetDeviceCommand } from "./commands/GetDeviceCommand";
|
|
8
10
|
import { GetJobCommand } from "./commands/GetJobCommand";
|
|
9
11
|
import { GetQuantumTaskCommand, } from "./commands/GetQuantumTaskCommand";
|
|
@@ -11,13 +13,17 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
11
13
|
import { SearchDevicesCommand, } from "./commands/SearchDevicesCommand";
|
|
12
14
|
import { SearchJobsCommand } from "./commands/SearchJobsCommand";
|
|
13
15
|
import { SearchQuantumTasksCommand, } from "./commands/SearchQuantumTasksCommand";
|
|
16
|
+
import { SearchSpendingLimitsCommand, } from "./commands/SearchSpendingLimitsCommand";
|
|
14
17
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
15
18
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
19
|
+
import { UpdateSpendingLimitCommand, } from "./commands/UpdateSpendingLimitCommand";
|
|
16
20
|
const commands = {
|
|
17
21
|
CancelJobCommand,
|
|
18
22
|
CancelQuantumTaskCommand,
|
|
19
23
|
CreateJobCommand,
|
|
20
24
|
CreateQuantumTaskCommand,
|
|
25
|
+
CreateSpendingLimitCommand,
|
|
26
|
+
DeleteSpendingLimitCommand,
|
|
21
27
|
GetDeviceCommand,
|
|
22
28
|
GetJobCommand,
|
|
23
29
|
GetQuantumTaskCommand,
|
|
@@ -25,8 +31,10 @@ const commands = {
|
|
|
25
31
|
SearchDevicesCommand,
|
|
26
32
|
SearchJobsCommand,
|
|
27
33
|
SearchQuantumTasksCommand,
|
|
34
|
+
SearchSpendingLimitsCommand,
|
|
28
35
|
TagResourceCommand,
|
|
29
36
|
UntagResourceCommand,
|
|
37
|
+
UpdateSpendingLimitCommand,
|
|
30
38
|
};
|
|
31
39
|
export class Braket extends BraketClient {
|
|
32
40
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateSpendingLimit } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateSpendingLimitCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("Braket", "CreateSpendingLimit", {})
|
|
13
|
+
.n("BraketClient", "CreateSpendingLimitCommand")
|
|
14
|
+
.sc(CreateSpendingLimit)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteSpendingLimit } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteSpendingLimitCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("Braket", "DeleteSpendingLimit", {})
|
|
13
|
+
.n("BraketClient", "DeleteSpendingLimitCommand")
|
|
14
|
+
.sc(DeleteSpendingLimit)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { SearchSpendingLimits } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SearchSpendingLimitsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("Braket", "SearchSpendingLimits", {})
|
|
13
|
+
.n("BraketClient", "SearchSpendingLimitsCommand")
|
|
14
|
+
.sc(SearchSpendingLimits)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateSpendingLimit } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateSpendingLimitCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("Braket", "UpdateSpendingLimit", {})
|
|
13
|
+
.n("BraketClient", "UpdateSpendingLimitCommand")
|
|
14
|
+
.sc(UpdateSpendingLimit)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -2,6 +2,8 @@ export * from "./CancelJobCommand";
|
|
|
2
2
|
export * from "./CancelQuantumTaskCommand";
|
|
3
3
|
export * from "./CreateJobCommand";
|
|
4
4
|
export * from "./CreateQuantumTaskCommand";
|
|
5
|
+
export * from "./CreateSpendingLimitCommand";
|
|
6
|
+
export * from "./DeleteSpendingLimitCommand";
|
|
5
7
|
export * from "./GetDeviceCommand";
|
|
6
8
|
export * from "./GetJobCommand";
|
|
7
9
|
export * from "./GetQuantumTaskCommand";
|
|
@@ -9,5 +11,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
9
11
|
export * from "./SearchDevicesCommand";
|
|
10
12
|
export * from "./SearchJobsCommand";
|
|
11
13
|
export * from "./SearchQuantumTasksCommand";
|
|
14
|
+
export * from "./SearchSpendingLimitsCommand";
|
|
12
15
|
export * from "./TagResourceCommand";
|
|
13
16
|
export * from "./UntagResourceCommand";
|
|
17
|
+
export * from "./UpdateSpendingLimitCommand";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BraketClient } from "../BraketClient";
|
|
3
|
+
import { SearchSpendingLimitsCommand, } from "../commands/SearchSpendingLimitsCommand";
|
|
4
|
+
export const paginateSearchSpendingLimits = createPaginator(BraketClient, SearchSpendingLimitsCommand, "nextToken", "nextToken", "maxResults");
|