@aws-sdk/client-braket 3.428.0 → 3.429.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.
@@ -57,7 +57,7 @@ export interface ScriptModeConfig {
57
57
  * @public
58
58
  * <p>The type of compression used by the Python scripts for an Amazon Braket job.</p>
59
59
  */
60
- compressionType?: CompressionType | string;
60
+ compressionType?: CompressionType;
61
61
  }
62
62
  /**
63
63
  * @public
@@ -119,7 +119,7 @@ export interface DeviceQueueInfo {
119
119
  * @public
120
120
  * <p>The name of the queue. </p>
121
121
  */
122
- queue: QueueName | string | undefined;
122
+ queue: QueueName | undefined;
123
123
  /**
124
124
  * @public
125
125
  * <p>The number of jobs or tasks in the queue for a given device. </p>
@@ -130,7 +130,7 @@ export interface DeviceQueueInfo {
130
130
  * <p>Optional. Specifies the priority of the queue. Tasks in a priority queue
131
131
  * are processed before the tasks in a normal queue.</p>
132
132
  */
133
- queuePriority?: QueuePriority | string;
133
+ queuePriority?: QueuePriority;
134
134
  }
135
135
  /**
136
136
  * @public
@@ -180,12 +180,12 @@ export interface GetDeviceResponse {
180
180
  * @public
181
181
  * <p>The type of the device.</p>
182
182
  */
183
- deviceType: DeviceType | string | undefined;
183
+ deviceType: DeviceType | undefined;
184
184
  /**
185
185
  * @public
186
186
  * <p>The status of the device.</p>
187
187
  */
188
- deviceStatus: DeviceStatus | string | undefined;
188
+ deviceStatus: DeviceStatus | undefined;
189
189
  /**
190
190
  * @public
191
191
  * <p>Details about the capabilities of the device.</p>
@@ -307,12 +307,12 @@ export interface DeviceSummary {
307
307
  * @public
308
308
  * <p>The type of the device.</p>
309
309
  */
310
- deviceType: DeviceType | string | undefined;
310
+ deviceType: DeviceType | undefined;
311
311
  /**
312
312
  * @public
313
313
  * <p>The status of the device.</p>
314
314
  */
315
- deviceStatus: DeviceStatus | string | undefined;
315
+ deviceStatus: DeviceStatus | undefined;
316
316
  }
317
317
  /**
318
318
  * @public
@@ -367,7 +367,7 @@ export interface CancelJobResponse {
367
367
  * @public
368
368
  * <p>The status of the job cancellation request.</p>
369
369
  */
370
- cancellationStatus: CancellationStatus | string | undefined;
370
+ cancellationStatus: CancellationStatus | undefined;
371
371
  }
372
372
  /**
373
373
  * @public
@@ -517,7 +517,7 @@ export interface InstanceConfig {
517
517
  * <p>Configures the type resource instances to use while running an Amazon Braket hybrid
518
518
  * job.</p>
519
519
  */
520
- instanceType: _InstanceType | string | undefined;
520
+ instanceType: _InstanceType | undefined;
521
521
  /**
522
522
  * @public
523
523
  * <p>The size of the storage volume, in GB, that user wants to provision.</p>
@@ -693,7 +693,7 @@ export interface GetJobRequest {
693
693
  * @public
694
694
  * <p>A list of attributes to return information for.</p>
695
695
  */
696
- additionalAttributeNames?: (HybridJobAdditionalAttributeName | string)[];
696
+ additionalAttributeNames?: HybridJobAdditionalAttributeName[];
697
697
  }
698
698
  /**
699
699
  * @public
@@ -725,7 +725,7 @@ export interface JobEventDetails {
725
725
  * @public
726
726
  * <p>The type of event that occurred related to the Amazon Braket job.</p>
727
727
  */
728
- eventType?: JobEventType | string;
728
+ eventType?: JobEventType;
729
729
  /**
730
730
  * @public
731
731
  * <p>TThe type of event that occurred related to the Amazon Braket job.</p>
@@ -746,7 +746,7 @@ export interface HybridJobQueueInfo {
746
746
  * @public
747
747
  * <p>The name of the queue.</p>
748
748
  */
749
- queue: QueueName | string | undefined;
749
+ queue: QueueName | undefined;
750
750
  /**
751
751
  * @public
752
752
  * <p>Current position of the job in the jobs queue.</p>
@@ -784,7 +784,7 @@ export interface GetJobResponse {
784
784
  * @public
785
785
  * <p>The status of the Amazon Braket job.</p>
786
786
  */
787
- status: JobPrimaryStatus | string | undefined;
787
+ status: JobPrimaryStatus | undefined;
788
788
  /**
789
789
  * @public
790
790
  * <p>The ARN of the Amazon Braket job.</p>
@@ -928,7 +928,7 @@ export interface SearchJobsFilter {
928
928
  * @public
929
929
  * <p>An operator to use for the jobs filter.</p>
930
930
  */
931
- operator: SearchJobsFilterOperator | string | undefined;
931
+ operator: SearchJobsFilterOperator | undefined;
932
932
  }
933
933
  /**
934
934
  * @public
@@ -960,7 +960,7 @@ export interface JobSummary {
960
960
  * @public
961
961
  * <p>The status of the Amazon Braket job.</p>
962
962
  */
963
- status: JobPrimaryStatus | string | undefined;
963
+ status: JobPrimaryStatus | undefined;
964
964
  /**
965
965
  * @public
966
966
  * <p>The ARN of the Amazon Braket job.</p>
@@ -1065,7 +1065,7 @@ export interface CancelQuantumTaskResponse {
1065
1065
  * @public
1066
1066
  * <p>The status of the cancellation request.</p>
1067
1067
  */
1068
- cancellationStatus: CancellationStatus | string | undefined;
1068
+ cancellationStatus: CancellationStatus | undefined;
1069
1069
  }
1070
1070
  /**
1071
1071
  * @public
@@ -1163,7 +1163,7 @@ export interface GetQuantumTaskRequest {
1163
1163
  * @public
1164
1164
  * <p>A list of attributes to return information for.</p>
1165
1165
  */
1166
- additionalAttributeNames?: (QuantumTaskAdditionalAttributeName | string)[];
1166
+ additionalAttributeNames?: QuantumTaskAdditionalAttributeName[];
1167
1167
  }
1168
1168
  /**
1169
1169
  * @public
@@ -1174,7 +1174,7 @@ export interface QuantumTaskQueueInfo {
1174
1174
  * @public
1175
1175
  * <p>The name of the queue. </p>
1176
1176
  */
1177
- queue: QueueName | string | undefined;
1177
+ queue: QueueName | undefined;
1178
1178
  /**
1179
1179
  * @public
1180
1180
  * <p>Current position of the task in the quantum tasks queue.</p>
@@ -1185,7 +1185,7 @@ export interface QuantumTaskQueueInfo {
1185
1185
  * <p>Optional. Specifies the priority of the queue. Quantum tasks in a priority queue
1186
1186
  * are processed before the tasks in a normal queue.</p>
1187
1187
  */
1188
- queuePriority?: QueuePriority | string;
1188
+ queuePriority?: QueuePriority;
1189
1189
  /**
1190
1190
  * @public
1191
1191
  * <p>Optional. Provides more information about the queue position. For example,
@@ -1224,7 +1224,7 @@ export interface GetQuantumTaskResponse {
1224
1224
  * @public
1225
1225
  * <p>The status of the task.</p>
1226
1226
  */
1227
- status: QuantumTaskStatus | string | undefined;
1227
+ status: QuantumTaskStatus | undefined;
1228
1228
  /**
1229
1229
  * @public
1230
1230
  * <p>The reason that a task failed.</p>
@@ -1318,7 +1318,7 @@ export interface SearchQuantumTasksFilter {
1318
1318
  * @public
1319
1319
  * <p>An operator to use in the filter.</p>
1320
1320
  */
1321
- operator: SearchQuantumTasksFilterOperator | string | undefined;
1321
+ operator: SearchQuantumTasksFilterOperator | undefined;
1322
1322
  }
1323
1323
  /**
1324
1324
  * @public
@@ -1355,7 +1355,7 @@ export interface QuantumTaskSummary {
1355
1355
  * @public
1356
1356
  * <p>The status of the task.</p>
1357
1357
  */
1358
- status: QuantumTaskStatus | string | undefined;
1358
+ status: QuantumTaskStatus | undefined;
1359
1359
  /**
1360
1360
  * @public
1361
1361
  * <p>The ARN of the device the task ran on.</p>
@@ -22,7 +22,7 @@ export type CompressionType =
22
22
  export interface ScriptModeConfig {
23
23
  entryPoint: string | undefined;
24
24
  s3Uri: string | undefined;
25
- compressionType?: CompressionType | string;
25
+ compressionType?: CompressionType;
26
26
  }
27
27
  export interface AlgorithmSpecification {
28
28
  scriptModeConfig?: ScriptModeConfig;
@@ -42,9 +42,9 @@ export declare const QueuePriority: {
42
42
  };
43
43
  export type QueuePriority = (typeof QueuePriority)[keyof typeof QueuePriority];
44
44
  export interface DeviceQueueInfo {
45
- queue: QueueName | string | undefined;
45
+ queue: QueueName | undefined;
46
46
  queueSize: string | undefined;
47
- queuePriority?: QueuePriority | string;
47
+ queuePriority?: QueuePriority;
48
48
  }
49
49
  export declare const DeviceStatus: {
50
50
  readonly OFFLINE: "OFFLINE";
@@ -61,8 +61,8 @@ export interface GetDeviceResponse {
61
61
  deviceArn: string | undefined;
62
62
  deviceName: string | undefined;
63
63
  providerName: string | undefined;
64
- deviceType: DeviceType | string | undefined;
65
- deviceStatus: DeviceStatus | string | undefined;
64
+ deviceType: DeviceType | undefined;
65
+ deviceStatus: DeviceStatus | undefined;
66
66
  deviceCapabilities: __LazyJsonString | string | undefined;
67
67
  deviceQueueInfo?: DeviceQueueInfo[];
68
68
  }
@@ -107,8 +107,8 @@ export interface DeviceSummary {
107
107
  deviceArn: string | undefined;
108
108
  deviceName: string | undefined;
109
109
  providerName: string | undefined;
110
- deviceType: DeviceType | string | undefined;
111
- deviceStatus: DeviceStatus | string | undefined;
110
+ deviceType: DeviceType | undefined;
111
+ deviceStatus: DeviceStatus | undefined;
112
112
  }
113
113
  export interface SearchDevicesResponse {
114
114
  devices: DeviceSummary[] | undefined;
@@ -125,7 +125,7 @@ export type CancellationStatus =
125
125
  (typeof CancellationStatus)[keyof typeof CancellationStatus];
126
126
  export interface CancelJobResponse {
127
127
  jobArn: string | undefined;
128
- cancellationStatus: CancellationStatus | string | undefined;
128
+ cancellationStatus: CancellationStatus | undefined;
129
129
  }
130
130
  export declare class ConflictException extends __BaseException {
131
131
  readonly name: "ConflictException";
@@ -193,7 +193,7 @@ export declare const _InstanceType: {
193
193
  };
194
194
  export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
195
195
  export interface InstanceConfig {
196
- instanceType: _InstanceType | string | undefined;
196
+ instanceType: _InstanceType | undefined;
197
197
  volumeSizeInGb: number | undefined;
198
198
  instanceCount?: number;
199
199
  }
@@ -242,7 +242,7 @@ export type HybridJobAdditionalAttributeName =
242
242
  (typeof HybridJobAdditionalAttributeName)[keyof typeof HybridJobAdditionalAttributeName];
243
243
  export interface GetJobRequest {
244
244
  jobArn: string | undefined;
245
- additionalAttributeNames?: (HybridJobAdditionalAttributeName | string)[];
245
+ additionalAttributeNames?: HybridJobAdditionalAttributeName[];
246
246
  }
247
247
  export declare const JobEventType: {
248
248
  readonly CANCELLED: "CANCELLED";
@@ -259,12 +259,12 @@ export declare const JobEventType: {
259
259
  };
260
260
  export type JobEventType = (typeof JobEventType)[keyof typeof JobEventType];
261
261
  export interface JobEventDetails {
262
- eventType?: JobEventType | string;
262
+ eventType?: JobEventType;
263
263
  timeOfEvent?: Date;
264
264
  message?: string;
265
265
  }
266
266
  export interface HybridJobQueueInfo {
267
- queue: QueueName | string | undefined;
267
+ queue: QueueName | undefined;
268
268
  position: string | undefined;
269
269
  message?: string;
270
270
  }
@@ -279,7 +279,7 @@ export declare const JobPrimaryStatus: {
279
279
  export type JobPrimaryStatus =
280
280
  (typeof JobPrimaryStatus)[keyof typeof JobPrimaryStatus];
281
281
  export interface GetJobResponse {
282
- status: JobPrimaryStatus | string | undefined;
282
+ status: JobPrimaryStatus | undefined;
283
283
  jobArn: string | undefined;
284
284
  roleArn: string | undefined;
285
285
  failureReason?: string;
@@ -314,7 +314,7 @@ export type SearchJobsFilterOperator =
314
314
  export interface SearchJobsFilter {
315
315
  name: string | undefined;
316
316
  values: string[] | undefined;
317
- operator: SearchJobsFilterOperator | string | undefined;
317
+ operator: SearchJobsFilterOperator | undefined;
318
318
  }
319
319
  export interface SearchJobsRequest {
320
320
  nextToken?: string;
@@ -322,7 +322,7 @@ export interface SearchJobsRequest {
322
322
  filters: SearchJobsFilter[] | undefined;
323
323
  }
324
324
  export interface JobSummary {
325
- status: JobPrimaryStatus | string | undefined;
325
+ status: JobPrimaryStatus | undefined;
326
326
  jobArn: string | undefined;
327
327
  jobName: string | undefined;
328
328
  device: string | undefined;
@@ -347,7 +347,7 @@ export interface CancelQuantumTaskRequest {
347
347
  }
348
348
  export interface CancelQuantumTaskResponse {
349
349
  quantumTaskArn: string | undefined;
350
- cancellationStatus: CancellationStatus | string | undefined;
350
+ cancellationStatus: CancellationStatus | undefined;
351
351
  }
352
352
  export interface CreateQuantumTaskRequest {
353
353
  clientToken?: string;
@@ -377,12 +377,12 @@ export type QuantumTaskAdditionalAttributeName =
377
377
  (typeof QuantumTaskAdditionalAttributeName)[keyof typeof QuantumTaskAdditionalAttributeName];
378
378
  export interface GetQuantumTaskRequest {
379
379
  quantumTaskArn: string | undefined;
380
- additionalAttributeNames?: (QuantumTaskAdditionalAttributeName | string)[];
380
+ additionalAttributeNames?: QuantumTaskAdditionalAttributeName[];
381
381
  }
382
382
  export interface QuantumTaskQueueInfo {
383
- queue: QueueName | string | undefined;
383
+ queue: QueueName | undefined;
384
384
  position: string | undefined;
385
- queuePriority?: QueuePriority | string;
385
+ queuePriority?: QueuePriority;
386
386
  message?: string;
387
387
  }
388
388
  export declare const QuantumTaskStatus: {
@@ -398,7 +398,7 @@ export type QuantumTaskStatus =
398
398
  (typeof QuantumTaskStatus)[keyof typeof QuantumTaskStatus];
399
399
  export interface GetQuantumTaskResponse {
400
400
  quantumTaskArn: string | undefined;
401
- status: QuantumTaskStatus | string | undefined;
401
+ status: QuantumTaskStatus | undefined;
402
402
  failureReason?: string;
403
403
  deviceArn: string | undefined;
404
404
  deviceParameters: __LazyJsonString | string | undefined;
@@ -424,7 +424,7 @@ export type SearchQuantumTasksFilterOperator =
424
424
  export interface SearchQuantumTasksFilter {
425
425
  name: string | undefined;
426
426
  values: string[] | undefined;
427
- operator: SearchQuantumTasksFilterOperator | string | undefined;
427
+ operator: SearchQuantumTasksFilterOperator | undefined;
428
428
  }
429
429
  export interface SearchQuantumTasksRequest {
430
430
  nextToken?: string;
@@ -433,7 +433,7 @@ export interface SearchQuantumTasksRequest {
433
433
  }
434
434
  export interface QuantumTaskSummary {
435
435
  quantumTaskArn: string | undefined;
436
- status: QuantumTaskStatus | string | undefined;
436
+ status: QuantumTaskStatus | undefined;
437
437
  deviceArn: string | undefined;
438
438
  shots: number | undefined;
439
439
  outputS3Bucket: string | undefined;
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.428.0",
4
+ "version": "3.429.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,9 +21,9 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",