@aws-sdk/client-braket 3.261.0 → 3.264.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.
|
@@ -594,13 +594,13 @@ const deserializeAws_restJson1GetJobCommand = async (output, context) => {
|
|
|
594
594
|
contents.checkpointConfig = deserializeAws_restJson1JobCheckpointConfig(data.checkpointConfig, context);
|
|
595
595
|
}
|
|
596
596
|
if (data.createdAt != null) {
|
|
597
|
-
contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
597
|
+
contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.createdAt));
|
|
598
598
|
}
|
|
599
599
|
if (data.deviceConfig != null) {
|
|
600
600
|
contents.deviceConfig = deserializeAws_restJson1DeviceConfig(data.deviceConfig, context);
|
|
601
601
|
}
|
|
602
602
|
if (data.endedAt != null) {
|
|
603
|
-
contents.endedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
603
|
+
contents.endedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.endedAt));
|
|
604
604
|
}
|
|
605
605
|
if (data.events != null) {
|
|
606
606
|
contents.events = deserializeAws_restJson1JobEvents(data.events, context);
|
|
@@ -630,7 +630,7 @@ const deserializeAws_restJson1GetJobCommand = async (output, context) => {
|
|
|
630
630
|
contents.roleArn = (0, smithy_client_1.expectString)(data.roleArn);
|
|
631
631
|
}
|
|
632
632
|
if (data.startedAt != null) {
|
|
633
|
-
contents.startedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
633
|
+
contents.startedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.startedAt));
|
|
634
634
|
}
|
|
635
635
|
if (data.status != null) {
|
|
636
636
|
contents.status = (0, smithy_client_1.expectString)(data.status);
|
|
@@ -685,7 +685,7 @@ const deserializeAws_restJson1GetQuantumTaskCommand = async (output, context) =>
|
|
|
685
685
|
});
|
|
686
686
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
687
687
|
if (data.createdAt != null) {
|
|
688
|
-
contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
688
|
+
contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.createdAt));
|
|
689
689
|
}
|
|
690
690
|
if (data.deviceArn != null) {
|
|
691
691
|
contents.deviceArn = (0, smithy_client_1.expectString)(data.deviceArn);
|
|
@@ -694,7 +694,7 @@ const deserializeAws_restJson1GetQuantumTaskCommand = async (output, context) =>
|
|
|
694
694
|
contents.deviceParameters = new smithy_client_1.LazyJsonString(data.deviceParameters);
|
|
695
695
|
}
|
|
696
696
|
if (data.endedAt != null) {
|
|
697
|
-
contents.endedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
697
|
+
contents.endedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.endedAt));
|
|
698
698
|
}
|
|
699
699
|
if (data.failureReason != null) {
|
|
700
700
|
contents.failureReason = (0, smithy_client_1.expectString)(data.failureReason);
|
|
@@ -1348,7 +1348,7 @@ const deserializeAws_restJson1JobEventDetails = (output, context) => {
|
|
|
1348
1348
|
return {
|
|
1349
1349
|
eventType: (0, smithy_client_1.expectString)(output.eventType),
|
|
1350
1350
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
1351
|
-
timeOfEvent: output.timeOfEvent != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1351
|
+
timeOfEvent: output.timeOfEvent != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.timeOfEvent)) : undefined,
|
|
1352
1352
|
};
|
|
1353
1353
|
};
|
|
1354
1354
|
const deserializeAws_restJson1JobEvents = (output, context) => {
|
|
@@ -1375,12 +1375,12 @@ const deserializeAws_restJson1JobStoppingCondition = (output, context) => {
|
|
|
1375
1375
|
};
|
|
1376
1376
|
const deserializeAws_restJson1JobSummary = (output, context) => {
|
|
1377
1377
|
return {
|
|
1378
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1378
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
1379
1379
|
device: (0, smithy_client_1.expectString)(output.device),
|
|
1380
|
-
endedAt: output.endedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1380
|
+
endedAt: output.endedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.endedAt)) : undefined,
|
|
1381
1381
|
jobArn: (0, smithy_client_1.expectString)(output.jobArn),
|
|
1382
1382
|
jobName: (0, smithy_client_1.expectString)(output.jobName),
|
|
1383
|
-
startedAt: output.startedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1383
|
+
startedAt: output.startedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.startedAt)) : undefined,
|
|
1384
1384
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
1385
1385
|
tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
|
|
1386
1386
|
};
|
|
@@ -1398,9 +1398,9 @@ const deserializeAws_restJson1JobSummaryList = (output, context) => {
|
|
|
1398
1398
|
};
|
|
1399
1399
|
const deserializeAws_restJson1QuantumTaskSummary = (output, context) => {
|
|
1400
1400
|
return {
|
|
1401
|
-
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1401
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.createdAt)) : undefined,
|
|
1402
1402
|
deviceArn: (0, smithy_client_1.expectString)(output.deviceArn),
|
|
1403
|
-
endedAt: output.endedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1403
|
+
endedAt: output.endedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.endedAt)) : undefined,
|
|
1404
1404
|
outputS3Bucket: (0, smithy_client_1.expectString)(output.outputS3Bucket),
|
|
1405
1405
|
outputS3Directory: (0, smithy_client_1.expectString)(output.outputS3Directory),
|
|
1406
1406
|
quantumTaskArn: (0, smithy_client_1.expectString)(output.quantumTaskArn),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, LazyJsonString as __LazyJsonString, map as __map,
|
|
2
|
+
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, LazyJsonString as __LazyJsonString, map as __map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { BraketServiceException as __BaseException } from "../models/BraketServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, DeviceOfflineException, DeviceRetiredException, InternalServiceException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -573,13 +573,13 @@ export const deserializeAws_restJson1GetJobCommand = async (output, context) =>
|
|
|
573
573
|
contents.checkpointConfig = deserializeAws_restJson1JobCheckpointConfig(data.checkpointConfig, context);
|
|
574
574
|
}
|
|
575
575
|
if (data.createdAt != null) {
|
|
576
|
-
contents.createdAt = __expectNonNull(
|
|
576
|
+
contents.createdAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.createdAt));
|
|
577
577
|
}
|
|
578
578
|
if (data.deviceConfig != null) {
|
|
579
579
|
contents.deviceConfig = deserializeAws_restJson1DeviceConfig(data.deviceConfig, context);
|
|
580
580
|
}
|
|
581
581
|
if (data.endedAt != null) {
|
|
582
|
-
contents.endedAt = __expectNonNull(
|
|
582
|
+
contents.endedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.endedAt));
|
|
583
583
|
}
|
|
584
584
|
if (data.events != null) {
|
|
585
585
|
contents.events = deserializeAws_restJson1JobEvents(data.events, context);
|
|
@@ -609,7 +609,7 @@ export const deserializeAws_restJson1GetJobCommand = async (output, context) =>
|
|
|
609
609
|
contents.roleArn = __expectString(data.roleArn);
|
|
610
610
|
}
|
|
611
611
|
if (data.startedAt != null) {
|
|
612
|
-
contents.startedAt = __expectNonNull(
|
|
612
|
+
contents.startedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.startedAt));
|
|
613
613
|
}
|
|
614
614
|
if (data.status != null) {
|
|
615
615
|
contents.status = __expectString(data.status);
|
|
@@ -663,7 +663,7 @@ export const deserializeAws_restJson1GetQuantumTaskCommand = async (output, cont
|
|
|
663
663
|
});
|
|
664
664
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
665
665
|
if (data.createdAt != null) {
|
|
666
|
-
contents.createdAt = __expectNonNull(
|
|
666
|
+
contents.createdAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.createdAt));
|
|
667
667
|
}
|
|
668
668
|
if (data.deviceArn != null) {
|
|
669
669
|
contents.deviceArn = __expectString(data.deviceArn);
|
|
@@ -672,7 +672,7 @@ export const deserializeAws_restJson1GetQuantumTaskCommand = async (output, cont
|
|
|
672
672
|
contents.deviceParameters = new __LazyJsonString(data.deviceParameters);
|
|
673
673
|
}
|
|
674
674
|
if (data.endedAt != null) {
|
|
675
|
-
contents.endedAt = __expectNonNull(
|
|
675
|
+
contents.endedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.endedAt));
|
|
676
676
|
}
|
|
677
677
|
if (data.failureReason != null) {
|
|
678
678
|
contents.failureReason = __expectString(data.failureReason);
|
|
@@ -1319,7 +1319,7 @@ const deserializeAws_restJson1JobEventDetails = (output, context) => {
|
|
|
1319
1319
|
return {
|
|
1320
1320
|
eventType: __expectString(output.eventType),
|
|
1321
1321
|
message: __expectString(output.message),
|
|
1322
|
-
timeOfEvent: output.timeOfEvent != null ? __expectNonNull(
|
|
1322
|
+
timeOfEvent: output.timeOfEvent != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.timeOfEvent)) : undefined,
|
|
1323
1323
|
};
|
|
1324
1324
|
};
|
|
1325
1325
|
const deserializeAws_restJson1JobEvents = (output, context) => {
|
|
@@ -1346,12 +1346,12 @@ const deserializeAws_restJson1JobStoppingCondition = (output, context) => {
|
|
|
1346
1346
|
};
|
|
1347
1347
|
const deserializeAws_restJson1JobSummary = (output, context) => {
|
|
1348
1348
|
return {
|
|
1349
|
-
createdAt: output.createdAt != null ? __expectNonNull(
|
|
1349
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
1350
1350
|
device: __expectString(output.device),
|
|
1351
|
-
endedAt: output.endedAt != null ? __expectNonNull(
|
|
1351
|
+
endedAt: output.endedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.endedAt)) : undefined,
|
|
1352
1352
|
jobArn: __expectString(output.jobArn),
|
|
1353
1353
|
jobName: __expectString(output.jobName),
|
|
1354
|
-
startedAt: output.startedAt != null ? __expectNonNull(
|
|
1354
|
+
startedAt: output.startedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.startedAt)) : undefined,
|
|
1355
1355
|
status: __expectString(output.status),
|
|
1356
1356
|
tags: output.tags != null ? deserializeAws_restJson1TagsMap(output.tags, context) : undefined,
|
|
1357
1357
|
};
|
|
@@ -1369,9 +1369,9 @@ const deserializeAws_restJson1JobSummaryList = (output, context) => {
|
|
|
1369
1369
|
};
|
|
1370
1370
|
const deserializeAws_restJson1QuantumTaskSummary = (output, context) => {
|
|
1371
1371
|
return {
|
|
1372
|
-
createdAt: output.createdAt != null ? __expectNonNull(
|
|
1372
|
+
createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.createdAt)) : undefined,
|
|
1373
1373
|
deviceArn: __expectString(output.deviceArn),
|
|
1374
|
-
endedAt: output.endedAt != null ? __expectNonNull(
|
|
1374
|
+
endedAt: output.endedAt != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.endedAt)) : undefined,
|
|
1375
1375
|
outputS3Bucket: __expectString(output.outputS3Bucket),
|
|
1376
1376
|
outputS3Directory: __expectString(output.outputS3Directory),
|
|
1377
1377
|
quantumTaskArn: __expectString(output.quantumTaskArn),
|
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.264.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,14 +20,14 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.264.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.264.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
29
29
|
"@aws-sdk/middleware-content-length": "3.257.0",
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.264.0",
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|