@aws-sdk/client-braket 3.1171.0 → 3.1173.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 +19 -10
- package/dist-es/models/enums.js +6 -7
- package/dist-es/schemas/schemas_0.js +10 -2
- package/dist-types/commands/GetDeviceCommand.d.ts +6 -0
- package/dist-types/models/enums.d.ts +14 -7
- package/dist-types/models/models_0.d.ts +38 -7
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +8 -7
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1172.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -293,6 +293,7 @@ const _DSL = "DeviceSummaryList";
|
|
|
293
293
|
const _DSLR = "DeleteSpendingLimitRequest";
|
|
294
294
|
const _DSLRe = "DeleteSpendingLimitResponse";
|
|
295
295
|
const _DSLe = "DeleteSpendingLimit";
|
|
296
|
+
const _DSR = "DeviceStatusReason";
|
|
296
297
|
const _DSe = "DeviceSummary";
|
|
297
298
|
const _EC = "ExperimentalCapabilities";
|
|
298
299
|
const _GD = "GetDevice";
|
|
@@ -389,6 +390,7 @@ const _dN = "deviceName";
|
|
|
389
390
|
const _dP = "deviceParameters";
|
|
390
391
|
const _dQI = "deviceQueueInfo";
|
|
391
392
|
const _dS = "deviceStatus";
|
|
393
|
+
const _dSR = "deviceStatusReason";
|
|
392
394
|
const _dSa = "dataSource";
|
|
393
395
|
const _dT = "deviceType";
|
|
394
396
|
const _de = "devices";
|
|
@@ -397,6 +399,7 @@ const _eA = "endedAt";
|
|
|
397
399
|
const _eAn = "endAt";
|
|
398
400
|
const _eC = "executableCount";
|
|
399
401
|
const _eCx = "experimentalCapabilities";
|
|
402
|
+
const _eEA = "estimatedEndAt";
|
|
400
403
|
const _eP = "entryPoint";
|
|
401
404
|
const _eT = "eventType";
|
|
402
405
|
const _en = "enabled";
|
|
@@ -629,6 +632,11 @@ var DeviceQueueInfo$ = [3, n0, _DQI,
|
|
|
629
632
|
[_q, _qS, _qP],
|
|
630
633
|
[0, 0, 0], 2
|
|
631
634
|
];
|
|
635
|
+
var DeviceStatusReason$ = [3, n0, _DSR,
|
|
636
|
+
0,
|
|
637
|
+
[_r, _uA, _sA, _eEA],
|
|
638
|
+
[0, 5, 5, 5], 2
|
|
639
|
+
];
|
|
632
640
|
var DeviceSummary$ = [3, n0, _DSe,
|
|
633
641
|
0,
|
|
634
642
|
[_dA, _dN, _pN, _dT, _dS],
|
|
@@ -641,8 +649,8 @@ var GetDeviceRequest$ = [3, n0, _GDR,
|
|
|
641
649
|
];
|
|
642
650
|
var GetDeviceResponse$ = [3, n0, _GDRe,
|
|
643
651
|
0,
|
|
644
|
-
[_dA, _dN, _pN, _dT, _dS, _dCe, _dQI],
|
|
645
|
-
[0, 0, 0, 0, 0, [() => JsonValue, 0], () => DeviceQueueInfoList], 6
|
|
652
|
+
[_dA, _dN, _pN, _dT, _dS, _dCe, _dSR, _dQI],
|
|
653
|
+
[0, 0, 0, 0, 0, [() => JsonValue, 0], () => DeviceStatusReason$, () => DeviceQueueInfoList], 6
|
|
646
654
|
];
|
|
647
655
|
var GetJobRequest$ = [3, n0, _GJR,
|
|
648
656
|
0,
|
|
@@ -1192,8 +1200,14 @@ const QueuePriority = {
|
|
|
1192
1200
|
const DeviceStatus = {
|
|
1193
1201
|
OFFLINE: "OFFLINE",
|
|
1194
1202
|
ONLINE: "ONLINE",
|
|
1203
|
+
PAUSED: "PAUSED",
|
|
1195
1204
|
RETIRED: "RETIRED",
|
|
1196
1205
|
};
|
|
1206
|
+
const DeviceStatusReasonCode = {
|
|
1207
|
+
MAINTENANCE: "MAINTENANCE",
|
|
1208
|
+
OUTSIDE_AVAILABILITY_WINDOW: "OUTSIDE_AVAILABILITY_WINDOW",
|
|
1209
|
+
RESERVATION: "RESERVATION",
|
|
1210
|
+
};
|
|
1197
1211
|
const DeviceType = {
|
|
1198
1212
|
QPU: "QPU",
|
|
1199
1213
|
SIMULATOR: "SIMULATOR",
|
|
@@ -1253,13 +1267,6 @@ const _InstanceType = {
|
|
|
1253
1267
|
ML_M5_4XLARGE: "ml.m5.4xlarge",
|
|
1254
1268
|
ML_M5_LARGE: "ml.m5.large",
|
|
1255
1269
|
ML_M5_XLARGE: "ml.m5.xlarge",
|
|
1256
|
-
ML_P2_16XLARGE: "ml.p2.16xlarge",
|
|
1257
|
-
ML_P2_8XLARGE: "ml.p2.8xlarge",
|
|
1258
|
-
ML_P2_XLARGE: "ml.p2.xlarge",
|
|
1259
|
-
ML_P3DN_24XLARGE: "ml.p3dn.24xlarge",
|
|
1260
|
-
ML_P3_16XLARGE: "ml.p3.16xlarge",
|
|
1261
|
-
ML_P3_2XLARGE: "ml.p3.2xlarge",
|
|
1262
|
-
ML_P3_8XLARGE: "ml.p3.8xlarge",
|
|
1263
1270
|
ML_P4D_24XLARGE: "ml.p4d.24xlarge",
|
|
1264
1271
|
ML_T3_2XLARGE: "ml.t3.2xlarge",
|
|
1265
1272
|
ML_T3_LARGE: "ml.t3.large",
|
|
@@ -1373,6 +1380,8 @@ exports.DeviceQueueInfo$ = DeviceQueueInfo$;
|
|
|
1373
1380
|
exports.DeviceRetiredException = DeviceRetiredException;
|
|
1374
1381
|
exports.DeviceRetiredException$ = DeviceRetiredException$;
|
|
1375
1382
|
exports.DeviceStatus = DeviceStatus;
|
|
1383
|
+
exports.DeviceStatusReason$ = DeviceStatusReason$;
|
|
1384
|
+
exports.DeviceStatusReasonCode = DeviceStatusReasonCode;
|
|
1376
1385
|
exports.DeviceSummary$ = DeviceSummary$;
|
|
1377
1386
|
exports.DeviceType = DeviceType;
|
|
1378
1387
|
exports.ExperimentalCapabilities$ = ExperimentalCapabilities$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -16,8 +16,14 @@ export const QueuePriority = {
|
|
|
16
16
|
export const DeviceStatus = {
|
|
17
17
|
OFFLINE: "OFFLINE",
|
|
18
18
|
ONLINE: "ONLINE",
|
|
19
|
+
PAUSED: "PAUSED",
|
|
19
20
|
RETIRED: "RETIRED",
|
|
20
21
|
};
|
|
22
|
+
export const DeviceStatusReasonCode = {
|
|
23
|
+
MAINTENANCE: "MAINTENANCE",
|
|
24
|
+
OUTSIDE_AVAILABILITY_WINDOW: "OUTSIDE_AVAILABILITY_WINDOW",
|
|
25
|
+
RESERVATION: "RESERVATION",
|
|
26
|
+
};
|
|
21
27
|
export const DeviceType = {
|
|
22
28
|
QPU: "QPU",
|
|
23
29
|
SIMULATOR: "SIMULATOR",
|
|
@@ -77,13 +83,6 @@ export const _InstanceType = {
|
|
|
77
83
|
ML_M5_4XLARGE: "ml.m5.4xlarge",
|
|
78
84
|
ML_M5_LARGE: "ml.m5.large",
|
|
79
85
|
ML_M5_XLARGE: "ml.m5.xlarge",
|
|
80
|
-
ML_P2_16XLARGE: "ml.p2.16xlarge",
|
|
81
|
-
ML_P2_8XLARGE: "ml.p2.8xlarge",
|
|
82
|
-
ML_P2_XLARGE: "ml.p2.xlarge",
|
|
83
|
-
ML_P3DN_24XLARGE: "ml.p3dn.24xlarge",
|
|
84
|
-
ML_P3_16XLARGE: "ml.p3.16xlarge",
|
|
85
|
-
ML_P3_2XLARGE: "ml.p3.2xlarge",
|
|
86
|
-
ML_P3_8XLARGE: "ml.p3.8xlarge",
|
|
87
86
|
ML_P4D_24XLARGE: "ml.p4d.24xlarge",
|
|
88
87
|
ML_T3_2XLARGE: "ml.t3.2xlarge",
|
|
89
88
|
ML_T3_LARGE: "ml.t3.large",
|
|
@@ -30,6 +30,7 @@ const _DSL = "DeviceSummaryList";
|
|
|
30
30
|
const _DSLR = "DeleteSpendingLimitRequest";
|
|
31
31
|
const _DSLRe = "DeleteSpendingLimitResponse";
|
|
32
32
|
const _DSLe = "DeleteSpendingLimit";
|
|
33
|
+
const _DSR = "DeviceStatusReason";
|
|
33
34
|
const _DSe = "DeviceSummary";
|
|
34
35
|
const _EC = "ExperimentalCapabilities";
|
|
35
36
|
const _GD = "GetDevice";
|
|
@@ -126,6 +127,7 @@ const _dN = "deviceName";
|
|
|
126
127
|
const _dP = "deviceParameters";
|
|
127
128
|
const _dQI = "deviceQueueInfo";
|
|
128
129
|
const _dS = "deviceStatus";
|
|
130
|
+
const _dSR = "deviceStatusReason";
|
|
129
131
|
const _dSa = "dataSource";
|
|
130
132
|
const _dT = "deviceType";
|
|
131
133
|
const _de = "devices";
|
|
@@ -134,6 +136,7 @@ const _eA = "endedAt";
|
|
|
134
136
|
const _eAn = "endAt";
|
|
135
137
|
const _eC = "executableCount";
|
|
136
138
|
const _eCx = "experimentalCapabilities";
|
|
139
|
+
const _eEA = "estimatedEndAt";
|
|
137
140
|
const _eP = "entryPoint";
|
|
138
141
|
const _eT = "eventType";
|
|
139
142
|
const _en = "enabled";
|
|
@@ -369,6 +372,11 @@ export var DeviceQueueInfo$ = [3, n0, _DQI,
|
|
|
369
372
|
[_q, _qS, _qP],
|
|
370
373
|
[0, 0, 0], 2
|
|
371
374
|
];
|
|
375
|
+
export var DeviceStatusReason$ = [3, n0, _DSR,
|
|
376
|
+
0,
|
|
377
|
+
[_r, _uA, _sA, _eEA],
|
|
378
|
+
[0, 5, 5, 5], 2
|
|
379
|
+
];
|
|
372
380
|
export var DeviceSummary$ = [3, n0, _DSe,
|
|
373
381
|
0,
|
|
374
382
|
[_dA, _dN, _pN, _dT, _dS],
|
|
@@ -381,8 +389,8 @@ export var GetDeviceRequest$ = [3, n0, _GDR,
|
|
|
381
389
|
];
|
|
382
390
|
export var GetDeviceResponse$ = [3, n0, _GDRe,
|
|
383
391
|
0,
|
|
384
|
-
[_dA, _dN, _pN, _dT, _dS, _dCe, _dQI],
|
|
385
|
-
[0, 0, 0, 0, 0, [() => JsonValue, 0], () => DeviceQueueInfoList], 6
|
|
392
|
+
[_dA, _dN, _pN, _dT, _dS, _dCe, _dSR, _dQI],
|
|
393
|
+
[0, 0, 0, 0, 0, [() => JsonValue, 0], () => DeviceStatusReason$, () => DeviceQueueInfoList], 6
|
|
386
394
|
];
|
|
387
395
|
export var GetJobRequest$ = [3, n0, _GJR,
|
|
388
396
|
0,
|
|
@@ -44,6 +44,12 @@ declare const GetDeviceCommand_base: {
|
|
|
44
44
|
* // providerName: "STRING_VALUE", // required
|
|
45
45
|
* // deviceType: "STRING_VALUE", // required
|
|
46
46
|
* // deviceStatus: "STRING_VALUE", // required
|
|
47
|
+
* // deviceStatusReason: { // DeviceStatusReason
|
|
48
|
+
* // reason: "STRING_VALUE", // required
|
|
49
|
+
* // startedAt: new Date("TIMESTAMP"),
|
|
50
|
+
* // estimatedEndAt: new Date("TIMESTAMP"),
|
|
51
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // },
|
|
47
53
|
* // deviceCapabilities: "STRING_VALUE", // required
|
|
48
54
|
* // deviceQueueInfo: [ // DeviceQueueInfoList
|
|
49
55
|
* // { // DeviceQueueInfo
|
|
@@ -52,12 +52,26 @@ export type QueuePriority = (typeof QueuePriority)[keyof typeof QueuePriority];
|
|
|
52
52
|
export declare const DeviceStatus: {
|
|
53
53
|
readonly OFFLINE: "OFFLINE";
|
|
54
54
|
readonly ONLINE: "ONLINE";
|
|
55
|
+
readonly PAUSED: "PAUSED";
|
|
55
56
|
readonly RETIRED: "RETIRED";
|
|
56
57
|
};
|
|
57
58
|
/**
|
|
58
59
|
* @public
|
|
59
60
|
*/
|
|
60
61
|
export type DeviceStatus = (typeof DeviceStatus)[keyof typeof DeviceStatus];
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* @enum
|
|
65
|
+
*/
|
|
66
|
+
export declare const DeviceStatusReasonCode: {
|
|
67
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
68
|
+
readonly OUTSIDE_AVAILABILITY_WINDOW: "OUTSIDE_AVAILABILITY_WINDOW";
|
|
69
|
+
readonly RESERVATION: "RESERVATION";
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export type DeviceStatusReasonCode = (typeof DeviceStatusReasonCode)[keyof typeof DeviceStatusReasonCode];
|
|
61
75
|
/**
|
|
62
76
|
* @public
|
|
63
77
|
* @enum
|
|
@@ -145,13 +159,6 @@ export declare const _InstanceType: {
|
|
|
145
159
|
readonly ML_M5_4XLARGE: "ml.m5.4xlarge";
|
|
146
160
|
readonly ML_M5_LARGE: "ml.m5.large";
|
|
147
161
|
readonly ML_M5_XLARGE: "ml.m5.xlarge";
|
|
148
|
-
readonly ML_P2_16XLARGE: "ml.p2.16xlarge";
|
|
149
|
-
readonly ML_P2_8XLARGE: "ml.p2.8xlarge";
|
|
150
|
-
readonly ML_P2_XLARGE: "ml.p2.xlarge";
|
|
151
|
-
readonly ML_P3DN_24XLARGE: "ml.p3dn.24xlarge";
|
|
152
|
-
readonly ML_P3_16XLARGE: "ml.p3.16xlarge";
|
|
153
|
-
readonly ML_P3_2XLARGE: "ml.p3.2xlarge";
|
|
154
|
-
readonly ML_P3_8XLARGE: "ml.p3.8xlarge";
|
|
155
162
|
readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
|
|
156
163
|
readonly ML_T3_2XLARGE: "ml.t3.2xlarge";
|
|
157
164
|
readonly ML_T3_LARGE: "ml.t3.large";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
|
|
2
|
-
import type { _InstanceType, AssociationType, CancellationStatus, CompressionType, DeviceStatus, DeviceType, ExperimentalCapabilitiesEnablementType, HybridJobAdditionalAttributeName, JobEventType, JobPrimaryStatus, QuantumTaskAdditionalAttributeName, QuantumTaskStatus, QueueName, QueuePriority, SearchJobsFilterOperator, SearchQuantumTasksFilterOperator, SearchSpendingLimitsFilterOperator } from "./enums";
|
|
2
|
+
import type { _InstanceType, AssociationType, CancellationStatus, CompressionType, DeviceStatus, DeviceStatusReasonCode, DeviceType, ExperimentalCapabilitiesEnablementType, HybridJobAdditionalAttributeName, JobEventType, JobPrimaryStatus, QuantumTaskAdditionalAttributeName, QuantumTaskStatus, QueueName, QueuePriority, SearchJobsFilterOperator, SearchQuantumTasksFilterOperator, SearchSpendingLimitsFilterOperator } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Contains metadata about the quantum task action, including the action type and program statistics.</p>
|
|
5
5
|
* @public
|
|
@@ -116,6 +116,32 @@ export interface DeviceQueueInfo {
|
|
|
116
116
|
*/
|
|
117
117
|
queuePriority?: QueuePriority | undefined;
|
|
118
118
|
}
|
|
119
|
+
/**
|
|
120
|
+
* <p>Provides information about the reason for the current status of a device.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export interface DeviceStatusReason {
|
|
124
|
+
/**
|
|
125
|
+
* <p>The reason code for the current status of the device.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
reason: DeviceStatusReasonCode | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* <p>The time at which the device status reason started.</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
startedAt?: Date | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* <p>The estimated time at which the current status reason will end.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
estimatedEndAt?: Date | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* <p>The time of the most recent update to the device status reason.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
updatedAt: Date | undefined;
|
|
144
|
+
}
|
|
119
145
|
/**
|
|
120
146
|
* @public
|
|
121
147
|
*/
|
|
@@ -145,6 +171,11 @@ export interface GetDeviceResponse {
|
|
|
145
171
|
* @public
|
|
146
172
|
*/
|
|
147
173
|
deviceStatus: DeviceStatus | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* <p>The reason for the current status of the device, including status reason codes and timestamps.</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
deviceStatusReason?: DeviceStatusReason | undefined;
|
|
148
179
|
/**
|
|
149
180
|
* <p>Details about the capabilities of the device.</p>
|
|
150
181
|
* @public
|
|
@@ -650,22 +681,22 @@ export interface GetJobResponse {
|
|
|
650
681
|
associations?: Association[] | undefined;
|
|
651
682
|
}
|
|
652
683
|
/**
|
|
653
|
-
* <p>A filter used to search for Amazon Braket hybrid jobs.</p>
|
|
684
|
+
* <p>A filter used to search for Amazon Braket hybrid jobs. You can combine multiple filters in a single request, except that <code>jobArn</code> cannot be combined with any other filter.</p>
|
|
654
685
|
* @public
|
|
655
686
|
*/
|
|
656
687
|
export interface SearchJobsFilter {
|
|
657
688
|
/**
|
|
658
|
-
* <p>The name of the hybrid job parameter to filter based on. Filter name can be
|
|
689
|
+
* <p>The name of the hybrid job parameter to filter based on. Supported filter names:</p> <p> <code>jobArn</code> — Filter by the job ARN. Supports the <code>EQUAL</code> operator only. Cannot be combined with other filters.</p> <p> <code>jobName</code> — Filter by the job name. Supports the <code>EQUAL</code> operator for exact match, or the <code>CONTAINS</code> operator for substring match. For example, use <code>CONTAINS</code> with a value of <code>my-experiment</code> to find all jobs whose name includes "my-experiment".</p> <p> <code>deviceArn</code> — Filter by the target device. Supports the <code>EQUAL</code> operator only. The value can be a device ARN (for example, <code>arn:aws:braket:us-east-1::device/qpu/ionq/Aria-1</code>) or a local simulator identifier (for example, <code>local:braket/default</code>).</p> <p> <code>createdAt</code> — Filter by the job creation time. Supports the <code>EQUAL</code>, <code>GT</code>, <code>GTE</code>, <code>LT</code>, <code>LTE</code>, and <code>BETWEEN</code> operators. Values must be in RFC 3339 date-time format.</p>
|
|
659
690
|
* @public
|
|
660
691
|
*/
|
|
661
692
|
name: string | undefined;
|
|
662
693
|
/**
|
|
663
|
-
* <p>The values used to filter hybrid jobs based on the filter name and operator.</p>
|
|
694
|
+
* <p>The values used to filter hybrid jobs based on the filter name and operator. Each filter accepts an array of values. Most filters accept a single value, except <code>createdAt</code> with the <code>BETWEEN</code> operator, which requires exactly two values.</p>
|
|
664
695
|
* @public
|
|
665
696
|
*/
|
|
666
697
|
values: string[] | undefined;
|
|
667
698
|
/**
|
|
668
|
-
* <p>An operator to use for the filter.</p>
|
|
699
|
+
* <p>An operator to use for the filter. The supported operators depend on the filter name. See the <code>name</code> parameter for details.</p>
|
|
669
700
|
* @public
|
|
670
701
|
*/
|
|
671
702
|
operator: SearchJobsFilterOperator | undefined;
|
|
@@ -864,7 +895,7 @@ export interface CreateQuantumTaskRequest {
|
|
|
864
895
|
*/
|
|
865
896
|
outputS3Bucket: string | undefined;
|
|
866
897
|
/**
|
|
867
|
-
* <p>The key prefix for the location in the S3 bucket to store quantum task results in
|
|
898
|
+
* <p>The key prefix for the location in the S3 bucket to store quantum task results in. For example, <code>results/</code>. Must not contain path traversal sequences such as <code>../</code> or <code>./</code>. The following characters are not valid in the key prefix:</p> <ul> <li> <p>Braces (<code>\{</code> or <code>\}</code>)</p> </li> <li> <p>Brackets (<code>[</code> or <code>]</code>)</p> </li> <li> <p>Less than or greater than sign (<code><</code> or <code>></code>)</p> </li> <li> <p>Backslash (<code>\</code>)</p> </li> <li> <p>Vertical bar or pipe (<code>|</code>)</p> </li> <li> <p>Caret or circumflex (<code>^</code>)</p> </li> <li> <p>Tilde (<code>~</code>)</p> </li> <li> <p>Grave accent or backtick (<code>`</code>)</p> </li> <li> <p>Percent character (<code>%</code>)</p> </li> <li> <p>Pound sign (<code>#</code>)</p> </li> <li> <p>Quotation mark (<code>"</code>)</p> </li> <li> <p>Non-printable ASCII characters (128–255 decimal characters)</p> </li> </ul>
|
|
868
899
|
* @public
|
|
869
900
|
*/
|
|
870
901
|
outputS3KeyPrefix: string | undefined;
|
|
@@ -1219,7 +1250,7 @@ export interface DeleteSpendingLimitResponse {
|
|
|
1219
1250
|
*/
|
|
1220
1251
|
export interface SearchSpendingLimitsFilter {
|
|
1221
1252
|
/**
|
|
1222
|
-
* <p>The name of the field to filter on. Currently
|
|
1253
|
+
* <p>The name of the field to filter on. Currently supports <code>deviceArn</code> and <code>spendingLimitArn</code>.</p>
|
|
1223
1254
|
* @public
|
|
1224
1255
|
*/
|
|
1225
1256
|
name: string | undefined;
|
|
@@ -35,6 +35,7 @@ export declare var DeleteSpendingLimitRequest$: StaticStructureSchema;
|
|
|
35
35
|
export declare var DeleteSpendingLimitResponse$: StaticStructureSchema;
|
|
36
36
|
export declare var DeviceConfig$: StaticStructureSchema;
|
|
37
37
|
export declare var DeviceQueueInfo$: StaticStructureSchema;
|
|
38
|
+
export declare var DeviceStatusReason$: StaticStructureSchema;
|
|
38
39
|
export declare var DeviceSummary$: StaticStructureSchema;
|
|
39
40
|
export declare var GetDeviceRequest$: StaticStructureSchema;
|
|
40
41
|
export declare var GetDeviceResponse$: StaticStructureSchema;
|
|
@@ -20,9 +20,17 @@ export type QueuePriority = (typeof QueuePriority)[keyof typeof QueuePriority];
|
|
|
20
20
|
export declare const DeviceStatus: {
|
|
21
21
|
readonly OFFLINE: "OFFLINE";
|
|
22
22
|
readonly ONLINE: "ONLINE";
|
|
23
|
+
readonly PAUSED: "PAUSED";
|
|
23
24
|
readonly RETIRED: "RETIRED";
|
|
24
25
|
};
|
|
25
26
|
export type DeviceStatus = (typeof DeviceStatus)[keyof typeof DeviceStatus];
|
|
27
|
+
export declare const DeviceStatusReasonCode: {
|
|
28
|
+
readonly MAINTENANCE: "MAINTENANCE";
|
|
29
|
+
readonly OUTSIDE_AVAILABILITY_WINDOW: "OUTSIDE_AVAILABILITY_WINDOW";
|
|
30
|
+
readonly RESERVATION: "RESERVATION";
|
|
31
|
+
};
|
|
32
|
+
export type DeviceStatusReasonCode =
|
|
33
|
+
(typeof DeviceStatusReasonCode)[keyof typeof DeviceStatusReasonCode];
|
|
26
34
|
export declare const DeviceType: {
|
|
27
35
|
readonly QPU: "QPU";
|
|
28
36
|
readonly SIMULATOR: "SIMULATOR";
|
|
@@ -86,13 +94,6 @@ export declare const _InstanceType: {
|
|
|
86
94
|
readonly ML_M5_4XLARGE: "ml.m5.4xlarge";
|
|
87
95
|
readonly ML_M5_LARGE: "ml.m5.large";
|
|
88
96
|
readonly ML_M5_XLARGE: "ml.m5.xlarge";
|
|
89
|
-
readonly ML_P2_16XLARGE: "ml.p2.16xlarge";
|
|
90
|
-
readonly ML_P2_8XLARGE: "ml.p2.8xlarge";
|
|
91
|
-
readonly ML_P2_XLARGE: "ml.p2.xlarge";
|
|
92
|
-
readonly ML_P3DN_24XLARGE: "ml.p3dn.24xlarge";
|
|
93
|
-
readonly ML_P3_16XLARGE: "ml.p3.16xlarge";
|
|
94
|
-
readonly ML_P3_2XLARGE: "ml.p3.2xlarge";
|
|
95
|
-
readonly ML_P3_8XLARGE: "ml.p3.8xlarge";
|
|
96
97
|
readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
|
|
97
98
|
readonly ML_T3_2XLARGE: "ml.t3.2xlarge";
|
|
98
99
|
readonly ML_T3_LARGE: "ml.t3.large";
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
CancellationStatus,
|
|
6
6
|
CompressionType,
|
|
7
7
|
DeviceStatus,
|
|
8
|
+
DeviceStatusReasonCode,
|
|
8
9
|
DeviceType,
|
|
9
10
|
ExperimentalCapabilitiesEnablementType,
|
|
10
11
|
HybridJobAdditionalAttributeName,
|
|
@@ -47,12 +48,19 @@ export interface DeviceQueueInfo {
|
|
|
47
48
|
queueSize: string | undefined;
|
|
48
49
|
queuePriority?: QueuePriority | undefined;
|
|
49
50
|
}
|
|
51
|
+
export interface DeviceStatusReason {
|
|
52
|
+
reason: DeviceStatusReasonCode | undefined;
|
|
53
|
+
startedAt?: Date | undefined;
|
|
54
|
+
estimatedEndAt?: Date | undefined;
|
|
55
|
+
updatedAt: Date | undefined;
|
|
56
|
+
}
|
|
50
57
|
export interface GetDeviceResponse {
|
|
51
58
|
deviceArn: string | undefined;
|
|
52
59
|
deviceName: string | undefined;
|
|
53
60
|
providerName: string | undefined;
|
|
54
61
|
deviceType: DeviceType | undefined;
|
|
55
62
|
deviceStatus: DeviceStatus | undefined;
|
|
63
|
+
deviceStatusReason?: DeviceStatusReason | undefined;
|
|
56
64
|
deviceCapabilities: __AutomaticJsonStringConversion | string | undefined;
|
|
57
65
|
deviceQueueInfo?: DeviceQueueInfo[] | undefined;
|
|
58
66
|
}
|
|
@@ -35,6 +35,7 @@ export declare var DeleteSpendingLimitRequest$: StaticStructureSchema;
|
|
|
35
35
|
export declare var DeleteSpendingLimitResponse$: StaticStructureSchema;
|
|
36
36
|
export declare var DeviceConfig$: StaticStructureSchema;
|
|
37
37
|
export declare var DeviceQueueInfo$: StaticStructureSchema;
|
|
38
|
+
export declare var DeviceStatusReason$: StaticStructureSchema;
|
|
38
39
|
export declare var DeviceSummary$: StaticStructureSchema;
|
|
39
40
|
export declare var GetDeviceRequest$: StaticStructureSchema;
|
|
40
41
|
export declare var GetDeviceResponse$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-braket",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1173.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Braket Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-braket",
|
|
6
6
|
"license": "Apache-2.0",
|