@aws-sdk/client-braket 3.936.0 → 3.939.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.
Files changed (43) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +324 -0
  3. package/dist-es/Braket.js +8 -0
  4. package/dist-es/commands/CreateSpendingLimitCommand.js +16 -0
  5. package/dist-es/commands/DeleteSpendingLimitCommand.js +16 -0
  6. package/dist-es/commands/SearchSpendingLimitsCommand.js +16 -0
  7. package/dist-es/commands/UpdateSpendingLimitCommand.js +16 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/index.js +1 -0
  10. package/dist-es/models/enums.js +132 -0
  11. package/dist-es/models/models_0.js +1 -129
  12. package/dist-es/pagination/SearchSpendingLimitsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/schemas/schemas_0.js +114 -0
  15. package/dist-types/Braket.d.ts +29 -0
  16. package/dist-types/BraketClient.d.ts +6 -2
  17. package/dist-types/commands/CreateSpendingLimitCommand.d.ts +98 -0
  18. package/dist-types/commands/DeleteSpendingLimitCommand.d.ts +87 -0
  19. package/dist-types/commands/SearchSpendingLimitsCommand.d.ts +114 -0
  20. package/dist-types/commands/UpdateSpendingLimitCommand.d.ts +93 -0
  21. package/dist-types/commands/index.d.ts +4 -0
  22. package/dist-types/index.d.ts +1 -0
  23. package/dist-types/models/enums.d.ts +276 -0
  24. package/dist-types/models/errors.d.ts +2 -1
  25. package/dist-types/models/models_0.d.ts +209 -265
  26. package/dist-types/pagination/SearchSpendingLimitsPaginator.d.ts +7 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/schemas/schemas_0.d.ts +17 -0
  29. package/dist-types/ts3.4/Braket.d.ts +69 -0
  30. package/dist-types/ts3.4/BraketClient.d.ts +26 -2
  31. package/dist-types/ts3.4/commands/CreateSpendingLimitCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/DeleteSpendingLimitCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/SearchSpendingLimitsCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/UpdateSpendingLimitCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  36. package/dist-types/ts3.4/index.d.ts +1 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +162 -0
  38. package/dist-types/ts3.4/models/errors.d.ts +2 -4
  39. package/dist-types/ts3.4/models/models_0.d.ts +69 -157
  40. package/dist-types/ts3.4/pagination/SearchSpendingLimitsPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
  43. package/package.json +2 -2
@@ -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";
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./BraketClient";
2
2
  export * from "./Braket";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { BraketServiceException } from "./models/BraketServiceException";
@@ -0,0 +1,132 @@
1
+ export const CompressionType = {
2
+ GZIP: "GZIP",
3
+ NONE: "NONE",
4
+ };
5
+ export const AssociationType = {
6
+ RESERVATION_TIME_WINDOW_ARN: "RESERVATION_TIME_WINDOW_ARN",
7
+ };
8
+ export const QueueName = {
9
+ JOBS_QUEUE: "JOBS_QUEUE",
10
+ QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE",
11
+ };
12
+ export const QueuePriority = {
13
+ NORMAL: "Normal",
14
+ PRIORITY: "Priority",
15
+ };
16
+ export const DeviceStatus = {
17
+ OFFLINE: "OFFLINE",
18
+ ONLINE: "ONLINE",
19
+ RETIRED: "RETIRED",
20
+ };
21
+ export const DeviceType = {
22
+ QPU: "QPU",
23
+ SIMULATOR: "SIMULATOR",
24
+ };
25
+ export const ValidationExceptionReason = {
26
+ PROGRAM_SET_VALIDATION_FAILED: "ProgramSetValidationFailed",
27
+ };
28
+ export const CancellationStatus = {
29
+ CANCELLED: "CANCELLED",
30
+ CANCELLING: "CANCELLING",
31
+ };
32
+ export const _InstanceType = {
33
+ ML_C4_2XLARGE: "ml.c4.2xlarge",
34
+ ML_C4_4XLARGE: "ml.c4.4xlarge",
35
+ ML_C4_8XLARGE: "ml.c4.8xlarge",
36
+ ML_C4_XLARGE: "ml.c4.xlarge",
37
+ ML_C5N_18XLARGE: "ml.c5n.18xlarge",
38
+ ML_C5N_2XLARGE: "ml.c5n.2xlarge",
39
+ ML_C5N_4XLARGE: "ml.c5n.4xlarge",
40
+ ML_C5N_9XLARGE: "ml.c5n.9xlarge",
41
+ ML_C5N_XLARGE: "ml.c5n.xlarge",
42
+ ML_C5_18XLARGE: "ml.c5.18xlarge",
43
+ ML_C5_2XLARGE: "ml.c5.2xlarge",
44
+ ML_C5_4XLARGE: "ml.c5.4xlarge",
45
+ ML_C5_9XLARGE: "ml.c5.9xlarge",
46
+ ML_C5_XLARGE: "ml.c5.xlarge",
47
+ ML_G4DN_12XLARGE: "ml.g4dn.12xlarge",
48
+ ML_G4DN_16XLARGE: "ml.g4dn.16xlarge",
49
+ ML_G4DN_2XLARGE: "ml.g4dn.2xlarge",
50
+ ML_G4DN_4XLARGE: "ml.g4dn.4xlarge",
51
+ ML_G4DN_8XLARGE: "ml.g4dn.8xlarge",
52
+ ML_G4DN_XLARGE: "ml.g4dn.xlarge",
53
+ ML_M4_10XLARGE: "ml.m4.10xlarge",
54
+ ML_M4_16XLARGE: "ml.m4.16xlarge",
55
+ ML_M4_2XLARGE: "ml.m4.2xlarge",
56
+ ML_M4_4XLARGE: "ml.m4.4xlarge",
57
+ ML_M4_XLARGE: "ml.m4.xlarge",
58
+ ML_M5_12XLARGE: "ml.m5.12xlarge",
59
+ ML_M5_24XLARGE: "ml.m5.24xlarge",
60
+ ML_M5_2XLARGE: "ml.m5.2xlarge",
61
+ ML_M5_4XLARGE: "ml.m5.4xlarge",
62
+ ML_M5_LARGE: "ml.m5.large",
63
+ ML_M5_XLARGE: "ml.m5.xlarge",
64
+ ML_P2_16XLARGE: "ml.p2.16xlarge",
65
+ ML_P2_8XLARGE: "ml.p2.8xlarge",
66
+ ML_P2_XLARGE: "ml.p2.xlarge",
67
+ ML_P3DN_24XLARGE: "ml.p3dn.24xlarge",
68
+ ML_P3_16XLARGE: "ml.p3.16xlarge",
69
+ ML_P3_2XLARGE: "ml.p3.2xlarge",
70
+ ML_P3_8XLARGE: "ml.p3.8xlarge",
71
+ ML_P4D_24XLARGE: "ml.p4d.24xlarge",
72
+ };
73
+ export const HybridJobAdditionalAttributeName = {
74
+ QUEUE_INFO: "QueueInfo",
75
+ };
76
+ export const JobEventType = {
77
+ CANCELLED: "CANCELLED",
78
+ COMPLETED: "COMPLETED",
79
+ DEPRIORITIZED_DUE_TO_INACTIVITY: "DEPRIORITIZED_DUE_TO_INACTIVITY",
80
+ DOWNLOADING_DATA: "DOWNLOADING_DATA",
81
+ FAILED: "FAILED",
82
+ MAX_RUNTIME_EXCEEDED: "MAX_RUNTIME_EXCEEDED",
83
+ QUEUED_FOR_EXECUTION: "QUEUED_FOR_EXECUTION",
84
+ RUNNING: "RUNNING",
85
+ STARTING_INSTANCE: "STARTING_INSTANCE",
86
+ UPLOADING_RESULTS: "UPLOADING_RESULTS",
87
+ WAITING_FOR_PRIORITY: "WAITING_FOR_PRIORITY",
88
+ };
89
+ export const JobPrimaryStatus = {
90
+ CANCELLED: "CANCELLED",
91
+ CANCELLING: "CANCELLING",
92
+ COMPLETED: "COMPLETED",
93
+ FAILED: "FAILED",
94
+ QUEUED: "QUEUED",
95
+ RUNNING: "RUNNING",
96
+ };
97
+ export const SearchJobsFilterOperator = {
98
+ BETWEEN: "BETWEEN",
99
+ CONTAINS: "CONTAINS",
100
+ EQUAL: "EQUAL",
101
+ GT: "GT",
102
+ GTE: "GTE",
103
+ LT: "LT",
104
+ LTE: "LTE",
105
+ };
106
+ export const ExperimentalCapabilitiesEnablementType = {
107
+ ALL: "ALL",
108
+ NONE: "NONE",
109
+ };
110
+ export const QuantumTaskAdditionalAttributeName = {
111
+ QUEUE_INFO: "QueueInfo",
112
+ };
113
+ export const QuantumTaskStatus = {
114
+ CANCELLED: "CANCELLED",
115
+ CANCELLING: "CANCELLING",
116
+ COMPLETED: "COMPLETED",
117
+ CREATED: "CREATED",
118
+ FAILED: "FAILED",
119
+ QUEUED: "QUEUED",
120
+ RUNNING: "RUNNING",
121
+ };
122
+ export const SearchQuantumTasksFilterOperator = {
123
+ BETWEEN: "BETWEEN",
124
+ EQUAL: "EQUAL",
125
+ GT: "GT",
126
+ GTE: "GTE",
127
+ LT: "LT",
128
+ LTE: "LTE",
129
+ };
130
+ export const SearchSpendingLimitsFilterOperator = {
131
+ EQUAL: "EQUAL",
132
+ };
@@ -1,129 +1 @@
1
- export const CompressionType = {
2
- GZIP: "GZIP",
3
- NONE: "NONE",
4
- };
5
- export const AssociationType = {
6
- RESERVATION_TIME_WINDOW_ARN: "RESERVATION_TIME_WINDOW_ARN",
7
- };
8
- export const QueueName = {
9
- JOBS_QUEUE: "JOBS_QUEUE",
10
- QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE",
11
- };
12
- export const QueuePriority = {
13
- NORMAL: "Normal",
14
- PRIORITY: "Priority",
15
- };
16
- export const DeviceStatus = {
17
- OFFLINE: "OFFLINE",
18
- ONLINE: "ONLINE",
19
- RETIRED: "RETIRED",
20
- };
21
- export const DeviceType = {
22
- QPU: "QPU",
23
- SIMULATOR: "SIMULATOR",
24
- };
25
- export const ValidationExceptionReason = {
26
- PROGRAM_SET_VALIDATION_FAILED: "ProgramSetValidationFailed",
27
- };
28
- export const CancellationStatus = {
29
- CANCELLED: "CANCELLED",
30
- CANCELLING: "CANCELLING",
31
- };
32
- export const _InstanceType = {
33
- ML_C4_2XLARGE: "ml.c4.2xlarge",
34
- ML_C4_4XLARGE: "ml.c4.4xlarge",
35
- ML_C4_8XLARGE: "ml.c4.8xlarge",
36
- ML_C4_XLARGE: "ml.c4.xlarge",
37
- ML_C5N_18XLARGE: "ml.c5n.18xlarge",
38
- ML_C5N_2XLARGE: "ml.c5n.2xlarge",
39
- ML_C5N_4XLARGE: "ml.c5n.4xlarge",
40
- ML_C5N_9XLARGE: "ml.c5n.9xlarge",
41
- ML_C5N_XLARGE: "ml.c5n.xlarge",
42
- ML_C5_18XLARGE: "ml.c5.18xlarge",
43
- ML_C5_2XLARGE: "ml.c5.2xlarge",
44
- ML_C5_4XLARGE: "ml.c5.4xlarge",
45
- ML_C5_9XLARGE: "ml.c5.9xlarge",
46
- ML_C5_XLARGE: "ml.c5.xlarge",
47
- ML_G4DN_12XLARGE: "ml.g4dn.12xlarge",
48
- ML_G4DN_16XLARGE: "ml.g4dn.16xlarge",
49
- ML_G4DN_2XLARGE: "ml.g4dn.2xlarge",
50
- ML_G4DN_4XLARGE: "ml.g4dn.4xlarge",
51
- ML_G4DN_8XLARGE: "ml.g4dn.8xlarge",
52
- ML_G4DN_XLARGE: "ml.g4dn.xlarge",
53
- ML_M4_10XLARGE: "ml.m4.10xlarge",
54
- ML_M4_16XLARGE: "ml.m4.16xlarge",
55
- ML_M4_2XLARGE: "ml.m4.2xlarge",
56
- ML_M4_4XLARGE: "ml.m4.4xlarge",
57
- ML_M4_XLARGE: "ml.m4.xlarge",
58
- ML_M5_12XLARGE: "ml.m5.12xlarge",
59
- ML_M5_24XLARGE: "ml.m5.24xlarge",
60
- ML_M5_2XLARGE: "ml.m5.2xlarge",
61
- ML_M5_4XLARGE: "ml.m5.4xlarge",
62
- ML_M5_LARGE: "ml.m5.large",
63
- ML_M5_XLARGE: "ml.m5.xlarge",
64
- ML_P2_16XLARGE: "ml.p2.16xlarge",
65
- ML_P2_8XLARGE: "ml.p2.8xlarge",
66
- ML_P2_XLARGE: "ml.p2.xlarge",
67
- ML_P3DN_24XLARGE: "ml.p3dn.24xlarge",
68
- ML_P3_16XLARGE: "ml.p3.16xlarge",
69
- ML_P3_2XLARGE: "ml.p3.2xlarge",
70
- ML_P3_8XLARGE: "ml.p3.8xlarge",
71
- ML_P4D_24XLARGE: "ml.p4d.24xlarge",
72
- };
73
- export const HybridJobAdditionalAttributeName = {
74
- QUEUE_INFO: "QueueInfo",
75
- };
76
- export const JobEventType = {
77
- CANCELLED: "CANCELLED",
78
- COMPLETED: "COMPLETED",
79
- DEPRIORITIZED_DUE_TO_INACTIVITY: "DEPRIORITIZED_DUE_TO_INACTIVITY",
80
- DOWNLOADING_DATA: "DOWNLOADING_DATA",
81
- FAILED: "FAILED",
82
- MAX_RUNTIME_EXCEEDED: "MAX_RUNTIME_EXCEEDED",
83
- QUEUED_FOR_EXECUTION: "QUEUED_FOR_EXECUTION",
84
- RUNNING: "RUNNING",
85
- STARTING_INSTANCE: "STARTING_INSTANCE",
86
- UPLOADING_RESULTS: "UPLOADING_RESULTS",
87
- WAITING_FOR_PRIORITY: "WAITING_FOR_PRIORITY",
88
- };
89
- export const JobPrimaryStatus = {
90
- CANCELLED: "CANCELLED",
91
- CANCELLING: "CANCELLING",
92
- COMPLETED: "COMPLETED",
93
- FAILED: "FAILED",
94
- QUEUED: "QUEUED",
95
- RUNNING: "RUNNING",
96
- };
97
- export const SearchJobsFilterOperator = {
98
- BETWEEN: "BETWEEN",
99
- CONTAINS: "CONTAINS",
100
- EQUAL: "EQUAL",
101
- GT: "GT",
102
- GTE: "GTE",
103
- LT: "LT",
104
- LTE: "LTE",
105
- };
106
- export const ExperimentalCapabilitiesEnablementType = {
107
- ALL: "ALL",
108
- NONE: "NONE",
109
- };
110
- export const QuantumTaskAdditionalAttributeName = {
111
- QUEUE_INFO: "QueueInfo",
112
- };
113
- export const QuantumTaskStatus = {
114
- CANCELLED: "CANCELLED",
115
- CANCELLING: "CANCELLING",
116
- COMPLETED: "COMPLETED",
117
- CREATED: "CREATED",
118
- FAILED: "FAILED",
119
- QUEUED: "QUEUED",
120
- RUNNING: "RUNNING",
121
- };
122
- export const SearchQuantumTasksFilterOperator = {
123
- BETWEEN: "BETWEEN",
124
- EQUAL: "EQUAL",
125
- GT: "GT",
126
- GTE: "GTE",
127
- LT: "LT",
128
- LTE: "LTE",
129
- };
1
+ export {};
@@ -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");
@@ -2,3 +2,4 @@ export * from "./Interfaces";
2
2
  export * from "./SearchDevicesPaginator";
3
3
  export * from "./SearchJobsPaginator";
4
4
  export * from "./SearchQuantumTasksPaginator";
5
+ export * from "./SearchSpendingLimitsPaginator";
@@ -17,6 +17,9 @@ const _CQTRa = "CancelQuantumTaskResponse";
17
17
  const _CQTRr = "CreateQuantumTaskRequest";
18
18
  const _CQTRre = "CreateQuantumTaskResponse";
19
19
  const _CQTr = "CreateQuantumTask";
20
+ const _CSL = "CreateSpendingLimit";
21
+ const _CSLR = "CreateSpendingLimitRequest";
22
+ const _CSLRr = "CreateSpendingLimitResponse";
20
23
  const _DC = "DeviceConfig";
21
24
  const _DOE = "DeviceOfflineException";
22
25
  const _DQI = "DeviceQueueInfo";
@@ -24,6 +27,9 @@ const _DQIL = "DeviceQueueInfoList";
24
27
  const _DRE = "DeviceRetiredException";
25
28
  const _DS = "DataSource";
26
29
  const _DSL = "DeviceSummaryList";
30
+ const _DSLR = "DeleteSpendingLimitRequest";
31
+ const _DSLRe = "DeleteSpendingLimitResponse";
32
+ const _DSLe = "DeleteSpendingLimit";
27
33
  const _DSe = "DeviceSummary";
28
34
  const _EC = "ExperimentalCapabilities";
29
35
  const _GD = "GetDevice";
@@ -68,6 +74,8 @@ const _SJF = "SearchJobsFilter";
68
74
  const _SJFL = "SearchJobsFilterList";
69
75
  const _SJR = "SearchJobsRequest";
70
76
  const _SJRe = "SearchJobsResponse";
77
+ const _SLS = "SpendingLimitSummary";
78
+ const _SLSL = "SpendingLimitSummaryList";
71
79
  const _SMC = "ScriptModeConfig";
72
80
  const _SQEE = "ServiceQuotaExceededException";
73
81
  const _SQT = "SearchQuantumTasks";
@@ -75,13 +83,22 @@ const _SQTF = "SearchQuantumTasksFilter";
75
83
  const _SQTFL = "SearchQuantumTasksFilterList";
76
84
  const _SQTR = "SearchQuantumTasksRequest";
77
85
  const _SQTRe = "SearchQuantumTasksResponse";
86
+ const _SSL = "SearchSpendingLimits";
87
+ const _SSLF = "SearchSpendingLimitsFilter";
88
+ const _SSLFL = "SearchSpendingLimitsFilterList";
89
+ const _SSLR = "SearchSpendingLimitsRequest";
90
+ const _SSLRe = "SearchSpendingLimitsResponse";
78
91
  const _TE = "ThrottlingException";
92
+ const _TP = "TimePeriod";
79
93
  const _TR = "TagResource";
80
94
  const _TRR = "TagResourceRequest";
81
95
  const _TRRa = "TagResourceResponse";
82
96
  const _UR = "UntagResource";
83
97
  const _URR = "UntagResourceRequest";
84
98
  const _URRn = "UntagResourceResponse";
99
+ const _USL = "UpdateSpendingLimit";
100
+ const _USLR = "UpdateSpendingLimitRequest";
101
+ const _USLRp = "UpdateSpendingLimitResponse";
85
102
  const _VE = "ValidationException";
86
103
  const _a = "application/json";
87
104
  const _aAN = "additionalAttributeNames";
@@ -114,6 +131,7 @@ const _dT = "deviceType";
114
131
  const _de = "devices";
115
132
  const _e = "error";
116
133
  const _eA = "endedAt";
134
+ const _eAn = "endAt";
117
135
  const _eC = "executableCount";
118
136
  const _eCx = "experimentalCapabilities";
119
137
  const _eP = "entryPoint";
@@ -159,6 +177,7 @@ const _q = "queue";
159
177
  const _qI = "queueInfo";
160
178
  const _qP = "queuePriority";
161
179
  const _qS = "queueSize";
180
+ const _qSu = "queuedSpend";
162
181
  const _qT = "quantumTasks";
163
182
  const _qTA = "quantumTaskArn";
164
183
  const _r = "reason";
@@ -166,8 +185,12 @@ const _rA = "roleArn";
166
185
  const _rAe = "resourceArn";
167
186
  const _s = "shots";
168
187
  const _sA = "startedAt";
188
+ const _sAt = "startAt";
169
189
  const _sC = "stoppingCondition";
170
190
  const _sDS = "s3DataSource";
191
+ const _sL = "spendingLimit";
192
+ const _sLA = "spendingLimitArn";
193
+ const _sLp = "spendingLimits";
171
194
  const _sMC = "scriptModeConfig";
172
195
  const _sP = "s3Path";
173
196
  const _sU = "s3Uri";
@@ -177,8 +200,11 @@ const _st = "status";
177
200
  const _t = "type";
178
201
  const _tK = "tagKeys";
179
202
  const _tOE = "timeOfEvent";
203
+ const _tP = "timePeriod";
204
+ const _tS = "totalSpend";
180
205
  const _ta = "tags";
181
206
  const _u = "uri";
207
+ const _uA = "updatedAt";
182
208
  const _v = "values";
183
209
  const _vSIG = "volumeSizeInGb";
184
210
  const n0 = "com.amazonaws.braket";
@@ -287,7 +313,18 @@ export var CreateQuantumTaskRequest = [
287
313
  ],
288
314
  ];
289
315
  export var CreateQuantumTaskResponse = [3, n0, _CQTRre, 0, [_qTA], [0]];
316
+ export var CreateSpendingLimitRequest = [
317
+ 3,
318
+ n0,
319
+ _CSLR,
320
+ 0,
321
+ [_cT, _dA, _sL, _tP, _ta],
322
+ [[0, 4], 0, 0, () => TimePeriod, 128 | 0],
323
+ ];
324
+ export var CreateSpendingLimitResponse = [3, n0, _CSLRr, 0, [_sLA], [0]];
290
325
  export var DataSource = [3, n0, _DS, 0, [_sDS], [() => S3DataSource]];
326
+ export var DeleteSpendingLimitRequest = [3, n0, _DSLR, 0, [_sLA], [[0, 1]]];
327
+ export var DeleteSpendingLimitResponse = [3, n0, _DSLRe, 0, [], []];
291
328
  export var DeviceConfig = [3, n0, _DC, 0, [_d], [0]];
292
329
  export var DeviceOfflineException = [
293
330
  -3,
@@ -502,6 +539,23 @@ export var SearchQuantumTasksResponse = [
502
539
  [_qT, _nT],
503
540
  [() => QuantumTaskSummaryList, 0],
504
541
  ];
542
+ export var SearchSpendingLimitsFilter = [3, n0, _SSLF, 0, [_n, _v, _o], [0, 64 | 0, 0]];
543
+ export var SearchSpendingLimitsRequest = [
544
+ 3,
545
+ n0,
546
+ _SSLR,
547
+ 0,
548
+ [_nT, _mR, _f],
549
+ [0, 1, () => SearchSpendingLimitsFilterList],
550
+ ];
551
+ export var SearchSpendingLimitsResponse = [
552
+ 3,
553
+ n0,
554
+ _SSLRe,
555
+ 0,
556
+ [_sLp, _nT],
557
+ [() => SpendingLimitSummaryList, 0],
558
+ ];
505
559
  export var ServiceQuotaExceededException = [
506
560
  -3,
507
561
  n0,
@@ -514,6 +568,14 @@ export var ServiceQuotaExceededException = [
514
568
  [0],
515
569
  ];
516
570
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
571
+ export var SpendingLimitSummary = [
572
+ 3,
573
+ n0,
574
+ _SLS,
575
+ 0,
576
+ [_sLA, _dA, _tP, _sL, _qSu, _tS, _cA, _uA, _ta],
577
+ [0, 0, () => TimePeriod, 0, 0, 0, 5, 5, 128 | 0],
578
+ ];
517
579
  export var TagResourceRequest = [3, n0, _TRR, 0, [_rAe, _ta], [[0, 1], 128 | 0]];
518
580
  export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
519
581
  export var ThrottlingException = [
@@ -528,6 +590,7 @@ export var ThrottlingException = [
528
590
  [0],
529
591
  ];
530
592
  TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
593
+ export var TimePeriod = [3, n0, _TP, 0, [_sAt, _eAn], [7, 7]];
531
594
  export var UntagResourceRequest = [
532
595
  3,
533
596
  n0,
@@ -545,6 +608,15 @@ export var UntagResourceRequest = [
545
608
  ],
546
609
  ];
547
610
  export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
611
+ export var UpdateSpendingLimitRequest = [
612
+ 3,
613
+ n0,
614
+ _USLR,
615
+ 0,
616
+ [_sLA, _cT, _sL, _tP],
617
+ [[0, 1], [0, 4], 0, () => TimePeriod],
618
+ ];
619
+ export var UpdateSpendingLimitResponse = [3, n0, _USLRp, 0, [], []];
548
620
  export var ValidationException = [
549
621
  -3,
550
622
  n0,
@@ -573,6 +645,8 @@ export var QuantumTaskSummaryList = [1, n0, _QTSL, 0, () => QuantumTaskSummary];
573
645
  export var SearchDevicesFilterList = [1, n0, _SDFL, 0, () => SearchDevicesFilter];
574
646
  export var SearchJobsFilterList = [1, n0, _SJFL, 0, () => SearchJobsFilter];
575
647
  export var SearchQuantumTasksFilterList = [1, n0, _SQTFL, 0, () => SearchQuantumTasksFilter];
648
+ export var SearchSpendingLimitsFilterList = [1, n0, _SSLFL, 0, () => SearchSpendingLimitsFilter];
649
+ export var SpendingLimitSummaryList = [1, n0, _SLSL, 0, () => SpendingLimitSummary];
576
650
  export var String256List = 64 | 0;
577
651
  export var TagKeys = 64 | 0;
578
652
  export var HyperParameters = 128 | 0;
@@ -618,6 +692,26 @@ export var CreateQuantumTask = [
618
692
  () => CreateQuantumTaskRequest,
619
693
  () => CreateQuantumTaskResponse,
620
694
  ];
695
+ export var CreateSpendingLimit = [
696
+ 9,
697
+ n0,
698
+ _CSL,
699
+ {
700
+ [_h]: ["POST", "/spending-limit", 201],
701
+ },
702
+ () => CreateSpendingLimitRequest,
703
+ () => CreateSpendingLimitResponse,
704
+ ];
705
+ export var DeleteSpendingLimit = [
706
+ 9,
707
+ n0,
708
+ _DSLe,
709
+ {
710
+ [_h]: ["DELETE", "/spending-limit/{spendingLimitArn}/delete", 200],
711
+ },
712
+ () => DeleteSpendingLimitRequest,
713
+ () => DeleteSpendingLimitResponse,
714
+ ];
621
715
  export var GetDevice = [
622
716
  9,
623
717
  n0,
@@ -688,6 +782,16 @@ export var SearchQuantumTasks = [
688
782
  () => SearchQuantumTasksRequest,
689
783
  () => SearchQuantumTasksResponse,
690
784
  ];
785
+ export var SearchSpendingLimits = [
786
+ 9,
787
+ n0,
788
+ _SSL,
789
+ {
790
+ [_h]: ["POST", "/spending-limits", 200],
791
+ },
792
+ () => SearchSpendingLimitsRequest,
793
+ () => SearchSpendingLimitsResponse,
794
+ ];
691
795
  export var TagResource = [
692
796
  9,
693
797
  n0,
@@ -708,3 +812,13 @@ export var UntagResource = [
708
812
  () => UntagResourceRequest,
709
813
  () => UntagResourceResponse,
710
814
  ];
815
+ export var UpdateSpendingLimit = [
816
+ 9,
817
+ n0,
818
+ _USL,
819
+ {
820
+ [_h]: ["PATCH", "/spending-limit/{spendingLimitArn}/update", 200],
821
+ },
822
+ () => UpdateSpendingLimitRequest,
823
+ () => UpdateSpendingLimitResponse,
824
+ ];
@@ -4,6 +4,8 @@ import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/Cancel
4
4
  import { CancelQuantumTaskCommandInput, CancelQuantumTaskCommandOutput } from "./commands/CancelQuantumTaskCommand";
5
5
  import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
6
6
  import { CreateQuantumTaskCommandInput, CreateQuantumTaskCommandOutput } from "./commands/CreateQuantumTaskCommand";
7
+ import { CreateSpendingLimitCommandInput, CreateSpendingLimitCommandOutput } from "./commands/CreateSpendingLimitCommand";
8
+ import { DeleteSpendingLimitCommandInput, DeleteSpendingLimitCommandOutput } from "./commands/DeleteSpendingLimitCommand";
7
9
  import { GetDeviceCommandInput, GetDeviceCommandOutput } from "./commands/GetDeviceCommand";
8
10
  import { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
9
11
  import { GetQuantumTaskCommandInput, GetQuantumTaskCommandOutput } from "./commands/GetQuantumTaskCommand";
@@ -11,8 +13,10 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
11
13
  import { SearchDevicesCommandInput, SearchDevicesCommandOutput } from "./commands/SearchDevicesCommand";
12
14
  import { SearchJobsCommandInput, SearchJobsCommandOutput } from "./commands/SearchJobsCommand";
13
15
  import { SearchQuantumTasksCommandInput, SearchQuantumTasksCommandOutput } from "./commands/SearchQuantumTasksCommand";
16
+ import { SearchSpendingLimitsCommandInput, SearchSpendingLimitsCommandOutput } from "./commands/SearchSpendingLimitsCommand";
14
17
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
15
18
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
19
+ import { UpdateSpendingLimitCommandInput, UpdateSpendingLimitCommandOutput } from "./commands/UpdateSpendingLimitCommand";
16
20
  export interface Braket {
17
21
  /**
18
22
  * @see {@link CancelJobCommand}
@@ -38,6 +42,18 @@ export interface Braket {
38
42
  createQuantumTask(args: CreateQuantumTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateQuantumTaskCommandOutput>;
39
43
  createQuantumTask(args: CreateQuantumTaskCommandInput, cb: (err: any, data?: CreateQuantumTaskCommandOutput) => void): void;
40
44
  createQuantumTask(args: CreateQuantumTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQuantumTaskCommandOutput) => void): void;
45
+ /**
46
+ * @see {@link CreateSpendingLimitCommand}
47
+ */
48
+ createSpendingLimit(args: CreateSpendingLimitCommandInput, options?: __HttpHandlerOptions): Promise<CreateSpendingLimitCommandOutput>;
49
+ createSpendingLimit(args: CreateSpendingLimitCommandInput, cb: (err: any, data?: CreateSpendingLimitCommandOutput) => void): void;
50
+ createSpendingLimit(args: CreateSpendingLimitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSpendingLimitCommandOutput) => void): void;
51
+ /**
52
+ * @see {@link DeleteSpendingLimitCommand}
53
+ */
54
+ deleteSpendingLimit(args: DeleteSpendingLimitCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSpendingLimitCommandOutput>;
55
+ deleteSpendingLimit(args: DeleteSpendingLimitCommandInput, cb: (err: any, data?: DeleteSpendingLimitCommandOutput) => void): void;
56
+ deleteSpendingLimit(args: DeleteSpendingLimitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSpendingLimitCommandOutput) => void): void;
41
57
  /**
42
58
  * @see {@link GetDeviceCommand}
43
59
  */
@@ -80,6 +96,13 @@ export interface Braket {
80
96
  searchQuantumTasks(args: SearchQuantumTasksCommandInput, options?: __HttpHandlerOptions): Promise<SearchQuantumTasksCommandOutput>;
81
97
  searchQuantumTasks(args: SearchQuantumTasksCommandInput, cb: (err: any, data?: SearchQuantumTasksCommandOutput) => void): void;
82
98
  searchQuantumTasks(args: SearchQuantumTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchQuantumTasksCommandOutput) => void): void;
99
+ /**
100
+ * @see {@link SearchSpendingLimitsCommand}
101
+ */
102
+ searchSpendingLimits(): Promise<SearchSpendingLimitsCommandOutput>;
103
+ searchSpendingLimits(args: SearchSpendingLimitsCommandInput, options?: __HttpHandlerOptions): Promise<SearchSpendingLimitsCommandOutput>;
104
+ searchSpendingLimits(args: SearchSpendingLimitsCommandInput, cb: (err: any, data?: SearchSpendingLimitsCommandOutput) => void): void;
105
+ searchSpendingLimits(args: SearchSpendingLimitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchSpendingLimitsCommandOutput) => void): void;
83
106
  /**
84
107
  * @see {@link TagResourceCommand}
85
108
  */
@@ -92,6 +115,12 @@ export interface Braket {
92
115
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
93
116
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
94
117
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
118
+ /**
119
+ * @see {@link UpdateSpendingLimitCommand}
120
+ */
121
+ updateSpendingLimit(args: UpdateSpendingLimitCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSpendingLimitCommandOutput>;
122
+ updateSpendingLimit(args: UpdateSpendingLimitCommandInput, cb: (err: any, data?: UpdateSpendingLimitCommandOutput) => void): void;
123
+ updateSpendingLimit(args: UpdateSpendingLimitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSpendingLimitCommandOutput) => void): void;
95
124
  }
96
125
  /**
97
126
  * <p>The Amazon Braket API Reference provides information about the operations and structures supported by Amazon Braket.</p> <p>To learn about the permissions required to call an Amazon Braket API action, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbraket.html">Actions, resources, and condition keys for Amazon Braket</a>. <a href="https://amazon-braket-sdk-python.readthedocs.io/en/latest/#">Amazon Braket Python SDK</a> and the <a href="https://docs.aws.amazon.com/cli/latest/reference/braket/">AWS Command Line Interface</a> can be used to make discovery and creation of API calls easier. For more information about Amazon Braket features, see <a href="https://docs.aws.amazon.com/braket/latest/developerguide/what-is-braket.html">What is Amazon Braket?</a> and important <a href="https://docs.aws.amazon.com/braket/latest/developerguide/braket-terms.html">terms and concepts</a> in the <i>Amazon Braket Developer Guide</i>.</p> <p> <b>In this guide:</b> </p> <ul> <li> <p/> </li> <li> <p/> </li> <li> <p> <a>CommonParameters</a> </p> </li> <li> <p> <a>CommonErrors</a> </p> </li> </ul> <p> <b>Available languages for AWS SDK:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/Braket/NBraket.html">.NET</a> </p> </li> <li> <p> <a href="https://sdk.amazonaws.com/cpp/api/LATEST/root/html/index.html">C++</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/sdk-for-go/api/service/braket/">Go API reference</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/braket/package-summary.html">Java</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Braket.html">JavaScript</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.Braket.BraketClient.html">PHP</a> </p> </li> <li> <p> <a href="https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/braket.html">Python (Boto)</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket.html">Ruby</a> </p> </li> </ul> <p> <b>Code examples from the Amazon Braket Tutorials GitHub repository:</b> </p> <ul> <li> <p> <a href="https://github.com/amazon-braket/amazon-braket-examples">Amazon Braket Examples</a> </p> </li> </ul>
@@ -11,6 +11,8 @@ import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/Cancel
11
11
  import { CancelQuantumTaskCommandInput, CancelQuantumTaskCommandOutput } from "./commands/CancelQuantumTaskCommand";
12
12
  import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
13
13
  import { CreateQuantumTaskCommandInput, CreateQuantumTaskCommandOutput } from "./commands/CreateQuantumTaskCommand";
14
+ import { CreateSpendingLimitCommandInput, CreateSpendingLimitCommandOutput } from "./commands/CreateSpendingLimitCommand";
15
+ import { DeleteSpendingLimitCommandInput, DeleteSpendingLimitCommandOutput } from "./commands/DeleteSpendingLimitCommand";
14
16
  import { GetDeviceCommandInput, GetDeviceCommandOutput } from "./commands/GetDeviceCommand";
15
17
  import { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
16
18
  import { GetQuantumTaskCommandInput, GetQuantumTaskCommandOutput } from "./commands/GetQuantumTaskCommand";
@@ -18,19 +20,21 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
18
20
  import { SearchDevicesCommandInput, SearchDevicesCommandOutput } from "./commands/SearchDevicesCommand";
19
21
  import { SearchJobsCommandInput, SearchJobsCommandOutput } from "./commands/SearchJobsCommand";
20
22
  import { SearchQuantumTasksCommandInput, SearchQuantumTasksCommandOutput } from "./commands/SearchQuantumTasksCommand";
23
+ import { SearchSpendingLimitsCommandInput, SearchSpendingLimitsCommandOutput } from "./commands/SearchSpendingLimitsCommand";
21
24
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
22
25
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
26
+ import { UpdateSpendingLimitCommandInput, UpdateSpendingLimitCommandOutput } from "./commands/UpdateSpendingLimitCommand";
23
27
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
24
28
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
25
29
  export { __Client };
26
30
  /**
27
31
  * @public
28
32
  */
29
- export type ServiceInputTypes = CancelJobCommandInput | CancelQuantumTaskCommandInput | CreateJobCommandInput | CreateQuantumTaskCommandInput | GetDeviceCommandInput | GetJobCommandInput | GetQuantumTaskCommandInput | ListTagsForResourceCommandInput | SearchDevicesCommandInput | SearchJobsCommandInput | SearchQuantumTasksCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
33
+ export type ServiceInputTypes = CancelJobCommandInput | CancelQuantumTaskCommandInput | CreateJobCommandInput | CreateQuantumTaskCommandInput | CreateSpendingLimitCommandInput | DeleteSpendingLimitCommandInput | GetDeviceCommandInput | GetJobCommandInput | GetQuantumTaskCommandInput | ListTagsForResourceCommandInput | SearchDevicesCommandInput | SearchJobsCommandInput | SearchQuantumTasksCommandInput | SearchSpendingLimitsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateSpendingLimitCommandInput;
30
34
  /**
31
35
  * @public
32
36
  */
33
- export type ServiceOutputTypes = CancelJobCommandOutput | CancelQuantumTaskCommandOutput | CreateJobCommandOutput | CreateQuantumTaskCommandOutput | GetDeviceCommandOutput | GetJobCommandOutput | GetQuantumTaskCommandOutput | ListTagsForResourceCommandOutput | SearchDevicesCommandOutput | SearchJobsCommandOutput | SearchQuantumTasksCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
37
+ export type ServiceOutputTypes = CancelJobCommandOutput | CancelQuantumTaskCommandOutput | CreateJobCommandOutput | CreateQuantumTaskCommandOutput | CreateSpendingLimitCommandOutput | DeleteSpendingLimitCommandOutput | GetDeviceCommandOutput | GetJobCommandOutput | GetQuantumTaskCommandOutput | ListTagsForResourceCommandOutput | SearchDevicesCommandOutput | SearchJobsCommandOutput | SearchQuantumTasksCommandOutput | SearchSpendingLimitsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateSpendingLimitCommandOutput;
34
38
  /**
35
39
  * @public
36
40
  */