@aws-sdk/client-braket 3.413.0 → 3.418.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/commands/CancelJobCommand.js +5 -0
- package/dist-cjs/commands/CancelQuantumTaskCommand.js +5 -0
- package/dist-cjs/commands/CreateJobCommand.js +5 -0
- package/dist-cjs/commands/CreateQuantumTaskCommand.js +5 -0
- package/dist-cjs/commands/GetDeviceCommand.js +5 -0
- package/dist-cjs/commands/GetJobCommand.js +5 -0
- package/dist-cjs/commands/GetQuantumTaskCommand.js +5 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/SearchDevicesCommand.js +5 -0
- package/dist-cjs/commands/SearchJobsCommand.js +5 -0
- package/dist-cjs/commands/SearchQuantumTasksCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/protocols/Aws_restJson1.js +17 -0
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/commands/CancelJobCommand.js +5 -0
- package/dist-es/commands/CancelQuantumTaskCommand.js +5 -0
- package/dist-es/commands/CreateJobCommand.js +5 -0
- package/dist-es/commands/CreateQuantumTaskCommand.js +5 -0
- package/dist-es/commands/GetDeviceCommand.js +5 -0
- package/dist-es/commands/GetJobCommand.js +5 -0
- package/dist-es/commands/GetQuantumTaskCommand.js +5 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/SearchDevicesCommand.js +5 -0
- package/dist-es/commands/SearchJobsCommand.js +5 -0
- package/dist-es/commands/SearchQuantumTasksCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/protocols/Aws_restJson1.js +17 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +7 -0
- package/dist-types/commands/GetJobCommand.d.ts +8 -0
- package/dist-types/commands/GetQuantumTaskCommand.d.ts +9 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +149 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +41 -0
- package/package.json +31 -30
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class CancelJobCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CancelJobCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "CancelJob",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class CancelQuantumTaskCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CancelQuantumTaskCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "CancelQuantumTask",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class CreateJobCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CreateJobCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "CreateJob",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class CreateQuantumTaskCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class CreateQuantumTaskCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "CreateQuantumTask",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class GetDeviceCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class GetDeviceCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "GetDevice",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class GetJobCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class GetJobCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "GetJob",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class GetQuantumTaskCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class GetQuantumTaskCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "GetQuantumTask",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "ListTagsForResource",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class SearchDevicesCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class SearchDevicesCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "SearchDevices",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class SearchJobsCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class SearchJobsCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "SearchJobs",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class SearchQuantumTasksCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class SearchQuantumTasksCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "SearchQuantumTasks",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "TagResource",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
8
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
10
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -32,6 +33,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
35
|
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "Braket",
|
|
38
|
+
operation: "UntagResource",
|
|
39
|
+
},
|
|
35
40
|
};
|
|
36
41
|
const { requestHandler } = configuration;
|
|
37
42
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SearchQuantumTasksFilterOperator = exports.QuantumTaskStatus = exports.DeviceOfflineException = exports.SearchJobsFilterOperator = exports.JobPrimaryStatus = exports.JobEventType = exports.ServiceQuotaExceededException = exports.DeviceRetiredException = exports._InstanceType = exports.ConflictException = exports.CancellationStatus = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServiceException = exports.DeviceType = exports.DeviceStatus = exports.CompressionType = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.SearchQuantumTasksFilterOperator = exports.QuantumTaskStatus = exports.QuantumTaskAdditionalAttributeName = exports.DeviceOfflineException = exports.SearchJobsFilterOperator = exports.JobPrimaryStatus = exports.JobEventType = exports.HybridJobAdditionalAttributeName = exports.ServiceQuotaExceededException = exports.DeviceRetiredException = exports._InstanceType = exports.ConflictException = exports.CancellationStatus = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServiceException = exports.DeviceType = exports.DeviceStatus = exports.QueuePriority = exports.QueueName = exports.CompressionType = exports.AccessDeniedException = void 0;
|
|
4
4
|
const BraketServiceException_1 = require("./BraketServiceException");
|
|
5
5
|
class AccessDeniedException extends BraketServiceException_1.BraketServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -19,6 +19,14 @@ exports.CompressionType = {
|
|
|
19
19
|
GZIP: "GZIP",
|
|
20
20
|
NONE: "NONE",
|
|
21
21
|
};
|
|
22
|
+
exports.QueueName = {
|
|
23
|
+
JOBS_QUEUE: "JOBS_QUEUE",
|
|
24
|
+
QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE",
|
|
25
|
+
};
|
|
26
|
+
exports.QueuePriority = {
|
|
27
|
+
NORMAL: "Normal",
|
|
28
|
+
PRIORITY: "Priority",
|
|
29
|
+
};
|
|
22
30
|
exports.DeviceStatus = {
|
|
23
31
|
OFFLINE: "OFFLINE",
|
|
24
32
|
ONLINE: "ONLINE",
|
|
@@ -164,6 +172,9 @@ class ServiceQuotaExceededException extends BraketServiceException_1.BraketServi
|
|
|
164
172
|
}
|
|
165
173
|
}
|
|
166
174
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
175
|
+
exports.HybridJobAdditionalAttributeName = {
|
|
176
|
+
QUEUE_INFO: "QueueInfo",
|
|
177
|
+
};
|
|
167
178
|
exports.JobEventType = {
|
|
168
179
|
CANCELLED: "CANCELLED",
|
|
169
180
|
COMPLETED: "COMPLETED",
|
|
@@ -207,6 +218,9 @@ class DeviceOfflineException extends BraketServiceException_1.BraketServiceExcep
|
|
|
207
218
|
}
|
|
208
219
|
}
|
|
209
220
|
exports.DeviceOfflineException = DeviceOfflineException;
|
|
221
|
+
exports.QuantumTaskAdditionalAttributeName = {
|
|
222
|
+
QUEUE_INFO: "QueueInfo",
|
|
223
|
+
};
|
|
210
224
|
exports.QuantumTaskStatus = {
|
|
211
225
|
CANCELLED: "CANCELLED",
|
|
212
226
|
CANCELLING: "CANCELLING",
|
|
@@ -128,6 +128,12 @@ const se_GetJobCommand = async (input, context) => {
|
|
|
128
128
|
const headers = {};
|
|
129
129
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/job/{jobArn}";
|
|
130
130
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "jobArn", () => input.jobArn, "{jobArn}", false);
|
|
131
|
+
const query = (0, smithy_client_1.map)({
|
|
132
|
+
additionalAttributeNames: [
|
|
133
|
+
() => input.additionalAttributeNames !== void 0,
|
|
134
|
+
() => (input.additionalAttributeNames || []).map((_entry) => _entry),
|
|
135
|
+
],
|
|
136
|
+
});
|
|
131
137
|
let body;
|
|
132
138
|
return new protocol_http_1.HttpRequest({
|
|
133
139
|
protocol,
|
|
@@ -136,6 +142,7 @@ const se_GetJobCommand = async (input, context) => {
|
|
|
136
142
|
method: "GET",
|
|
137
143
|
headers,
|
|
138
144
|
path: resolvedPath,
|
|
145
|
+
query,
|
|
139
146
|
body,
|
|
140
147
|
});
|
|
141
148
|
};
|
|
@@ -145,6 +152,12 @@ const se_GetQuantumTaskCommand = async (input, context) => {
|
|
|
145
152
|
const headers = {};
|
|
146
153
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/quantum-task/{quantumTaskArn}";
|
|
147
154
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "quantumTaskArn", () => input.quantumTaskArn, "{quantumTaskArn}", false);
|
|
155
|
+
const query = (0, smithy_client_1.map)({
|
|
156
|
+
additionalAttributeNames: [
|
|
157
|
+
() => input.additionalAttributeNames !== void 0,
|
|
158
|
+
() => (input.additionalAttributeNames || []).map((_entry) => _entry),
|
|
159
|
+
],
|
|
160
|
+
});
|
|
148
161
|
let body;
|
|
149
162
|
return new protocol_http_1.HttpRequest({
|
|
150
163
|
protocol,
|
|
@@ -153,6 +166,7 @@ const se_GetQuantumTaskCommand = async (input, context) => {
|
|
|
153
166
|
method: "GET",
|
|
154
167
|
headers,
|
|
155
168
|
path: resolvedPath,
|
|
169
|
+
query,
|
|
156
170
|
body,
|
|
157
171
|
});
|
|
158
172
|
};
|
|
@@ -505,6 +519,7 @@ const de_GetDeviceCommand = async (output, context) => {
|
|
|
505
519
|
deviceArn: smithy_client_1.expectString,
|
|
506
520
|
deviceCapabilities: (_) => new smithy_client_1.LazyJsonString(_),
|
|
507
521
|
deviceName: smithy_client_1.expectString,
|
|
522
|
+
deviceQueueInfo: smithy_client_1._json,
|
|
508
523
|
deviceStatus: smithy_client_1.expectString,
|
|
509
524
|
deviceType: smithy_client_1.expectString,
|
|
510
525
|
providerName: smithy_client_1.expectString,
|
|
@@ -567,6 +582,7 @@ const de_GetJobCommand = async (output, context) => {
|
|
|
567
582
|
jobArn: smithy_client_1.expectString,
|
|
568
583
|
jobName: smithy_client_1.expectString,
|
|
569
584
|
outputDataConfig: smithy_client_1._json,
|
|
585
|
+
queueInfo: smithy_client_1._json,
|
|
570
586
|
roleArn: smithy_client_1.expectString,
|
|
571
587
|
startedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
572
588
|
status: smithy_client_1.expectString,
|
|
@@ -626,6 +642,7 @@ const de_GetQuantumTaskCommand = async (output, context) => {
|
|
|
626
642
|
outputS3Bucket: smithy_client_1.expectString,
|
|
627
643
|
outputS3Directory: smithy_client_1.expectString,
|
|
628
644
|
quantumTaskArn: smithy_client_1.expectString,
|
|
645
|
+
queueInfo: smithy_client_1._json,
|
|
629
646
|
shots: smithy_client_1.expectLong,
|
|
630
647
|
status: smithy_client_1.expectString,
|
|
631
648
|
tags: smithy_client_1._json,
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
4
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const asPartial = (t) => t;
|
|
7
8
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
8
9
|
const extensionConfiguration = {
|
|
10
|
+
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
12
|
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
11
13
|
};
|
|
12
14
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
13
15
|
return {
|
|
14
16
|
...runtimeConfig,
|
|
17
|
+
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
15
18
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
19
|
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
17
20
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_CancelJobCommand, se_CancelJobCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class CancelJobCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class CancelJobCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "CancelJob",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_CancelQuantumTaskCommand, se_CancelQuantumTaskCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class CancelQuantumTaskCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class CancelQuantumTaskCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "CancelQuantumTask",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_CreateJobCommand, se_CreateJobCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class CreateJobCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class CreateJobCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "CreateJob",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_CreateQuantumTaskCommand, se_CreateQuantumTaskCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class CreateQuantumTaskCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class CreateQuantumTaskCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "CreateQuantumTask",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_GetDeviceCommand, se_GetDeviceCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class GetDeviceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class GetDeviceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "GetDevice",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_GetJobCommand, se_GetJobCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class GetJobCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class GetJobCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "GetJob",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_GetQuantumTaskCommand, se_GetQuantumTaskCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class GetQuantumTaskCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class GetQuantumTaskCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "GetQuantumTask",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListTagsForResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "ListTagsForResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_SearchDevicesCommand, se_SearchDevicesCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class SearchDevicesCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class SearchDevicesCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "SearchDevices",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_SearchJobsCommand, se_SearchJobsCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class SearchJobsCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class SearchJobsCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "SearchJobs",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_SearchQuantumTasksCommand, se_SearchQuantumTasksCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class SearchQuantumTasksCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class SearchQuantumTasksCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "SearchQuantumTasks",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class TagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "TagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UntagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Braket",
|
|
35
|
+
operation: "UntagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -15,6 +15,14 @@ export const CompressionType = {
|
|
|
15
15
|
GZIP: "GZIP",
|
|
16
16
|
NONE: "NONE",
|
|
17
17
|
};
|
|
18
|
+
export const QueueName = {
|
|
19
|
+
JOBS_QUEUE: "JOBS_QUEUE",
|
|
20
|
+
QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE",
|
|
21
|
+
};
|
|
22
|
+
export const QueuePriority = {
|
|
23
|
+
NORMAL: "Normal",
|
|
24
|
+
PRIORITY: "Priority",
|
|
25
|
+
};
|
|
18
26
|
export const DeviceStatus = {
|
|
19
27
|
OFFLINE: "OFFLINE",
|
|
20
28
|
ONLINE: "ONLINE",
|
|
@@ -153,6 +161,9 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
153
161
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
154
162
|
}
|
|
155
163
|
}
|
|
164
|
+
export const HybridJobAdditionalAttributeName = {
|
|
165
|
+
QUEUE_INFO: "QueueInfo",
|
|
166
|
+
};
|
|
156
167
|
export const JobEventType = {
|
|
157
168
|
CANCELLED: "CANCELLED",
|
|
158
169
|
COMPLETED: "COMPLETED",
|
|
@@ -195,6 +206,9 @@ export class DeviceOfflineException extends __BaseException {
|
|
|
195
206
|
Object.setPrototypeOf(this, DeviceOfflineException.prototype);
|
|
196
207
|
}
|
|
197
208
|
}
|
|
209
|
+
export const QuantumTaskAdditionalAttributeName = {
|
|
210
|
+
QUEUE_INFO: "QueueInfo",
|
|
211
|
+
};
|
|
198
212
|
export const QuantumTaskStatus = {
|
|
199
213
|
CANCELLED: "CANCELLED",
|
|
200
214
|
CANCELLING: "CANCELLING",
|
|
@@ -120,6 +120,12 @@ export const se_GetJobCommand = async (input, context) => {
|
|
|
120
120
|
const headers = {};
|
|
121
121
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/job/{jobArn}";
|
|
122
122
|
resolvedPath = __resolvedPath(resolvedPath, input, "jobArn", () => input.jobArn, "{jobArn}", false);
|
|
123
|
+
const query = map({
|
|
124
|
+
additionalAttributeNames: [
|
|
125
|
+
() => input.additionalAttributeNames !== void 0,
|
|
126
|
+
() => (input.additionalAttributeNames || []).map((_entry) => _entry),
|
|
127
|
+
],
|
|
128
|
+
});
|
|
123
129
|
let body;
|
|
124
130
|
return new __HttpRequest({
|
|
125
131
|
protocol,
|
|
@@ -128,6 +134,7 @@ export const se_GetJobCommand = async (input, context) => {
|
|
|
128
134
|
method: "GET",
|
|
129
135
|
headers,
|
|
130
136
|
path: resolvedPath,
|
|
137
|
+
query,
|
|
131
138
|
body,
|
|
132
139
|
});
|
|
133
140
|
};
|
|
@@ -136,6 +143,12 @@ export const se_GetQuantumTaskCommand = async (input, context) => {
|
|
|
136
143
|
const headers = {};
|
|
137
144
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/quantum-task/{quantumTaskArn}";
|
|
138
145
|
resolvedPath = __resolvedPath(resolvedPath, input, "quantumTaskArn", () => input.quantumTaskArn, "{quantumTaskArn}", false);
|
|
146
|
+
const query = map({
|
|
147
|
+
additionalAttributeNames: [
|
|
148
|
+
() => input.additionalAttributeNames !== void 0,
|
|
149
|
+
() => (input.additionalAttributeNames || []).map((_entry) => _entry),
|
|
150
|
+
],
|
|
151
|
+
});
|
|
139
152
|
let body;
|
|
140
153
|
return new __HttpRequest({
|
|
141
154
|
protocol,
|
|
@@ -144,6 +157,7 @@ export const se_GetQuantumTaskCommand = async (input, context) => {
|
|
|
144
157
|
method: "GET",
|
|
145
158
|
headers,
|
|
146
159
|
path: resolvedPath,
|
|
160
|
+
query,
|
|
147
161
|
body,
|
|
148
162
|
});
|
|
149
163
|
};
|
|
@@ -485,6 +499,7 @@ export const de_GetDeviceCommand = async (output, context) => {
|
|
|
485
499
|
deviceArn: __expectString,
|
|
486
500
|
deviceCapabilities: (_) => new __LazyJsonString(_),
|
|
487
501
|
deviceName: __expectString,
|
|
502
|
+
deviceQueueInfo: _json,
|
|
488
503
|
deviceStatus: __expectString,
|
|
489
504
|
deviceType: __expectString,
|
|
490
505
|
providerName: __expectString,
|
|
@@ -546,6 +561,7 @@ export const de_GetJobCommand = async (output, context) => {
|
|
|
546
561
|
jobArn: __expectString,
|
|
547
562
|
jobName: __expectString,
|
|
548
563
|
outputDataConfig: _json,
|
|
564
|
+
queueInfo: _json,
|
|
549
565
|
roleArn: __expectString,
|
|
550
566
|
startedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
551
567
|
status: __expectString,
|
|
@@ -604,6 +620,7 @@ export const de_GetQuantumTaskCommand = async (output, context) => {
|
|
|
604
620
|
outputS3Bucket: __expectString,
|
|
605
621
|
outputS3Directory: __expectString,
|
|
606
622
|
quantumTaskArn: __expectString,
|
|
623
|
+
queueInfo: _json,
|
|
607
624
|
shots: __expectLong,
|
|
608
625
|
status: __expectString,
|
|
609
626
|
tags: _json,
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
1
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
2
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
3
4
|
const asPartial = (t) => t;
|
|
4
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
5
6
|
const extensionConfiguration = {
|
|
7
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
9
|
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
8
10
|
};
|
|
9
11
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
10
12
|
return {
|
|
11
13
|
...runtimeConfig,
|
|
14
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
12
15
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
16
|
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
14
17
|
};
|
|
@@ -51,6 +51,13 @@ export interface GetDeviceCommandOutput extends GetDeviceResponse, __MetadataBea
|
|
|
51
51
|
* // deviceType: "STRING_VALUE", // required
|
|
52
52
|
* // deviceStatus: "STRING_VALUE", // required
|
|
53
53
|
* // deviceCapabilities: "STRING_VALUE", // required
|
|
54
|
+
* // deviceQueueInfo: [ // DeviceQueueInfoList
|
|
55
|
+
* // { // DeviceQueueInfo
|
|
56
|
+
* // queue: "STRING_VALUE", // required
|
|
57
|
+
* // queueSize: "STRING_VALUE", // required
|
|
58
|
+
* // queuePriority: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
54
61
|
* // };
|
|
55
62
|
*
|
|
56
63
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {
|
|
|
32
32
|
* const client = new BraketClient(config);
|
|
33
33
|
* const input = { // GetJobRequest
|
|
34
34
|
* jobArn: "STRING_VALUE", // required
|
|
35
|
+
* additionalAttributeNames: [ // HybridJobAdditionalAttributeNamesList
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
35
38
|
* };
|
|
36
39
|
* const command = new GetJobCommand(input);
|
|
37
40
|
* const response = await client.send(command);
|
|
@@ -98,6 +101,11 @@ export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {
|
|
|
98
101
|
* // tags: { // TagsMap
|
|
99
102
|
* // "<keys>": "STRING_VALUE",
|
|
100
103
|
* // },
|
|
104
|
+
* // queueInfo: { // HybridJobQueueInfo
|
|
105
|
+
* // queue: "STRING_VALUE", // required
|
|
106
|
+
* // position: "STRING_VALUE", // required
|
|
107
|
+
* // message: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
101
109
|
* // };
|
|
102
110
|
*
|
|
103
111
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface GetQuantumTaskCommandOutput extends GetQuantumTaskResponse, __M
|
|
|
32
32
|
* const client = new BraketClient(config);
|
|
33
33
|
* const input = { // GetQuantumTaskRequest
|
|
34
34
|
* quantumTaskArn: "STRING_VALUE", // required
|
|
35
|
+
* additionalAttributeNames: [ // QuantumTaskAdditionalAttributeNamesList
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
35
38
|
* };
|
|
36
39
|
* const command = new GetQuantumTaskCommand(input);
|
|
37
40
|
* const response = await client.send(command);
|
|
@@ -50,6 +53,12 @@ export interface GetQuantumTaskCommandOutput extends GetQuantumTaskResponse, __M
|
|
|
50
53
|
* // "<keys>": "STRING_VALUE",
|
|
51
54
|
* // },
|
|
52
55
|
* // jobArn: "STRING_VALUE",
|
|
56
|
+
* // queueInfo: { // QuantumTaskQueueInfo
|
|
57
|
+
* // queue: "STRING_VALUE", // required
|
|
58
|
+
* // position: "STRING_VALUE", // required
|
|
59
|
+
* // queuePriority: "STRING_VALUE",
|
|
60
|
+
* // message: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
53
62
|
* // };
|
|
54
63
|
*
|
|
55
64
|
* ```
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
|
-
export interface BraketExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
7
|
+
export interface BraketExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
7
8
|
}
|
|
@@ -86,6 +86,52 @@ export interface GetDeviceRequest {
|
|
|
86
86
|
*/
|
|
87
87
|
deviceArn: string | undefined;
|
|
88
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* @enum
|
|
92
|
+
*/
|
|
93
|
+
export declare const QueueName: {
|
|
94
|
+
readonly JOBS_QUEUE: "JOBS_QUEUE";
|
|
95
|
+
readonly QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE";
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export type QueueName = (typeof QueueName)[keyof typeof QueueName];
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
* @enum
|
|
104
|
+
*/
|
|
105
|
+
export declare const QueuePriority: {
|
|
106
|
+
readonly NORMAL: "Normal";
|
|
107
|
+
readonly PRIORITY: "Priority";
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export type QueuePriority = (typeof QueuePriority)[keyof typeof QueuePriority];
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* <p>Information about tasks and jobs queued on a device.</p>
|
|
116
|
+
*/
|
|
117
|
+
export interface DeviceQueueInfo {
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
* <p>The name of the queue. </p>
|
|
121
|
+
*/
|
|
122
|
+
queue: QueueName | string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* <p>The number of jobs or tasks in the queue for a given device. </p>
|
|
126
|
+
*/
|
|
127
|
+
queueSize: string | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
* <p>Optional. Specifies the priority of the queue. Tasks in a priority queue
|
|
131
|
+
* are processed before the tasks in a normal queue.</p>
|
|
132
|
+
*/
|
|
133
|
+
queuePriority?: QueuePriority | string;
|
|
134
|
+
}
|
|
89
135
|
/**
|
|
90
136
|
* @public
|
|
91
137
|
* @enum
|
|
@@ -145,6 +191,11 @@ export interface GetDeviceResponse {
|
|
|
145
191
|
* <p>Details about the capabilities of the device.</p>
|
|
146
192
|
*/
|
|
147
193
|
deviceCapabilities: __LazyJsonString | string | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
* <p>List of information about tasks and jobs queued on a device.</p>
|
|
197
|
+
*/
|
|
198
|
+
deviceQueueInfo?: DeviceQueueInfo[];
|
|
148
199
|
}
|
|
149
200
|
/**
|
|
150
201
|
* @public
|
|
@@ -618,6 +669,17 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
618
669
|
*/
|
|
619
670
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
620
671
|
}
|
|
672
|
+
/**
|
|
673
|
+
* @public
|
|
674
|
+
* @enum
|
|
675
|
+
*/
|
|
676
|
+
export declare const HybridJobAdditionalAttributeName: {
|
|
677
|
+
readonly QUEUE_INFO: "QueueInfo";
|
|
678
|
+
};
|
|
679
|
+
/**
|
|
680
|
+
* @public
|
|
681
|
+
*/
|
|
682
|
+
export type HybridJobAdditionalAttributeName = (typeof HybridJobAdditionalAttributeName)[keyof typeof HybridJobAdditionalAttributeName];
|
|
621
683
|
/**
|
|
622
684
|
* @public
|
|
623
685
|
*/
|
|
@@ -627,6 +689,11 @@ export interface GetJobRequest {
|
|
|
627
689
|
* <p>The ARN of the job to retrieve.</p>
|
|
628
690
|
*/
|
|
629
691
|
jobArn: string | undefined;
|
|
692
|
+
/**
|
|
693
|
+
* @public
|
|
694
|
+
* <p>A list of attributes to return information for.</p>
|
|
695
|
+
*/
|
|
696
|
+
additionalAttributeNames?: (HybridJobAdditionalAttributeName | string)[];
|
|
630
697
|
}
|
|
631
698
|
/**
|
|
632
699
|
* @public
|
|
@@ -670,6 +737,29 @@ export interface JobEventDetails {
|
|
|
670
737
|
*/
|
|
671
738
|
message?: string;
|
|
672
739
|
}
|
|
740
|
+
/**
|
|
741
|
+
* @public
|
|
742
|
+
* <p>Information about the queue for a specified job.</p>
|
|
743
|
+
*/
|
|
744
|
+
export interface HybridJobQueueInfo {
|
|
745
|
+
/**
|
|
746
|
+
* @public
|
|
747
|
+
* <p>The name of the queue.</p>
|
|
748
|
+
*/
|
|
749
|
+
queue: QueueName | string | undefined;
|
|
750
|
+
/**
|
|
751
|
+
* @public
|
|
752
|
+
* <p>Current position of the job in the jobs queue.</p>
|
|
753
|
+
*/
|
|
754
|
+
position: string | undefined;
|
|
755
|
+
/**
|
|
756
|
+
* @public
|
|
757
|
+
* <p>Optional. Provides more information about the queue position. For example,
|
|
758
|
+
* if the job is complete and no longer in the queue, the message field contains
|
|
759
|
+
* that information.</p>
|
|
760
|
+
*/
|
|
761
|
+
message?: string;
|
|
762
|
+
}
|
|
673
763
|
/**
|
|
674
764
|
* @public
|
|
675
765
|
* @enum
|
|
@@ -794,6 +884,13 @@ export interface GetJobResponse {
|
|
|
794
884
|
* Amazon Braket resources.</p>
|
|
795
885
|
*/
|
|
796
886
|
tags?: Record<string, string>;
|
|
887
|
+
/**
|
|
888
|
+
* @public
|
|
889
|
+
* <p>Queue information for the requested job. Only returned if
|
|
890
|
+
* <code>QueueInfo</code> is specified in the <code>additionalAttributeNames"</code>
|
|
891
|
+
* field in the <code>GetJob</code> API request.</p>
|
|
892
|
+
*/
|
|
893
|
+
queueInfo?: HybridJobQueueInfo;
|
|
797
894
|
}
|
|
798
895
|
/**
|
|
799
896
|
* @public
|
|
@@ -1042,6 +1139,17 @@ export declare class DeviceOfflineException extends __BaseException {
|
|
|
1042
1139
|
*/
|
|
1043
1140
|
constructor(opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>);
|
|
1044
1141
|
}
|
|
1142
|
+
/**
|
|
1143
|
+
* @public
|
|
1144
|
+
* @enum
|
|
1145
|
+
*/
|
|
1146
|
+
export declare const QuantumTaskAdditionalAttributeName: {
|
|
1147
|
+
readonly QUEUE_INFO: "QueueInfo";
|
|
1148
|
+
};
|
|
1149
|
+
/**
|
|
1150
|
+
* @public
|
|
1151
|
+
*/
|
|
1152
|
+
export type QuantumTaskAdditionalAttributeName = (typeof QuantumTaskAdditionalAttributeName)[keyof typeof QuantumTaskAdditionalAttributeName];
|
|
1045
1153
|
/**
|
|
1046
1154
|
* @public
|
|
1047
1155
|
*/
|
|
@@ -1051,6 +1159,40 @@ export interface GetQuantumTaskRequest {
|
|
|
1051
1159
|
* <p>the ARN of the task to retrieve.</p>
|
|
1052
1160
|
*/
|
|
1053
1161
|
quantumTaskArn: string | undefined;
|
|
1162
|
+
/**
|
|
1163
|
+
* @public
|
|
1164
|
+
* <p>A list of attributes to return information for.</p>
|
|
1165
|
+
*/
|
|
1166
|
+
additionalAttributeNames?: (QuantumTaskAdditionalAttributeName | string)[];
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* @public
|
|
1170
|
+
* <p>Information about the queue for the specified quantum task.</p>
|
|
1171
|
+
*/
|
|
1172
|
+
export interface QuantumTaskQueueInfo {
|
|
1173
|
+
/**
|
|
1174
|
+
* @public
|
|
1175
|
+
* <p>The name of the queue. </p>
|
|
1176
|
+
*/
|
|
1177
|
+
queue: QueueName | string | undefined;
|
|
1178
|
+
/**
|
|
1179
|
+
* @public
|
|
1180
|
+
* <p>Current position of the task in the quantum tasks queue.</p>
|
|
1181
|
+
*/
|
|
1182
|
+
position: string | undefined;
|
|
1183
|
+
/**
|
|
1184
|
+
* @public
|
|
1185
|
+
* <p>Optional. Specifies the priority of the queue. Quantum tasks in a priority queue
|
|
1186
|
+
* are processed before the tasks in a normal queue.</p>
|
|
1187
|
+
*/
|
|
1188
|
+
queuePriority?: QueuePriority | string;
|
|
1189
|
+
/**
|
|
1190
|
+
* @public
|
|
1191
|
+
* <p>Optional. Provides more information about the queue position. For example,
|
|
1192
|
+
* if the task is complete and no longer in the queue, the message field contains
|
|
1193
|
+
* that information.</p>
|
|
1194
|
+
*/
|
|
1195
|
+
message?: string;
|
|
1054
1196
|
}
|
|
1055
1197
|
/**
|
|
1056
1198
|
* @public
|
|
@@ -1133,6 +1275,13 @@ export interface GetQuantumTaskResponse {
|
|
|
1133
1275
|
* <p>The ARN of the Amazon Braket job associated with the quantum task.</p>
|
|
1134
1276
|
*/
|
|
1135
1277
|
jobArn?: string;
|
|
1278
|
+
/**
|
|
1279
|
+
* @public
|
|
1280
|
+
* <p>Queue information for the requested quantum task. Only returned if
|
|
1281
|
+
* <code>QueueInfo</code> is specified in the <code>additionalAttributeNames"</code>
|
|
1282
|
+
* field in the <code>GetQuantumTask</code> API request.</p>
|
|
1283
|
+
*/
|
|
1284
|
+
queueInfo?: QuantumTaskQueueInfo;
|
|
1136
1285
|
}
|
|
1137
1286
|
/**
|
|
1138
1287
|
* @public
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
export interface BraketExtensionConfiguration
|
|
4
5
|
extends HttpHandlerExtensionConfiguration,
|
|
5
|
-
DefaultExtensionConfiguration
|
|
6
|
+
DefaultExtensionConfiguration,
|
|
7
|
+
AwsRegionExtensionConfiguration {}
|
|
@@ -31,6 +31,21 @@ export interface AlgorithmSpecification {
|
|
|
31
31
|
export interface GetDeviceRequest {
|
|
32
32
|
deviceArn: string | undefined;
|
|
33
33
|
}
|
|
34
|
+
export declare const QueueName: {
|
|
35
|
+
readonly JOBS_QUEUE: "JOBS_QUEUE";
|
|
36
|
+
readonly QUANTUM_TASKS_QUEUE: "QUANTUM_TASKS_QUEUE";
|
|
37
|
+
};
|
|
38
|
+
export type QueueName = (typeof QueueName)[keyof typeof QueueName];
|
|
39
|
+
export declare const QueuePriority: {
|
|
40
|
+
readonly NORMAL: "Normal";
|
|
41
|
+
readonly PRIORITY: "Priority";
|
|
42
|
+
};
|
|
43
|
+
export type QueuePriority = (typeof QueuePriority)[keyof typeof QueuePriority];
|
|
44
|
+
export interface DeviceQueueInfo {
|
|
45
|
+
queue: QueueName | string | undefined;
|
|
46
|
+
queueSize: string | undefined;
|
|
47
|
+
queuePriority?: QueuePriority | string;
|
|
48
|
+
}
|
|
34
49
|
export declare const DeviceStatus: {
|
|
35
50
|
readonly OFFLINE: "OFFLINE";
|
|
36
51
|
readonly ONLINE: "ONLINE";
|
|
@@ -49,6 +64,7 @@ export interface GetDeviceResponse {
|
|
|
49
64
|
deviceType: DeviceType | string | undefined;
|
|
50
65
|
deviceStatus: DeviceStatus | string | undefined;
|
|
51
66
|
deviceCapabilities: __LazyJsonString | string | undefined;
|
|
67
|
+
deviceQueueInfo?: DeviceQueueInfo[];
|
|
52
68
|
}
|
|
53
69
|
export declare class InternalServiceException extends __BaseException {
|
|
54
70
|
readonly name: "InternalServiceException";
|
|
@@ -219,8 +235,14 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
219
235
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
220
236
|
);
|
|
221
237
|
}
|
|
238
|
+
export declare const HybridJobAdditionalAttributeName: {
|
|
239
|
+
readonly QUEUE_INFO: "QueueInfo";
|
|
240
|
+
};
|
|
241
|
+
export type HybridJobAdditionalAttributeName =
|
|
242
|
+
(typeof HybridJobAdditionalAttributeName)[keyof typeof HybridJobAdditionalAttributeName];
|
|
222
243
|
export interface GetJobRequest {
|
|
223
244
|
jobArn: string | undefined;
|
|
245
|
+
additionalAttributeNames?: (HybridJobAdditionalAttributeName | string)[];
|
|
224
246
|
}
|
|
225
247
|
export declare const JobEventType: {
|
|
226
248
|
readonly CANCELLED: "CANCELLED";
|
|
@@ -241,6 +263,11 @@ export interface JobEventDetails {
|
|
|
241
263
|
timeOfEvent?: Date;
|
|
242
264
|
message?: string;
|
|
243
265
|
}
|
|
266
|
+
export interface HybridJobQueueInfo {
|
|
267
|
+
queue: QueueName | string | undefined;
|
|
268
|
+
position: string | undefined;
|
|
269
|
+
message?: string;
|
|
270
|
+
}
|
|
244
271
|
export declare const JobPrimaryStatus: {
|
|
245
272
|
readonly CANCELLED: "CANCELLED";
|
|
246
273
|
readonly CANCELLING: "CANCELLING";
|
|
@@ -271,6 +298,7 @@ export interface GetJobResponse {
|
|
|
271
298
|
deviceConfig?: DeviceConfig;
|
|
272
299
|
events?: JobEventDetails[];
|
|
273
300
|
tags?: Record<string, string>;
|
|
301
|
+
queueInfo?: HybridJobQueueInfo;
|
|
274
302
|
}
|
|
275
303
|
export declare const SearchJobsFilterOperator: {
|
|
276
304
|
readonly BETWEEN: "BETWEEN";
|
|
@@ -342,8 +370,20 @@ export declare class DeviceOfflineException extends __BaseException {
|
|
|
342
370
|
opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>
|
|
343
371
|
);
|
|
344
372
|
}
|
|
373
|
+
export declare const QuantumTaskAdditionalAttributeName: {
|
|
374
|
+
readonly QUEUE_INFO: "QueueInfo";
|
|
375
|
+
};
|
|
376
|
+
export type QuantumTaskAdditionalAttributeName =
|
|
377
|
+
(typeof QuantumTaskAdditionalAttributeName)[keyof typeof QuantumTaskAdditionalAttributeName];
|
|
345
378
|
export interface GetQuantumTaskRequest {
|
|
346
379
|
quantumTaskArn: string | undefined;
|
|
380
|
+
additionalAttributeNames?: (QuantumTaskAdditionalAttributeName | string)[];
|
|
381
|
+
}
|
|
382
|
+
export interface QuantumTaskQueueInfo {
|
|
383
|
+
queue: QueueName | string | undefined;
|
|
384
|
+
position: string | undefined;
|
|
385
|
+
queuePriority?: QueuePriority | string;
|
|
386
|
+
message?: string;
|
|
347
387
|
}
|
|
348
388
|
export declare const QuantumTaskStatus: {
|
|
349
389
|
readonly CANCELLED: "CANCELLED";
|
|
@@ -369,6 +409,7 @@ export interface GetQuantumTaskResponse {
|
|
|
369
409
|
endedAt?: Date;
|
|
370
410
|
tags?: Record<string, string>;
|
|
371
411
|
jobArn?: string;
|
|
412
|
+
queueInfo?: QuantumTaskQueueInfo;
|
|
372
413
|
}
|
|
373
414
|
export declare const SearchQuantumTasksFilterOperator: {
|
|
374
415
|
readonly BETWEEN: "BETWEEN";
|
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.418.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",
|
|
@@ -21,38 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "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/
|
|
32
|
-
"@aws-sdk/
|
|
33
|
-
"@aws-sdk/util-
|
|
34
|
-
"@aws-sdk/util-user-agent-
|
|
35
|
-
"@
|
|
36
|
-
"@smithy/
|
|
37
|
-
"@smithy/
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/middleware-
|
|
41
|
-
"@smithy/middleware-
|
|
42
|
-
"@smithy/middleware-
|
|
43
|
-
"@smithy/middleware-
|
|
44
|
-
"@smithy/
|
|
45
|
-
"@smithy/node-
|
|
46
|
-
"@smithy/
|
|
47
|
-
"@smithy/
|
|
48
|
-
"@smithy/
|
|
49
|
-
"@smithy/
|
|
24
|
+
"@aws-sdk/client-sts": "3.418.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.418.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.418.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.418.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.418.0",
|
|
32
|
+
"@aws-sdk/types": "3.418.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.418.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.418.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.418.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.10",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.1.5",
|
|
38
|
+
"@smithy/hash-node": "^2.0.9",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.9",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.11",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.12",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.9",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.12",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.5",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.5",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.6",
|
|
49
|
+
"@smithy/types": "^2.3.3",
|
|
50
|
+
"@smithy/url-parser": "^2.0.9",
|
|
50
51
|
"@smithy/util-base64": "^2.0.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.10",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.12",
|
|
56
|
+
"@smithy/util-retry": "^2.0.2",
|
|
56
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
58
|
"tslib": "^2.5.0",
|
|
58
59
|
"uuid": "^8.3.2"
|