@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
@@ -1,4 +1,5 @@
1
1
  import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/smithy-client";
2
+ import { _InstanceType, AssociationType, CancellationStatus, CompressionType, DeviceStatus, DeviceType, ExperimentalCapabilitiesEnablementType, HybridJobAdditionalAttributeName, JobEventType, JobPrimaryStatus, QuantumTaskAdditionalAttributeName, QuantumTaskStatus, QueueName, QueuePriority, SearchJobsFilterOperator, SearchQuantumTasksFilterOperator, SearchSpendingLimitsFilterOperator } from "./enums";
2
3
  /**
3
4
  * <p>Contains metadata about the quantum task action, including the action type and program statistics.</p>
4
5
  * @public
@@ -31,18 +32,6 @@ export interface ContainerImage {
31
32
  */
32
33
  uri: string | undefined;
33
34
  }
34
- /**
35
- * @public
36
- * @enum
37
- */
38
- export declare const CompressionType: {
39
- readonly GZIP: "GZIP";
40
- readonly NONE: "NONE";
41
- };
42
- /**
43
- * @public
44
- */
45
- export type CompressionType = (typeof CompressionType)[keyof typeof CompressionType];
46
35
  /**
47
36
  * <p>Contains information about algorithm scripts used for the Amazon Braket hybrid job.</p>
48
37
  * @public
@@ -80,17 +69,6 @@ export interface AlgorithmSpecification {
80
69
  */
81
70
  containerImage?: ContainerImage | undefined;
82
71
  }
83
- /**
84
- * @public
85
- * @enum
86
- */
87
- export declare const AssociationType: {
88
- readonly RESERVATION_TIME_WINDOW_ARN: "RESERVATION_TIME_WINDOW_ARN";
89
- };
90
- /**
91
- * @public
92
- */
93
- export type AssociationType = (typeof AssociationType)[keyof typeof AssociationType];
94
72
  /**
95
73
  * <p>The Amazon Braket resource and the association type.</p>
96
74
  * @public
@@ -117,30 +95,6 @@ export interface GetDeviceRequest {
117
95
  */
118
96
  deviceArn: string | undefined;
119
97
  }
120
- /**
121
- * @public
122
- * @enum
123
- */
124
- export declare const QueueName: {
125
- readonly JOBS_QUEUE: "JOBS_QUEUE";
126
- readonly QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE";
127
- };
128
- /**
129
- * @public
130
- */
131
- export type QueueName = (typeof QueueName)[keyof typeof QueueName];
132
- /**
133
- * @public
134
- * @enum
135
- */
136
- export declare const QueuePriority: {
137
- readonly NORMAL: "Normal";
138
- readonly PRIORITY: "Priority";
139
- };
140
- /**
141
- * @public
142
- */
143
- export type QueuePriority = (typeof QueuePriority)[keyof typeof QueuePriority];
144
98
  /**
145
99
  * <p>Information about quantum tasks and hybrid jobs queued on a device.</p>
146
100
  * @public
@@ -162,31 +116,6 @@ export interface DeviceQueueInfo {
162
116
  */
163
117
  queuePriority?: QueuePriority | undefined;
164
118
  }
165
- /**
166
- * @public
167
- * @enum
168
- */
169
- export declare const DeviceStatus: {
170
- readonly OFFLINE: "OFFLINE";
171
- readonly ONLINE: "ONLINE";
172
- readonly RETIRED: "RETIRED";
173
- };
174
- /**
175
- * @public
176
- */
177
- export type DeviceStatus = (typeof DeviceStatus)[keyof typeof DeviceStatus];
178
- /**
179
- * @public
180
- * @enum
181
- */
182
- export declare const DeviceType: {
183
- readonly QPU: "QPU";
184
- readonly SIMULATOR: "SIMULATOR";
185
- };
186
- /**
187
- * @public
188
- */
189
- export type DeviceType = (typeof DeviceType)[keyof typeof DeviceType];
190
119
  /**
191
120
  * @public
192
121
  */
@@ -248,17 +177,6 @@ export interface ProgramSetValidationFailure {
248
177
  */
249
178
  errors?: string[] | undefined;
250
179
  }
251
- /**
252
- * @public
253
- * @enum
254
- */
255
- export declare const ValidationExceptionReason: {
256
- readonly PROGRAM_SET_VALIDATION_FAILED: "ProgramSetValidationFailed";
257
- };
258
- /**
259
- * @public
260
- */
261
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
262
180
  /**
263
181
  * <p>The filter used to search for devices.</p>
264
182
  * @public
@@ -351,18 +269,6 @@ export interface CancelJobRequest {
351
269
  */
352
270
  jobArn: string | undefined;
353
271
  }
354
- /**
355
- * @public
356
- * @enum
357
- */
358
- export declare const CancellationStatus: {
359
- readonly CANCELLED: "CANCELLED";
360
- readonly CANCELLING: "CANCELLING";
361
- };
362
- /**
363
- * @public
364
- */
365
- export type CancellationStatus = (typeof CancellationStatus)[keyof typeof CancellationStatus];
366
272
  /**
367
273
  * @public
368
274
  */
@@ -448,55 +354,6 @@ export interface InputFileConfig {
448
354
  */
449
355
  dataSource: DataSource | undefined;
450
356
  }
451
- /**
452
- * @public
453
- * @enum
454
- */
455
- export declare const _InstanceType: {
456
- readonly ML_C4_2XLARGE: "ml.c4.2xlarge";
457
- readonly ML_C4_4XLARGE: "ml.c4.4xlarge";
458
- readonly ML_C4_8XLARGE: "ml.c4.8xlarge";
459
- readonly ML_C4_XLARGE: "ml.c4.xlarge";
460
- readonly ML_C5N_18XLARGE: "ml.c5n.18xlarge";
461
- readonly ML_C5N_2XLARGE: "ml.c5n.2xlarge";
462
- readonly ML_C5N_4XLARGE: "ml.c5n.4xlarge";
463
- readonly ML_C5N_9XLARGE: "ml.c5n.9xlarge";
464
- readonly ML_C5N_XLARGE: "ml.c5n.xlarge";
465
- readonly ML_C5_18XLARGE: "ml.c5.18xlarge";
466
- readonly ML_C5_2XLARGE: "ml.c5.2xlarge";
467
- readonly ML_C5_4XLARGE: "ml.c5.4xlarge";
468
- readonly ML_C5_9XLARGE: "ml.c5.9xlarge";
469
- readonly ML_C5_XLARGE: "ml.c5.xlarge";
470
- readonly ML_G4DN_12XLARGE: "ml.g4dn.12xlarge";
471
- readonly ML_G4DN_16XLARGE: "ml.g4dn.16xlarge";
472
- readonly ML_G4DN_2XLARGE: "ml.g4dn.2xlarge";
473
- readonly ML_G4DN_4XLARGE: "ml.g4dn.4xlarge";
474
- readonly ML_G4DN_8XLARGE: "ml.g4dn.8xlarge";
475
- readonly ML_G4DN_XLARGE: "ml.g4dn.xlarge";
476
- readonly ML_M4_10XLARGE: "ml.m4.10xlarge";
477
- readonly ML_M4_16XLARGE: "ml.m4.16xlarge";
478
- readonly ML_M4_2XLARGE: "ml.m4.2xlarge";
479
- readonly ML_M4_4XLARGE: "ml.m4.4xlarge";
480
- readonly ML_M4_XLARGE: "ml.m4.xlarge";
481
- readonly ML_M5_12XLARGE: "ml.m5.12xlarge";
482
- readonly ML_M5_24XLARGE: "ml.m5.24xlarge";
483
- readonly ML_M5_2XLARGE: "ml.m5.2xlarge";
484
- readonly ML_M5_4XLARGE: "ml.m5.4xlarge";
485
- readonly ML_M5_LARGE: "ml.m5.large";
486
- readonly ML_M5_XLARGE: "ml.m5.xlarge";
487
- readonly ML_P2_16XLARGE: "ml.p2.16xlarge";
488
- readonly ML_P2_8XLARGE: "ml.p2.8xlarge";
489
- readonly ML_P2_XLARGE: "ml.p2.xlarge";
490
- readonly ML_P3DN_24XLARGE: "ml.p3dn.24xlarge";
491
- readonly ML_P3_16XLARGE: "ml.p3.16xlarge";
492
- readonly ML_P3_2XLARGE: "ml.p3.2xlarge";
493
- readonly ML_P3_8XLARGE: "ml.p3.8xlarge";
494
- readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
495
- };
496
- /**
497
- * @public
498
- */
499
- export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
500
357
  /**
501
358
  * <p>Configures the resource instances to use while running the Amazon Braket hybrid job on Amazon Braket.</p>
502
359
  * @public
@@ -625,17 +482,6 @@ export interface CreateJobResponse {
625
482
  */
626
483
  jobArn: string | undefined;
627
484
  }
628
- /**
629
- * @public
630
- * @enum
631
- */
632
- export declare const HybridJobAdditionalAttributeName: {
633
- readonly QUEUE_INFO: "QueueInfo";
634
- };
635
- /**
636
- * @public
637
- */
638
- export type HybridJobAdditionalAttributeName = (typeof HybridJobAdditionalAttributeName)[keyof typeof HybridJobAdditionalAttributeName];
639
485
  /**
640
486
  * @public
641
487
  */
@@ -651,27 +497,6 @@ export interface GetJobRequest {
651
497
  */
652
498
  additionalAttributeNames?: HybridJobAdditionalAttributeName[] | undefined;
653
499
  }
654
- /**
655
- * @public
656
- * @enum
657
- */
658
- export declare const JobEventType: {
659
- readonly CANCELLED: "CANCELLED";
660
- readonly COMPLETED: "COMPLETED";
661
- readonly DEPRIORITIZED_DUE_TO_INACTIVITY: "DEPRIORITIZED_DUE_TO_INACTIVITY";
662
- readonly DOWNLOADING_DATA: "DOWNLOADING_DATA";
663
- readonly FAILED: "FAILED";
664
- readonly MAX_RUNTIME_EXCEEDED: "MAX_RUNTIME_EXCEEDED";
665
- readonly QUEUED_FOR_EXECUTION: "QUEUED_FOR_EXECUTION";
666
- readonly RUNNING: "RUNNING";
667
- readonly STARTING_INSTANCE: "STARTING_INSTANCE";
668
- readonly UPLOADING_RESULTS: "UPLOADING_RESULTS";
669
- readonly WAITING_FOR_PRIORITY: "WAITING_FOR_PRIORITY";
670
- };
671
- /**
672
- * @public
673
- */
674
- export type JobEventType = (typeof JobEventType)[keyof typeof JobEventType];
675
500
  /**
676
501
  * <p>Details about the type and time events that occurred related to the Amazon Braket hybrid job.</p>
677
502
  * @public
@@ -714,22 +539,6 @@ export interface HybridJobQueueInfo {
714
539
  */
715
540
  message?: string | undefined;
716
541
  }
717
- /**
718
- * @public
719
- * @enum
720
- */
721
- export declare const JobPrimaryStatus: {
722
- readonly CANCELLED: "CANCELLED";
723
- readonly CANCELLING: "CANCELLING";
724
- readonly COMPLETED: "COMPLETED";
725
- readonly FAILED: "FAILED";
726
- readonly QUEUED: "QUEUED";
727
- readonly RUNNING: "RUNNING";
728
- };
729
- /**
730
- * @public
731
- */
732
- export type JobPrimaryStatus = (typeof JobPrimaryStatus)[keyof typeof JobPrimaryStatus];
733
542
  /**
734
543
  * @public
735
544
  */
@@ -840,23 +649,6 @@ export interface GetJobResponse {
840
649
  */
841
650
  associations?: Association[] | undefined;
842
651
  }
843
- /**
844
- * @public
845
- * @enum
846
- */
847
- export declare const SearchJobsFilterOperator: {
848
- readonly BETWEEN: "BETWEEN";
849
- readonly CONTAINS: "CONTAINS";
850
- readonly EQUAL: "EQUAL";
851
- readonly GT: "GT";
852
- readonly GTE: "GTE";
853
- readonly LT: "LT";
854
- readonly LTE: "LTE";
855
- };
856
- /**
857
- * @public
858
- */
859
- export type SearchJobsFilterOperator = (typeof SearchJobsFilterOperator)[keyof typeof SearchJobsFilterOperator];
860
652
  /**
861
653
  * <p>A filter used to search for Amazon Braket hybrid jobs.</p>
862
654
  * @public
@@ -1009,18 +801,6 @@ export interface CancelQuantumTaskResponse {
1009
801
  */
1010
802
  cancellationStatus: CancellationStatus | undefined;
1011
803
  }
1012
- /**
1013
- * @public
1014
- * @enum
1015
- */
1016
- export declare const ExperimentalCapabilitiesEnablementType: {
1017
- readonly ALL: "ALL";
1018
- readonly NONE: "NONE";
1019
- };
1020
- /**
1021
- * @public
1022
- */
1023
- export type ExperimentalCapabilitiesEnablementType = (typeof ExperimentalCapabilitiesEnablementType)[keyof typeof ExperimentalCapabilitiesEnablementType];
1024
804
  /**
1025
805
  * <p>Enabled experimental capabilities for quantum hardware. Note that the use of these features may impact device capabilities and performance beyond its standard specifications.</p>
1026
806
  * @public
@@ -1124,17 +904,6 @@ export interface CreateQuantumTaskResponse {
1124
904
  */
1125
905
  quantumTaskArn: string | undefined;
1126
906
  }
1127
- /**
1128
- * @public
1129
- * @enum
1130
- */
1131
- export declare const QuantumTaskAdditionalAttributeName: {
1132
- readonly QUEUE_INFO: "QueueInfo";
1133
- };
1134
- /**
1135
- * @public
1136
- */
1137
- export type QuantumTaskAdditionalAttributeName = (typeof QuantumTaskAdditionalAttributeName)[keyof typeof QuantumTaskAdditionalAttributeName];
1138
907
  /**
1139
908
  * @public
1140
909
  */
@@ -1176,23 +945,6 @@ export interface QuantumTaskQueueInfo {
1176
945
  */
1177
946
  message?: string | undefined;
1178
947
  }
1179
- /**
1180
- * @public
1181
- * @enum
1182
- */
1183
- export declare const QuantumTaskStatus: {
1184
- readonly CANCELLED: "CANCELLED";
1185
- readonly CANCELLING: "CANCELLING";
1186
- readonly COMPLETED: "COMPLETED";
1187
- readonly CREATED: "CREATED";
1188
- readonly FAILED: "FAILED";
1189
- readonly QUEUED: "QUEUED";
1190
- readonly RUNNING: "RUNNING";
1191
- };
1192
- /**
1193
- * @public
1194
- */
1195
- export type QuantumTaskStatus = (typeof QuantumTaskStatus)[keyof typeof QuantumTaskStatus];
1196
948
  /**
1197
949
  * @public
1198
950
  */
@@ -1283,22 +1035,6 @@ export interface GetQuantumTaskResponse {
1283
1035
  */
1284
1036
  experimentalCapabilities?: ExperimentalCapabilities | undefined;
1285
1037
  }
1286
- /**
1287
- * @public
1288
- * @enum
1289
- */
1290
- export declare const SearchQuantumTasksFilterOperator: {
1291
- readonly BETWEEN: "BETWEEN";
1292
- readonly EQUAL: "EQUAL";
1293
- readonly GT: "GT";
1294
- readonly GTE: "GTE";
1295
- readonly LT: "LT";
1296
- readonly LTE: "LTE";
1297
- };
1298
- /**
1299
- * @public
1300
- */
1301
- export type SearchQuantumTasksFilterOperator = (typeof SearchQuantumTasksFilterOperator)[keyof typeof SearchQuantumTasksFilterOperator];
1302
1038
  /**
1303
1039
  * <p>A filter used to search for quantum tasks.</p>
1304
1040
  * @public
@@ -1406,6 +1142,214 @@ export interface SearchQuantumTasksResponse {
1406
1142
  */
1407
1143
  nextToken?: string | undefined;
1408
1144
  }
1145
+ /**
1146
+ * <p>Defines a time range for spending limits, specifying when the limit is active.</p>
1147
+ * @public
1148
+ */
1149
+ export interface TimePeriod {
1150
+ /**
1151
+ * <p>The start date and time for the spending limit period, in epoch seconds.</p>
1152
+ * @public
1153
+ */
1154
+ startAt: Date | undefined;
1155
+ /**
1156
+ * <p>The end date and time for the spending limit period, in epoch seconds.</p>
1157
+ * @public
1158
+ */
1159
+ endAt: Date | undefined;
1160
+ }
1161
+ /**
1162
+ * @public
1163
+ */
1164
+ export interface CreateSpendingLimitRequest {
1165
+ /**
1166
+ * <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Braket ignores the request, but does not return an error.</p>
1167
+ * @public
1168
+ */
1169
+ clientToken?: string | undefined;
1170
+ /**
1171
+ * <p>The Amazon Resource Name (ARN) of the quantum device to apply the spending limit to.</p>
1172
+ * @public
1173
+ */
1174
+ deviceArn: string | undefined;
1175
+ /**
1176
+ * <p>The maximum amount that can be spent on the specified device, in USD.</p>
1177
+ * @public
1178
+ */
1179
+ spendingLimit: string | undefined;
1180
+ /**
1181
+ * <p>The time period during which the spending limit is active, including start and end dates.</p>
1182
+ * @public
1183
+ */
1184
+ timePeriod?: TimePeriod | undefined;
1185
+ /**
1186
+ * <p>The tags to apply to the spending limit. Each tag consists of a key and an optional value.</p>
1187
+ * @public
1188
+ */
1189
+ tags?: Record<string, string> | undefined;
1190
+ }
1191
+ /**
1192
+ * @public
1193
+ */
1194
+ export interface CreateSpendingLimitResponse {
1195
+ /**
1196
+ * <p>The Amazon Resource Name (ARN) of the created spending limit.</p>
1197
+ * @public
1198
+ */
1199
+ spendingLimitArn: string | undefined;
1200
+ }
1201
+ /**
1202
+ * @public
1203
+ */
1204
+ export interface DeleteSpendingLimitRequest {
1205
+ /**
1206
+ * <p>The Amazon Resource Name (ARN) of the spending limit to delete.</p>
1207
+ * @public
1208
+ */
1209
+ spendingLimitArn: string | undefined;
1210
+ }
1211
+ /**
1212
+ * @public
1213
+ */
1214
+ export interface DeleteSpendingLimitResponse {
1215
+ }
1216
+ /**
1217
+ * <p>Specifies filter criteria for searching spending limits. Use filters to narrow down results based on specific attributes.</p>
1218
+ * @public
1219
+ */
1220
+ export interface SearchSpendingLimitsFilter {
1221
+ /**
1222
+ * <p>The name of the field to filter on. Currently only supports <code>deviceArn</code>.</p>
1223
+ * @public
1224
+ */
1225
+ name: string | undefined;
1226
+ /**
1227
+ * <p>An array of values to match against the specified field.</p>
1228
+ * @public
1229
+ */
1230
+ values: string[] | undefined;
1231
+ /**
1232
+ * <p>The comparison operator to use when filtering.</p>
1233
+ * @public
1234
+ */
1235
+ operator: SearchSpendingLimitsFilterOperator | undefined;
1236
+ }
1237
+ /**
1238
+ * @public
1239
+ */
1240
+ export interface SearchSpendingLimitsRequest {
1241
+ /**
1242
+ * <p>The token to retrieve the next page of results. This value is returned from a previous call to SearchSpendingLimits when there are more results available.</p>
1243
+ * @public
1244
+ */
1245
+ nextToken?: string | undefined;
1246
+ /**
1247
+ * <p>The maximum number of results to return in a single call. Minimum value of 1, maximum value of 100. Default is 20.</p>
1248
+ * @public
1249
+ */
1250
+ maxResults?: number | undefined;
1251
+ /**
1252
+ * <p>The filters to apply when searching for spending limits. Use filters to narrow down the results based on specific criteria.</p>
1253
+ * @public
1254
+ */
1255
+ filters?: SearchSpendingLimitsFilter[] | undefined;
1256
+ }
1257
+ /**
1258
+ * <p>Contains summary information about a spending limit, including current spending status and configuration details.</p>
1259
+ * @public
1260
+ */
1261
+ export interface SpendingLimitSummary {
1262
+ /**
1263
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies the spending limit.</p>
1264
+ * @public
1265
+ */
1266
+ spendingLimitArn: string | undefined;
1267
+ /**
1268
+ * <p>The Amazon Resource Name (ARN) of the quantum device associated with this spending limit.</p>
1269
+ * @public
1270
+ */
1271
+ deviceArn: string | undefined;
1272
+ /**
1273
+ * <p>The time period during which the spending limit is active.</p>
1274
+ * @public
1275
+ */
1276
+ timePeriod: TimePeriod | undefined;
1277
+ /**
1278
+ * <p>The maximum spending amount allowed for the device during the specified time period, in USD.</p>
1279
+ * @public
1280
+ */
1281
+ spendingLimit: string | undefined;
1282
+ /**
1283
+ * <p>The amount currently queued for spending on the device, in USD.</p>
1284
+ * @public
1285
+ */
1286
+ queuedSpend: string | undefined;
1287
+ /**
1288
+ * <p>The total amount spent on the device so far during the current time period, in USD.</p>
1289
+ * @public
1290
+ */
1291
+ totalSpend: string | undefined;
1292
+ /**
1293
+ * <p>The date and time when the spending limit was created, in epoch seconds.</p>
1294
+ * @public
1295
+ */
1296
+ createdAt: Date | undefined;
1297
+ /**
1298
+ * <p>The date and time when the spending limit was last modified, in epoch seconds.</p>
1299
+ * @public
1300
+ */
1301
+ updatedAt: Date | undefined;
1302
+ /**
1303
+ * <p>The tags associated with the spending limit. Each tag consists of a key and an optional value.</p>
1304
+ * @public
1305
+ */
1306
+ tags?: Record<string, string> | undefined;
1307
+ }
1308
+ /**
1309
+ * @public
1310
+ */
1311
+ export interface SearchSpendingLimitsResponse {
1312
+ /**
1313
+ * <p>An array of spending limit summaries that match the specified filters.</p>
1314
+ * @public
1315
+ */
1316
+ spendingLimits: SpendingLimitSummary[] | undefined;
1317
+ /**
1318
+ * <p>The token to retrieve the next page of results. This value is null when there are no more results to return.</p>
1319
+ * @public
1320
+ */
1321
+ nextToken?: string | undefined;
1322
+ }
1323
+ /**
1324
+ * @public
1325
+ */
1326
+ export interface UpdateSpendingLimitRequest {
1327
+ /**
1328
+ * <p>The Amazon Resource Name (ARN) of the spending limit to update.</p>
1329
+ * @public
1330
+ */
1331
+ spendingLimitArn: string | undefined;
1332
+ /**
1333
+ * <p>A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Braket ignores the request, but does not return an error.</p>
1334
+ * @public
1335
+ */
1336
+ clientToken?: string | undefined;
1337
+ /**
1338
+ * <p>The new maximum amount that can be spent on the specified device, in USD.</p>
1339
+ * @public
1340
+ */
1341
+ spendingLimit?: string | undefined;
1342
+ /**
1343
+ * <p>The new time period during which the spending limit is active, including start and end dates.</p>
1344
+ * @public
1345
+ */
1346
+ timePeriod?: TimePeriod | undefined;
1347
+ }
1348
+ /**
1349
+ * @public
1350
+ */
1351
+ export interface UpdateSpendingLimitResponse {
1352
+ }
1409
1353
  /**
1410
1354
  * @public
1411
1355
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { SearchSpendingLimitsCommandInput, SearchSpendingLimitsCommandOutput } from "../commands/SearchSpendingLimitsCommand";
3
+ import { BraketPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateSearchSpendingLimits: (config: BraketPaginationConfiguration, input: SearchSpendingLimitsCommandInput, ...rest: any[]) => Paginator<SearchSpendingLimitsCommandOutput>;
@@ -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";
@@ -14,7 +14,11 @@ export declare var CreateJobRequest: StaticStructureSchema;
14
14
  export declare var CreateJobResponse: StaticStructureSchema;
15
15
  export declare var CreateQuantumTaskRequest: StaticStructureSchema;
16
16
  export declare var CreateQuantumTaskResponse: StaticStructureSchema;
17
+ export declare var CreateSpendingLimitRequest: StaticStructureSchema;
18
+ export declare var CreateSpendingLimitResponse: StaticStructureSchema;
17
19
  export declare var DataSource: StaticStructureSchema;
20
+ export declare var DeleteSpendingLimitRequest: StaticStructureSchema;
21
+ export declare var DeleteSpendingLimitResponse: StaticStructureSchema;
18
22
  export declare var DeviceConfig: StaticStructureSchema;
19
23
  export declare var DeviceOfflineException: StaticErrorSchema;
20
24
  export declare var DeviceQueueInfo: StaticStructureSchema;
@@ -52,12 +56,19 @@ export declare var SearchJobsResponse: StaticStructureSchema;
52
56
  export declare var SearchQuantumTasksFilter: StaticStructureSchema;
53
57
  export declare var SearchQuantumTasksRequest: StaticStructureSchema;
54
58
  export declare var SearchQuantumTasksResponse: StaticStructureSchema;
59
+ export declare var SearchSpendingLimitsFilter: StaticStructureSchema;
60
+ export declare var SearchSpendingLimitsRequest: StaticStructureSchema;
61
+ export declare var SearchSpendingLimitsResponse: StaticStructureSchema;
55
62
  export declare var ServiceQuotaExceededException: StaticErrorSchema;
63
+ export declare var SpendingLimitSummary: StaticStructureSchema;
56
64
  export declare var TagResourceRequest: StaticStructureSchema;
57
65
  export declare var TagResourceResponse: StaticStructureSchema;
58
66
  export declare var ThrottlingException: StaticErrorSchema;
67
+ export declare var TimePeriod: StaticStructureSchema;
59
68
  export declare var UntagResourceRequest: StaticStructureSchema;
60
69
  export declare var UntagResourceResponse: StaticStructureSchema;
70
+ export declare var UpdateSpendingLimitRequest: StaticStructureSchema;
71
+ export declare var UpdateSpendingLimitResponse: StaticStructureSchema;
61
72
  export declare var ValidationException: StaticErrorSchema;
62
73
  export declare var BraketServiceException: StaticErrorSchema;
63
74
  export declare var Associations: StaticListSchema;
@@ -74,6 +85,8 @@ export declare var QuantumTaskSummaryList: StaticListSchema;
74
85
  export declare var SearchDevicesFilterList: StaticListSchema;
75
86
  export declare var SearchJobsFilterList: StaticListSchema;
76
87
  export declare var SearchQuantumTasksFilterList: StaticListSchema;
88
+ export declare var SearchSpendingLimitsFilterList: StaticListSchema;
89
+ export declare var SpendingLimitSummaryList: StaticListSchema;
77
90
  export declare var String256List: number;
78
91
  export declare var TagKeys: number;
79
92
  export declare var HyperParameters: number;
@@ -83,6 +96,8 @@ export declare var CancelJob: StaticOperationSchema;
83
96
  export declare var CancelQuantumTask: StaticOperationSchema;
84
97
  export declare var CreateJob: StaticOperationSchema;
85
98
  export declare var CreateQuantumTask: StaticOperationSchema;
99
+ export declare var CreateSpendingLimit: StaticOperationSchema;
100
+ export declare var DeleteSpendingLimit: StaticOperationSchema;
86
101
  export declare var GetDevice: StaticOperationSchema;
87
102
  export declare var GetJob: StaticOperationSchema;
88
103
  export declare var GetQuantumTask: StaticOperationSchema;
@@ -90,5 +105,7 @@ export declare var ListTagsForResource: StaticOperationSchema;
90
105
  export declare var SearchDevices: StaticOperationSchema;
91
106
  export declare var SearchJobs: StaticOperationSchema;
92
107
  export declare var SearchQuantumTasks: StaticOperationSchema;
108
+ export declare var SearchSpendingLimits: StaticOperationSchema;
93
109
  export declare var TagResource: StaticOperationSchema;
94
110
  export declare var UntagResource: StaticOperationSchema;
111
+ export declare var UpdateSpendingLimit: StaticOperationSchema;