@aws-sdk/client-braket 3.507.0 → 3.511.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 +21 -21
- package/dist-es/models/models_0.js +12 -12
- package/dist-es/protocols/Aws_restJson1.js +3 -3
- package/dist-types/commands/CreateJobCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +12 -12
- package/dist-types/ts3.4/models/models_0.d.ts +7 -7
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -353,6 +353,23 @@ var _InstanceType = {
|
|
|
353
353
|
ML_P3_8XLARGE: "ml.p3.8xlarge",
|
|
354
354
|
ML_P4D_24XLARGE: "ml.p4d.24xlarge"
|
|
355
355
|
};
|
|
356
|
+
var _DeviceOfflineException = class _DeviceOfflineException extends BraketServiceException {
|
|
357
|
+
/**
|
|
358
|
+
* @internal
|
|
359
|
+
*/
|
|
360
|
+
constructor(opts) {
|
|
361
|
+
super({
|
|
362
|
+
name: "DeviceOfflineException",
|
|
363
|
+
$fault: "client",
|
|
364
|
+
...opts
|
|
365
|
+
});
|
|
366
|
+
this.name = "DeviceOfflineException";
|
|
367
|
+
this.$fault = "client";
|
|
368
|
+
Object.setPrototypeOf(this, _DeviceOfflineException.prototype);
|
|
369
|
+
}
|
|
370
|
+
};
|
|
371
|
+
__name(_DeviceOfflineException, "DeviceOfflineException");
|
|
372
|
+
var DeviceOfflineException = _DeviceOfflineException;
|
|
356
373
|
var _DeviceRetiredException = class _DeviceRetiredException extends BraketServiceException {
|
|
357
374
|
/**
|
|
358
375
|
* @internal
|
|
@@ -420,23 +437,6 @@ var SearchJobsFilterOperator = {
|
|
|
420
437
|
LT: "LT",
|
|
421
438
|
LTE: "LTE"
|
|
422
439
|
};
|
|
423
|
-
var _DeviceOfflineException = class _DeviceOfflineException extends BraketServiceException {
|
|
424
|
-
/**
|
|
425
|
-
* @internal
|
|
426
|
-
*/
|
|
427
|
-
constructor(opts) {
|
|
428
|
-
super({
|
|
429
|
-
name: "DeviceOfflineException",
|
|
430
|
-
$fault: "client",
|
|
431
|
-
...opts
|
|
432
|
-
});
|
|
433
|
-
this.name = "DeviceOfflineException";
|
|
434
|
-
this.$fault = "client";
|
|
435
|
-
Object.setPrototypeOf(this, _DeviceOfflineException.prototype);
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
__name(_DeviceOfflineException, "DeviceOfflineException");
|
|
439
|
-
var DeviceOfflineException = _DeviceOfflineException;
|
|
440
440
|
var QuantumTaskAdditionalAttributeName = {
|
|
441
441
|
QUEUE_INFO: "QueueInfo"
|
|
442
442
|
};
|
|
@@ -908,15 +908,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
908
908
|
case "ValidationException":
|
|
909
909
|
case "com.amazonaws.braket#ValidationException":
|
|
910
910
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
911
|
+
case "DeviceOfflineException":
|
|
912
|
+
case "com.amazonaws.braket#DeviceOfflineException":
|
|
913
|
+
throw await de_DeviceOfflineExceptionRes(parsedOutput, context);
|
|
911
914
|
case "DeviceRetiredException":
|
|
912
915
|
case "com.amazonaws.braket#DeviceRetiredException":
|
|
913
916
|
throw await de_DeviceRetiredExceptionRes(parsedOutput, context);
|
|
914
917
|
case "ServiceQuotaExceededException":
|
|
915
918
|
case "com.amazonaws.braket#ServiceQuotaExceededException":
|
|
916
919
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
917
|
-
case "DeviceOfflineException":
|
|
918
|
-
case "com.amazonaws.braket#DeviceOfflineException":
|
|
919
|
-
throw await de_DeviceOfflineExceptionRes(parsedOutput, context);
|
|
920
920
|
default:
|
|
921
921
|
const parsedBody = parsedOutput.body;
|
|
922
922
|
return throwDefaultError({
|
|
@@ -1435,13 +1435,13 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
1435
1435
|
CancellationStatus,
|
|
1436
1436
|
ConflictException,
|
|
1437
1437
|
_InstanceType,
|
|
1438
|
+
DeviceOfflineException,
|
|
1438
1439
|
DeviceRetiredException,
|
|
1439
1440
|
ServiceQuotaExceededException,
|
|
1440
1441
|
HybridJobAdditionalAttributeName,
|
|
1441
1442
|
JobEventType,
|
|
1442
1443
|
JobPrimaryStatus,
|
|
1443
1444
|
SearchJobsFilterOperator,
|
|
1444
|
-
DeviceOfflineException,
|
|
1445
1445
|
QuantumTaskAdditionalAttributeName,
|
|
1446
1446
|
QuantumTaskStatus,
|
|
1447
1447
|
SearchQuantumTasksFilterOperator
|
|
@@ -140,6 +140,18 @@ export const _InstanceType = {
|
|
|
140
140
|
ML_P3_8XLARGE: "ml.p3.8xlarge",
|
|
141
141
|
ML_P4D_24XLARGE: "ml.p4d.24xlarge",
|
|
142
142
|
};
|
|
143
|
+
export class DeviceOfflineException extends __BaseException {
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "DeviceOfflineException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
this.name = "DeviceOfflineException";
|
|
151
|
+
this.$fault = "client";
|
|
152
|
+
Object.setPrototypeOf(this, DeviceOfflineException.prototype);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
143
155
|
export class DeviceRetiredException extends __BaseException {
|
|
144
156
|
constructor(opts) {
|
|
145
157
|
super({
|
|
@@ -197,18 +209,6 @@ export const SearchJobsFilterOperator = {
|
|
|
197
209
|
LT: "LT",
|
|
198
210
|
LTE: "LTE",
|
|
199
211
|
};
|
|
200
|
-
export class DeviceOfflineException extends __BaseException {
|
|
201
|
-
constructor(opts) {
|
|
202
|
-
super({
|
|
203
|
-
name: "DeviceOfflineException",
|
|
204
|
-
$fault: "client",
|
|
205
|
-
...opts,
|
|
206
|
-
});
|
|
207
|
-
this.name = "DeviceOfflineException";
|
|
208
|
-
this.$fault = "client";
|
|
209
|
-
Object.setPrototypeOf(this, DeviceOfflineException.prototype);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
212
|
export const QuantumTaskAdditionalAttributeName = {
|
|
213
213
|
QUEUE_INFO: "QueueInfo",
|
|
214
214
|
};
|
|
@@ -438,15 +438,15 @@ const de_CommandError = async (output, context) => {
|
|
|
438
438
|
case "ValidationException":
|
|
439
439
|
case "com.amazonaws.braket#ValidationException":
|
|
440
440
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
441
|
+
case "DeviceOfflineException":
|
|
442
|
+
case "com.amazonaws.braket#DeviceOfflineException":
|
|
443
|
+
throw await de_DeviceOfflineExceptionRes(parsedOutput, context);
|
|
441
444
|
case "DeviceRetiredException":
|
|
442
445
|
case "com.amazonaws.braket#DeviceRetiredException":
|
|
443
446
|
throw await de_DeviceRetiredExceptionRes(parsedOutput, context);
|
|
444
447
|
case "ServiceQuotaExceededException":
|
|
445
448
|
case "com.amazonaws.braket#ServiceQuotaExceededException":
|
|
446
449
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
447
|
-
case "DeviceOfflineException":
|
|
448
|
-
case "com.amazonaws.braket#DeviceOfflineException":
|
|
449
|
-
throw await de_DeviceOfflineExceptionRes(parsedOutput, context);
|
|
450
450
|
default:
|
|
451
451
|
const parsedBody = parsedOutput.body;
|
|
452
452
|
return throwDefaultError({
|
|
@@ -110,6 +110,9 @@ declare const CreateJobCommand_base: {
|
|
|
110
110
|
* @throws {@link ConflictException} (client fault)
|
|
111
111
|
* <p>An error occurred due to a conflict.</p>
|
|
112
112
|
*
|
|
113
|
+
* @throws {@link DeviceOfflineException} (client fault)
|
|
114
|
+
* <p>The specified device is currently offline.</p>
|
|
115
|
+
*
|
|
113
116
|
* @throws {@link DeviceRetiredException} (client fault)
|
|
114
117
|
* <p>The specified device has been retired.</p>
|
|
115
118
|
*
|
|
@@ -677,6 +677,18 @@ export interface CreateJobResponse {
|
|
|
677
677
|
*/
|
|
678
678
|
jobArn: string | undefined;
|
|
679
679
|
}
|
|
680
|
+
/**
|
|
681
|
+
* @public
|
|
682
|
+
* <p>The specified device is currently offline.</p>
|
|
683
|
+
*/
|
|
684
|
+
export declare class DeviceOfflineException extends __BaseException {
|
|
685
|
+
readonly name: "DeviceOfflineException";
|
|
686
|
+
readonly $fault: "client";
|
|
687
|
+
/**
|
|
688
|
+
* @internal
|
|
689
|
+
*/
|
|
690
|
+
constructor(opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>);
|
|
691
|
+
}
|
|
680
692
|
/**
|
|
681
693
|
* @public
|
|
682
694
|
* <p>The specified device has been retired.</p>
|
|
@@ -1169,18 +1181,6 @@ export interface CreateQuantumTaskResponse {
|
|
|
1169
1181
|
*/
|
|
1170
1182
|
quantumTaskArn: string | undefined;
|
|
1171
1183
|
}
|
|
1172
|
-
/**
|
|
1173
|
-
* @public
|
|
1174
|
-
* <p>The specified device is currently offline.</p>
|
|
1175
|
-
*/
|
|
1176
|
-
export declare class DeviceOfflineException extends __BaseException {
|
|
1177
|
-
readonly name: "DeviceOfflineException";
|
|
1178
|
-
readonly $fault: "client";
|
|
1179
|
-
/**
|
|
1180
|
-
* @internal
|
|
1181
|
-
*/
|
|
1182
|
-
constructor(opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>);
|
|
1183
|
-
}
|
|
1184
1184
|
/**
|
|
1185
1185
|
* @public
|
|
1186
1186
|
* @enum
|
|
@@ -231,6 +231,13 @@ export interface CreateJobRequest {
|
|
|
231
231
|
export interface CreateJobResponse {
|
|
232
232
|
jobArn: string | undefined;
|
|
233
233
|
}
|
|
234
|
+
export declare class DeviceOfflineException extends __BaseException {
|
|
235
|
+
readonly name: "DeviceOfflineException";
|
|
236
|
+
readonly $fault: "client";
|
|
237
|
+
constructor(
|
|
238
|
+
opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>
|
|
239
|
+
);
|
|
240
|
+
}
|
|
234
241
|
export declare class DeviceRetiredException extends __BaseException {
|
|
235
242
|
readonly name: "DeviceRetiredException";
|
|
236
243
|
readonly $fault: "client";
|
|
@@ -375,13 +382,6 @@ export interface CreateQuantumTaskRequest {
|
|
|
375
382
|
export interface CreateQuantumTaskResponse {
|
|
376
383
|
quantumTaskArn: string | undefined;
|
|
377
384
|
}
|
|
378
|
-
export declare class DeviceOfflineException extends __BaseException {
|
|
379
|
-
readonly name: "DeviceOfflineException";
|
|
380
|
-
readonly $fault: "client";
|
|
381
|
-
constructor(
|
|
382
|
-
opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>
|
|
383
|
-
);
|
|
384
|
-
}
|
|
385
385
|
export declare const QuantumTaskAdditionalAttributeName: {
|
|
386
386
|
readonly QUEUE_INFO: "QueueInfo";
|
|
387
387
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-braket",
|
|
3
3
|
"description": "AWS SDK for JavaScript Braket Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.511.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-braket",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.511.0",
|
|
24
|
+
"@aws-sdk/core": "3.511.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.511.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.511.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.511.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.511.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.511.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.511.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.511.0",
|
|
32
|
+
"@aws-sdk/types": "3.511.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.511.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.511.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.511.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.1.1",
|
|
37
37
|
"@smithy/core": "^1.3.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.4.1",
|