aws-sdk-braket 1.0.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.
- checksums.yaml +7 -0
- data/lib/aws-sdk-braket.rb +52 -0
- data/lib/aws-sdk-braket/client.rb +643 -0
- data/lib/aws-sdk-braket/client_api.rb +303 -0
- data/lib/aws-sdk-braket/customizations.rb +0 -0
- data/lib/aws-sdk-braket/errors.rb +166 -0
- data/lib/aws-sdk-braket/resource.rb +26 -0
- data/lib/aws-sdk-braket/types.rb +628 -0
- metadata +88 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::Braket
|
11
|
+
|
12
|
+
class Resource
|
13
|
+
|
14
|
+
# @param options ({})
|
15
|
+
# @option options [Client] :client
|
16
|
+
def initialize(options = {})
|
17
|
+
@client = options[:client] || Client.new(options)
|
18
|
+
end
|
19
|
+
|
20
|
+
# @return [Client]
|
21
|
+
def client
|
22
|
+
@client
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,628 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::Braket
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# You do not have sufficient access to perform this action.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/AccessDeniedException AWS API Documentation
|
19
|
+
#
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
26
|
+
# @note When making an API call, you may pass CancelQuantumTaskRequest
|
27
|
+
# data as a hash:
|
28
|
+
#
|
29
|
+
# {
|
30
|
+
# client_token: "String64", # required
|
31
|
+
# quantum_task_arn: "QuantumTaskArn", # required
|
32
|
+
# }
|
33
|
+
#
|
34
|
+
# @!attribute [rw] client_token
|
35
|
+
# The client token associated with the request.
|
36
|
+
#
|
37
|
+
# **A suitable default value is auto-generated.** You should normally
|
38
|
+
# not need to pass this option.
|
39
|
+
# @return [String]
|
40
|
+
#
|
41
|
+
# @!attribute [rw] quantum_task_arn
|
42
|
+
# The ARN of the task to cancel.
|
43
|
+
# @return [String]
|
44
|
+
#
|
45
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelQuantumTaskRequest AWS API Documentation
|
46
|
+
#
|
47
|
+
class CancelQuantumTaskRequest < Struct.new(
|
48
|
+
:client_token,
|
49
|
+
:quantum_task_arn)
|
50
|
+
SENSITIVE = []
|
51
|
+
include Aws::Structure
|
52
|
+
end
|
53
|
+
|
54
|
+
# @!attribute [rw] cancellation_status
|
55
|
+
# The status of the cancellation request.
|
56
|
+
# @return [String]
|
57
|
+
#
|
58
|
+
# @!attribute [rw] quantum_task_arn
|
59
|
+
# The ARN of the task.
|
60
|
+
# @return [String]
|
61
|
+
#
|
62
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelQuantumTaskResponse AWS API Documentation
|
63
|
+
#
|
64
|
+
class CancelQuantumTaskResponse < Struct.new(
|
65
|
+
:cancellation_status,
|
66
|
+
:quantum_task_arn)
|
67
|
+
SENSITIVE = []
|
68
|
+
include Aws::Structure
|
69
|
+
end
|
70
|
+
|
71
|
+
# An error occurred due to a conflict.
|
72
|
+
#
|
73
|
+
# @!attribute [rw] message
|
74
|
+
# @return [String]
|
75
|
+
#
|
76
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ConflictException AWS API Documentation
|
77
|
+
#
|
78
|
+
class ConflictException < Struct.new(
|
79
|
+
:message)
|
80
|
+
SENSITIVE = []
|
81
|
+
include Aws::Structure
|
82
|
+
end
|
83
|
+
|
84
|
+
# @note When making an API call, you may pass CreateQuantumTaskRequest
|
85
|
+
# data as a hash:
|
86
|
+
#
|
87
|
+
# {
|
88
|
+
# action: "JsonValue", # required
|
89
|
+
# client_token: "String64", # required
|
90
|
+
# device_arn: "DeviceArn", # required
|
91
|
+
# device_parameters: "CreateQuantumTaskRequestdeviceParametersJsonValue",
|
92
|
+
# output_s3_bucket: "CreateQuantumTaskRequestoutputS3BucketString", # required
|
93
|
+
# output_s3_key_prefix: "CreateQuantumTaskRequestoutputS3KeyPrefixString", # required
|
94
|
+
# shots: 1, # required
|
95
|
+
# }
|
96
|
+
#
|
97
|
+
# @!attribute [rw] action
|
98
|
+
# The action associated with the task.
|
99
|
+
# @return [String]
|
100
|
+
#
|
101
|
+
# @!attribute [rw] client_token
|
102
|
+
# The client token associated with the request.
|
103
|
+
#
|
104
|
+
# **A suitable default value is auto-generated.** You should normally
|
105
|
+
# not need to pass this option.
|
106
|
+
# @return [String]
|
107
|
+
#
|
108
|
+
# @!attribute [rw] device_arn
|
109
|
+
# The ARN of the device to run the task on.
|
110
|
+
# @return [String]
|
111
|
+
#
|
112
|
+
# @!attribute [rw] device_parameters
|
113
|
+
# The parameters for the device to run the task on.
|
114
|
+
# @return [String]
|
115
|
+
#
|
116
|
+
# @!attribute [rw] output_s3_bucket
|
117
|
+
# The S3 bucket to store task result files in.
|
118
|
+
# @return [String]
|
119
|
+
#
|
120
|
+
# @!attribute [rw] output_s3_key_prefix
|
121
|
+
# The key prefix for the location in the S3 bucket to store task
|
122
|
+
# results in.
|
123
|
+
# @return [String]
|
124
|
+
#
|
125
|
+
# @!attribute [rw] shots
|
126
|
+
# The number of shots to use for the task.
|
127
|
+
# @return [Integer]
|
128
|
+
#
|
129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateQuantumTaskRequest AWS API Documentation
|
130
|
+
#
|
131
|
+
class CreateQuantumTaskRequest < Struct.new(
|
132
|
+
:action,
|
133
|
+
:client_token,
|
134
|
+
:device_arn,
|
135
|
+
:device_parameters,
|
136
|
+
:output_s3_bucket,
|
137
|
+
:output_s3_key_prefix,
|
138
|
+
:shots)
|
139
|
+
SENSITIVE = []
|
140
|
+
include Aws::Structure
|
141
|
+
end
|
142
|
+
|
143
|
+
# @!attribute [rw] quantum_task_arn
|
144
|
+
# The ARN of the task created by the request.
|
145
|
+
# @return [String]
|
146
|
+
#
|
147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateQuantumTaskResponse AWS API Documentation
|
148
|
+
#
|
149
|
+
class CreateQuantumTaskResponse < Struct.new(
|
150
|
+
:quantum_task_arn)
|
151
|
+
SENSITIVE = []
|
152
|
+
include Aws::Structure
|
153
|
+
end
|
154
|
+
|
155
|
+
# The specified device is currently offline.
|
156
|
+
#
|
157
|
+
# @!attribute [rw] message
|
158
|
+
# @return [String]
|
159
|
+
#
|
160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/DeviceOfflineException AWS API Documentation
|
161
|
+
#
|
162
|
+
class DeviceOfflineException < Struct.new(
|
163
|
+
:message)
|
164
|
+
SENSITIVE = []
|
165
|
+
include Aws::Structure
|
166
|
+
end
|
167
|
+
|
168
|
+
# Includes information about the device.
|
169
|
+
#
|
170
|
+
# @!attribute [rw] device_arn
|
171
|
+
# The ARN of the device.
|
172
|
+
# @return [String]
|
173
|
+
#
|
174
|
+
# @!attribute [rw] device_name
|
175
|
+
# The name of the device.
|
176
|
+
# @return [String]
|
177
|
+
#
|
178
|
+
# @!attribute [rw] device_status
|
179
|
+
# The status of the device.
|
180
|
+
# @return [String]
|
181
|
+
#
|
182
|
+
# @!attribute [rw] device_type
|
183
|
+
# The type of the device.
|
184
|
+
# @return [String]
|
185
|
+
#
|
186
|
+
# @!attribute [rw] provider_name
|
187
|
+
# The provider of the device.
|
188
|
+
# @return [String]
|
189
|
+
#
|
190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/DeviceSummary AWS API Documentation
|
191
|
+
#
|
192
|
+
class DeviceSummary < Struct.new(
|
193
|
+
:device_arn,
|
194
|
+
:device_name,
|
195
|
+
:device_status,
|
196
|
+
:device_type,
|
197
|
+
:provider_name)
|
198
|
+
SENSITIVE = []
|
199
|
+
include Aws::Structure
|
200
|
+
end
|
201
|
+
|
202
|
+
# @note When making an API call, you may pass GetDeviceRequest
|
203
|
+
# data as a hash:
|
204
|
+
#
|
205
|
+
# {
|
206
|
+
# device_arn: "DeviceArn", # required
|
207
|
+
# }
|
208
|
+
#
|
209
|
+
# @!attribute [rw] device_arn
|
210
|
+
# The ARN of the device to retrieve.
|
211
|
+
# @return [String]
|
212
|
+
#
|
213
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetDeviceRequest AWS API Documentation
|
214
|
+
#
|
215
|
+
class GetDeviceRequest < Struct.new(
|
216
|
+
:device_arn)
|
217
|
+
SENSITIVE = []
|
218
|
+
include Aws::Structure
|
219
|
+
end
|
220
|
+
|
221
|
+
# @!attribute [rw] device_arn
|
222
|
+
# The ARN of the device.
|
223
|
+
# @return [String]
|
224
|
+
#
|
225
|
+
# @!attribute [rw] device_capabilities
|
226
|
+
# Details about the capabilities of the device.
|
227
|
+
# @return [String]
|
228
|
+
#
|
229
|
+
# @!attribute [rw] device_name
|
230
|
+
# The name of the device.
|
231
|
+
# @return [String]
|
232
|
+
#
|
233
|
+
# @!attribute [rw] device_status
|
234
|
+
# The status of the device.
|
235
|
+
# @return [String]
|
236
|
+
#
|
237
|
+
# @!attribute [rw] device_type
|
238
|
+
# The type of the device.
|
239
|
+
# @return [String]
|
240
|
+
#
|
241
|
+
# @!attribute [rw] provider_name
|
242
|
+
# The name of the partner company for the device.
|
243
|
+
# @return [String]
|
244
|
+
#
|
245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetDeviceResponse AWS API Documentation
|
246
|
+
#
|
247
|
+
class GetDeviceResponse < Struct.new(
|
248
|
+
:device_arn,
|
249
|
+
:device_capabilities,
|
250
|
+
:device_name,
|
251
|
+
:device_status,
|
252
|
+
:device_type,
|
253
|
+
:provider_name)
|
254
|
+
SENSITIVE = []
|
255
|
+
include Aws::Structure
|
256
|
+
end
|
257
|
+
|
258
|
+
# @note When making an API call, you may pass GetQuantumTaskRequest
|
259
|
+
# data as a hash:
|
260
|
+
#
|
261
|
+
# {
|
262
|
+
# quantum_task_arn: "QuantumTaskArn", # required
|
263
|
+
# }
|
264
|
+
#
|
265
|
+
# @!attribute [rw] quantum_task_arn
|
266
|
+
# the ARN of the task to retrieve.
|
267
|
+
# @return [String]
|
268
|
+
#
|
269
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTaskRequest AWS API Documentation
|
270
|
+
#
|
271
|
+
class GetQuantumTaskRequest < Struct.new(
|
272
|
+
:quantum_task_arn)
|
273
|
+
SENSITIVE = []
|
274
|
+
include Aws::Structure
|
275
|
+
end
|
276
|
+
|
277
|
+
# @!attribute [rw] created_at
|
278
|
+
# The time at which the task was created.
|
279
|
+
# @return [Time]
|
280
|
+
#
|
281
|
+
# @!attribute [rw] device_arn
|
282
|
+
# The ARN of the device the task was run on.
|
283
|
+
# @return [String]
|
284
|
+
#
|
285
|
+
# @!attribute [rw] device_parameters
|
286
|
+
# The parameters for the device on which the task ran.
|
287
|
+
# @return [String]
|
288
|
+
#
|
289
|
+
# @!attribute [rw] ended_at
|
290
|
+
# The time at which the task ended.
|
291
|
+
# @return [Time]
|
292
|
+
#
|
293
|
+
# @!attribute [rw] failure_reason
|
294
|
+
# The reason that a task failed.
|
295
|
+
# @return [String]
|
296
|
+
#
|
297
|
+
# @!attribute [rw] output_s3_bucket
|
298
|
+
# The S3 bucket where task results are stored.
|
299
|
+
# @return [String]
|
300
|
+
#
|
301
|
+
# @!attribute [rw] output_s3_directory
|
302
|
+
# The folder in the S3 bucket where task results are stored.
|
303
|
+
# @return [String]
|
304
|
+
#
|
305
|
+
# @!attribute [rw] quantum_task_arn
|
306
|
+
# The ARN of the task.
|
307
|
+
# @return [String]
|
308
|
+
#
|
309
|
+
# @!attribute [rw] shots
|
310
|
+
# The number of shots used in the task.
|
311
|
+
# @return [Integer]
|
312
|
+
#
|
313
|
+
# @!attribute [rw] status
|
314
|
+
# The status of the task.
|
315
|
+
# @return [String]
|
316
|
+
#
|
317
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTaskResponse AWS API Documentation
|
318
|
+
#
|
319
|
+
class GetQuantumTaskResponse < Struct.new(
|
320
|
+
:created_at,
|
321
|
+
:device_arn,
|
322
|
+
:device_parameters,
|
323
|
+
:ended_at,
|
324
|
+
:failure_reason,
|
325
|
+
:output_s3_bucket,
|
326
|
+
:output_s3_directory,
|
327
|
+
:quantum_task_arn,
|
328
|
+
:shots,
|
329
|
+
:status)
|
330
|
+
SENSITIVE = []
|
331
|
+
include Aws::Structure
|
332
|
+
end
|
333
|
+
|
334
|
+
# The request processing has failed because of an unknown error,
|
335
|
+
# exception or failure.
|
336
|
+
#
|
337
|
+
# @!attribute [rw] message
|
338
|
+
# @return [String]
|
339
|
+
#
|
340
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/InternalServiceException AWS API Documentation
|
341
|
+
#
|
342
|
+
class InternalServiceException < Struct.new(
|
343
|
+
:message)
|
344
|
+
SENSITIVE = []
|
345
|
+
include Aws::Structure
|
346
|
+
end
|
347
|
+
|
348
|
+
# Includes information about a quantum task.
|
349
|
+
#
|
350
|
+
# @!attribute [rw] created_at
|
351
|
+
# The time at which the task was created.
|
352
|
+
# @return [Time]
|
353
|
+
#
|
354
|
+
# @!attribute [rw] device_arn
|
355
|
+
# The ARN of the device the task ran on.
|
356
|
+
# @return [String]
|
357
|
+
#
|
358
|
+
# @!attribute [rw] ended_at
|
359
|
+
# The time at which the task finished.
|
360
|
+
# @return [Time]
|
361
|
+
#
|
362
|
+
# @!attribute [rw] output_s3_bucket
|
363
|
+
# The S3 bucket where the task result file is stored..
|
364
|
+
# @return [String]
|
365
|
+
#
|
366
|
+
# @!attribute [rw] output_s3_directory
|
367
|
+
# The folder in the S3 bucket where the task result file is stored.
|
368
|
+
# @return [String]
|
369
|
+
#
|
370
|
+
# @!attribute [rw] quantum_task_arn
|
371
|
+
# The ARN of the task.
|
372
|
+
# @return [String]
|
373
|
+
#
|
374
|
+
# @!attribute [rw] shots
|
375
|
+
# The shots used for the task.
|
376
|
+
# @return [Integer]
|
377
|
+
#
|
378
|
+
# @!attribute [rw] status
|
379
|
+
# The status of the task.
|
380
|
+
# @return [String]
|
381
|
+
#
|
382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/QuantumTaskSummary AWS API Documentation
|
383
|
+
#
|
384
|
+
class QuantumTaskSummary < Struct.new(
|
385
|
+
:created_at,
|
386
|
+
:device_arn,
|
387
|
+
:ended_at,
|
388
|
+
:output_s3_bucket,
|
389
|
+
:output_s3_directory,
|
390
|
+
:quantum_task_arn,
|
391
|
+
:shots,
|
392
|
+
:status)
|
393
|
+
SENSITIVE = []
|
394
|
+
include Aws::Structure
|
395
|
+
end
|
396
|
+
|
397
|
+
# The specified resource was not found.
|
398
|
+
#
|
399
|
+
# @!attribute [rw] message
|
400
|
+
# @return [String]
|
401
|
+
#
|
402
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ResourceNotFoundException AWS API Documentation
|
403
|
+
#
|
404
|
+
class ResourceNotFoundException < Struct.new(
|
405
|
+
:message)
|
406
|
+
SENSITIVE = []
|
407
|
+
include Aws::Structure
|
408
|
+
end
|
409
|
+
|
410
|
+
# The filter to use for searching devices.
|
411
|
+
#
|
412
|
+
# @note When making an API call, you may pass SearchDevicesFilter
|
413
|
+
# data as a hash:
|
414
|
+
#
|
415
|
+
# {
|
416
|
+
# name: "SearchDevicesFilternameString", # required
|
417
|
+
# values: ["String256"], # required
|
418
|
+
# }
|
419
|
+
#
|
420
|
+
# @!attribute [rw] name
|
421
|
+
# The name to use to filter results.
|
422
|
+
# @return [String]
|
423
|
+
#
|
424
|
+
# @!attribute [rw] values
|
425
|
+
# The values to use to filter results.
|
426
|
+
# @return [Array<String>]
|
427
|
+
#
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchDevicesFilter AWS API Documentation
|
429
|
+
#
|
430
|
+
class SearchDevicesFilter < Struct.new(
|
431
|
+
:name,
|
432
|
+
:values)
|
433
|
+
SENSITIVE = []
|
434
|
+
include Aws::Structure
|
435
|
+
end
|
436
|
+
|
437
|
+
# @note When making an API call, you may pass SearchDevicesRequest
|
438
|
+
# data as a hash:
|
439
|
+
#
|
440
|
+
# {
|
441
|
+
# filters: [ # required
|
442
|
+
# {
|
443
|
+
# name: "SearchDevicesFilternameString", # required
|
444
|
+
# values: ["String256"], # required
|
445
|
+
# },
|
446
|
+
# ],
|
447
|
+
# max_results: 1,
|
448
|
+
# next_token: "String",
|
449
|
+
# }
|
450
|
+
#
|
451
|
+
# @!attribute [rw] filters
|
452
|
+
# The filter values to use to search for a device.
|
453
|
+
# @return [Array<Types::SearchDevicesFilter>]
|
454
|
+
#
|
455
|
+
# @!attribute [rw] max_results
|
456
|
+
# The maximum number of results to return in the response.
|
457
|
+
# @return [Integer]
|
458
|
+
#
|
459
|
+
# @!attribute [rw] next_token
|
460
|
+
# A token used for pagination of results returned in the response. Use
|
461
|
+
# the token returned from the previous request continue results where
|
462
|
+
# the previous request ended.
|
463
|
+
# @return [String]
|
464
|
+
#
|
465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchDevicesRequest AWS API Documentation
|
466
|
+
#
|
467
|
+
class SearchDevicesRequest < Struct.new(
|
468
|
+
:filters,
|
469
|
+
:max_results,
|
470
|
+
:next_token)
|
471
|
+
SENSITIVE = []
|
472
|
+
include Aws::Structure
|
473
|
+
end
|
474
|
+
|
475
|
+
# @!attribute [rw] devices
|
476
|
+
# An array of `DeviceSummary` objects for devices that match the
|
477
|
+
# specified filter values.
|
478
|
+
# @return [Array<Types::DeviceSummary>]
|
479
|
+
#
|
480
|
+
# @!attribute [rw] next_token
|
481
|
+
# A token used for pagination of results, or null if there are no
|
482
|
+
# additional results. Use the token value in a subsequent request to
|
483
|
+
# continue results where the previous request ended.
|
484
|
+
# @return [String]
|
485
|
+
#
|
486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchDevicesResponse AWS API Documentation
|
487
|
+
#
|
488
|
+
class SearchDevicesResponse < Struct.new(
|
489
|
+
:devices,
|
490
|
+
:next_token)
|
491
|
+
SENSITIVE = []
|
492
|
+
include Aws::Structure
|
493
|
+
end
|
494
|
+
|
495
|
+
# A filter to use to search for tasks.
|
496
|
+
#
|
497
|
+
# @note When making an API call, you may pass SearchQuantumTasksFilter
|
498
|
+
# data as a hash:
|
499
|
+
#
|
500
|
+
# {
|
501
|
+
# name: "String64", # required
|
502
|
+
# operator: "BETWEEN", # required, accepts BETWEEN, EQUAL, GT, GTE, LT, LTE
|
503
|
+
# values: ["String256"], # required
|
504
|
+
# }
|
505
|
+
#
|
506
|
+
# @!attribute [rw] name
|
507
|
+
# The name of the device used for the task.
|
508
|
+
# @return [String]
|
509
|
+
#
|
510
|
+
# @!attribute [rw] operator
|
511
|
+
# An operator to use in the filter.
|
512
|
+
# @return [String]
|
513
|
+
#
|
514
|
+
# @!attribute [rw] values
|
515
|
+
# The values to use for the filter.
|
516
|
+
# @return [Array<String>]
|
517
|
+
#
|
518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchQuantumTasksFilter AWS API Documentation
|
519
|
+
#
|
520
|
+
class SearchQuantumTasksFilter < Struct.new(
|
521
|
+
:name,
|
522
|
+
:operator,
|
523
|
+
:values)
|
524
|
+
SENSITIVE = []
|
525
|
+
include Aws::Structure
|
526
|
+
end
|
527
|
+
|
528
|
+
# @note When making an API call, you may pass SearchQuantumTasksRequest
|
529
|
+
# data as a hash:
|
530
|
+
#
|
531
|
+
# {
|
532
|
+
# filters: [ # required
|
533
|
+
# {
|
534
|
+
# name: "String64", # required
|
535
|
+
# operator: "BETWEEN", # required, accepts BETWEEN, EQUAL, GT, GTE, LT, LTE
|
536
|
+
# values: ["String256"], # required
|
537
|
+
# },
|
538
|
+
# ],
|
539
|
+
# max_results: 1,
|
540
|
+
# next_token: "String",
|
541
|
+
# }
|
542
|
+
#
|
543
|
+
# @!attribute [rw] filters
|
544
|
+
# Array of `SearchQuantumTasksFilter` objects.
|
545
|
+
# @return [Array<Types::SearchQuantumTasksFilter>]
|
546
|
+
#
|
547
|
+
# @!attribute [rw] max_results
|
548
|
+
# Maximum number of results to return in the response.
|
549
|
+
# @return [Integer]
|
550
|
+
#
|
551
|
+
# @!attribute [rw] next_token
|
552
|
+
# A token used for pagination of results returned in the response. Use
|
553
|
+
# the token returned from the previous request continue results where
|
554
|
+
# the previous request ended.
|
555
|
+
# @return [String]
|
556
|
+
#
|
557
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchQuantumTasksRequest AWS API Documentation
|
558
|
+
#
|
559
|
+
class SearchQuantumTasksRequest < Struct.new(
|
560
|
+
:filters,
|
561
|
+
:max_results,
|
562
|
+
:next_token)
|
563
|
+
SENSITIVE = []
|
564
|
+
include Aws::Structure
|
565
|
+
end
|
566
|
+
|
567
|
+
# @!attribute [rw] next_token
|
568
|
+
# A token used for pagination of results, or null if there are no
|
569
|
+
# additional results. Use the token value in a subsequent request to
|
570
|
+
# continue results where the previous request ended.
|
571
|
+
# @return [String]
|
572
|
+
#
|
573
|
+
# @!attribute [rw] quantum_tasks
|
574
|
+
# An array of `QuantumTaskSummary` objects for tasks that match the
|
575
|
+
# specified filters.
|
576
|
+
# @return [Array<Types::QuantumTaskSummary>]
|
577
|
+
#
|
578
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchQuantumTasksResponse AWS API Documentation
|
579
|
+
#
|
580
|
+
class SearchQuantumTasksResponse < Struct.new(
|
581
|
+
:next_token,
|
582
|
+
:quantum_tasks)
|
583
|
+
SENSITIVE = []
|
584
|
+
include Aws::Structure
|
585
|
+
end
|
586
|
+
|
587
|
+
# The request failed because a service quota is met.
|
588
|
+
#
|
589
|
+
# @!attribute [rw] message
|
590
|
+
# @return [String]
|
591
|
+
#
|
592
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ServiceQuotaExceededException AWS API Documentation
|
593
|
+
#
|
594
|
+
class ServiceQuotaExceededException < Struct.new(
|
595
|
+
:message)
|
596
|
+
SENSITIVE = []
|
597
|
+
include Aws::Structure
|
598
|
+
end
|
599
|
+
|
600
|
+
# The throttling rate limit is met.
|
601
|
+
#
|
602
|
+
# @!attribute [rw] message
|
603
|
+
# @return [String]
|
604
|
+
#
|
605
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ThrottlingException AWS API Documentation
|
606
|
+
#
|
607
|
+
class ThrottlingException < Struct.new(
|
608
|
+
:message)
|
609
|
+
SENSITIVE = []
|
610
|
+
include Aws::Structure
|
611
|
+
end
|
612
|
+
|
613
|
+
# The input fails to satisfy the constraints specified by an AWS
|
614
|
+
# service.
|
615
|
+
#
|
616
|
+
# @!attribute [rw] message
|
617
|
+
# @return [String]
|
618
|
+
#
|
619
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ValidationException AWS API Documentation
|
620
|
+
#
|
621
|
+
class ValidationException < Struct.new(
|
622
|
+
:message)
|
623
|
+
SENSITIVE = []
|
624
|
+
include Aws::Structure
|
625
|
+
end
|
626
|
+
|
627
|
+
end
|
628
|
+
end
|