@aws-sdk/client-braket 3.50.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/BraketServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +120 -2
  5. package/dist-cjs/protocols/Aws_restJson1.js +180 -570
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/BraketServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +110 -1
  9. package/dist-es/protocols/Aws_restJson1.js +329 -632
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/BraketServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +65 -38
  13. package/dist-types/ts3.4/Braket.d.ts +70 -0
  14. package/dist-types/ts3.4/BraketClient.d.ts +86 -0
  15. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CancelQuantumTaskCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateQuantumTaskCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/GetQuantumTaskCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/SearchDevicesCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/SearchJobsCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/SearchQuantumTasksCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  29. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  30. package/dist-types/ts3.4/index.d.ts +6 -0
  31. package/dist-types/ts3.4/models/BraketServiceException.d.ts +6 -0
  32. package/dist-types/ts3.4/models/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +758 -0
  34. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  35. package/dist-types/ts3.4/pagination/SearchDevicesPaginator.d.ts +4 -0
  36. package/dist-types/ts3.4/pagination/SearchJobsPaginator.d.ts +4 -0
  37. package/dist-types/ts3.4/pagination/SearchQuantumTasksPaginator.d.ts +4 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  39. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +41 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  44. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./BraketClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { BraketServiceException } from "./models/BraketServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var BraketServiceException = (function (_super) {
4
+ __extends(BraketServiceException, _super);
5
+ function BraketServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, BraketServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return BraketServiceException;
11
+ }(__ServiceException));
12
+ export { BraketServiceException };
@@ -1,4 +1,17 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { BraketServiceException as __BaseException } from "./BraketServiceException";
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ return _this;
11
+ }
12
+ return AccessDeniedException;
13
+ }(__BaseException));
14
+ export { AccessDeniedException };
2
15
  export var ContainerImage;
3
16
  (function (ContainerImage) {
4
17
  ContainerImage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -35,6 +48,54 @@ export var GetDeviceResponse;
35
48
  (function (GetDeviceResponse) {
36
49
  GetDeviceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
37
50
  })(GetDeviceResponse || (GetDeviceResponse = {}));
51
+ var InternalServiceException = (function (_super) {
52
+ __extends(InternalServiceException, _super);
53
+ function InternalServiceException(opts) {
54
+ var _this = _super.call(this, __assign({ name: "InternalServiceException", $fault: "server" }, opts)) || this;
55
+ _this.name = "InternalServiceException";
56
+ _this.$fault = "server";
57
+ Object.setPrototypeOf(_this, InternalServiceException.prototype);
58
+ return _this;
59
+ }
60
+ return InternalServiceException;
61
+ }(__BaseException));
62
+ export { InternalServiceException };
63
+ var ResourceNotFoundException = (function (_super) {
64
+ __extends(ResourceNotFoundException, _super);
65
+ function ResourceNotFoundException(opts) {
66
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
67
+ _this.name = "ResourceNotFoundException";
68
+ _this.$fault = "client";
69
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
70
+ return _this;
71
+ }
72
+ return ResourceNotFoundException;
73
+ }(__BaseException));
74
+ export { ResourceNotFoundException };
75
+ var ThrottlingException = (function (_super) {
76
+ __extends(ThrottlingException, _super);
77
+ function ThrottlingException(opts) {
78
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
79
+ _this.name = "ThrottlingException";
80
+ _this.$fault = "client";
81
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
82
+ return _this;
83
+ }
84
+ return ThrottlingException;
85
+ }(__BaseException));
86
+ export { ThrottlingException };
87
+ var ValidationException = (function (_super) {
88
+ __extends(ValidationException, _super);
89
+ function ValidationException(opts) {
90
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
91
+ _this.name = "ValidationException";
92
+ _this.$fault = "client";
93
+ Object.setPrototypeOf(_this, ValidationException.prototype);
94
+ return _this;
95
+ }
96
+ return ValidationException;
97
+ }(__BaseException));
98
+ export { ValidationException };
38
99
  export var SearchDevicesFilter;
39
100
  (function (SearchDevicesFilter) {
40
101
  SearchDevicesFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -64,6 +125,18 @@ export var CancelJobResponse;
64
125
  (function (CancelJobResponse) {
65
126
  CancelJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
66
127
  })(CancelJobResponse || (CancelJobResponse = {}));
128
+ var ConflictException = (function (_super) {
129
+ __extends(ConflictException, _super);
130
+ function ConflictException(opts) {
131
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
132
+ _this.name = "ConflictException";
133
+ _this.$fault = "client";
134
+ Object.setPrototypeOf(_this, ConflictException.prototype);
135
+ return _this;
136
+ }
137
+ return ConflictException;
138
+ }(__BaseException));
139
+ export { ConflictException };
67
140
  export var JobCheckpointConfig;
68
141
  (function (JobCheckpointConfig) {
69
142
  JobCheckpointConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -146,6 +219,30 @@ export var CreateJobResponse;
146
219
  (function (CreateJobResponse) {
147
220
  CreateJobResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
148
221
  })(CreateJobResponse || (CreateJobResponse = {}));
222
+ var DeviceRetiredException = (function (_super) {
223
+ __extends(DeviceRetiredException, _super);
224
+ function DeviceRetiredException(opts) {
225
+ var _this = _super.call(this, __assign({ name: "DeviceRetiredException", $fault: "client" }, opts)) || this;
226
+ _this.name = "DeviceRetiredException";
227
+ _this.$fault = "client";
228
+ Object.setPrototypeOf(_this, DeviceRetiredException.prototype);
229
+ return _this;
230
+ }
231
+ return DeviceRetiredException;
232
+ }(__BaseException));
233
+ export { DeviceRetiredException };
234
+ var ServiceQuotaExceededException = (function (_super) {
235
+ __extends(ServiceQuotaExceededException, _super);
236
+ function ServiceQuotaExceededException(opts) {
237
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
238
+ _this.name = "ServiceQuotaExceededException";
239
+ _this.$fault = "client";
240
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
241
+ return _this;
242
+ }
243
+ return ServiceQuotaExceededException;
244
+ }(__BaseException));
245
+ export { ServiceQuotaExceededException };
149
246
  export var GetJobRequest;
150
247
  (function (GetJobRequest) {
151
248
  GetJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -231,6 +328,18 @@ export var CreateQuantumTaskResponse;
231
328
  (function (CreateQuantumTaskResponse) {
232
329
  CreateQuantumTaskResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
233
330
  })(CreateQuantumTaskResponse || (CreateQuantumTaskResponse = {}));
331
+ var DeviceOfflineException = (function (_super) {
332
+ __extends(DeviceOfflineException, _super);
333
+ function DeviceOfflineException(opts) {
334
+ var _this = _super.call(this, __assign({ name: "DeviceOfflineException", $fault: "client" }, opts)) || this;
335
+ _this.name = "DeviceOfflineException";
336
+ _this.$fault = "client";
337
+ Object.setPrototypeOf(_this, DeviceOfflineException.prototype);
338
+ return _this;
339
+ }
340
+ return DeviceOfflineException;
341
+ }(__BaseException));
342
+ export { DeviceOfflineException };
234
343
  export var GetQuantumTaskRequest;
235
344
  (function (GetQuantumTaskRequest) {
236
345
  GetQuantumTaskRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };