aws-sdk-braket 1.56.0 → 1.57.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.
@@ -54,7 +54,7 @@ module Aws::Braket
54
54
  autoload :EndpointProvider, 'aws-sdk-braket/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-braket/endpoints'
56
56
 
57
- GEM_VERSION = '1.56.0'
57
+ GEM_VERSION = '1.57.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -80,8 +80,8 @@ module Aws
80
80
 
81
81
  interface _CancelJobResponseSuccess
82
82
  include ::Seahorse::Client::_ResponseSuccess[Types::CancelJobResponse]
83
- def cancellation_status: () -> ("CANCELLING" | "CANCELLED")
84
83
  def job_arn: () -> ::String
84
+ def cancellation_status: () -> ("CANCELLING" | "CANCELLED")
85
85
  end
86
86
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#cancel_job-instance_method
87
87
  def cancel_job: (
@@ -91,13 +91,13 @@ module Aws
91
91
 
92
92
  interface _CancelQuantumTaskResponseSuccess
93
93
  include ::Seahorse::Client::_ResponseSuccess[Types::CancelQuantumTaskResponse]
94
- def cancellation_status: () -> ("CANCELLING" | "CANCELLED")
95
94
  def quantum_task_arn: () -> ::String
95
+ def cancellation_status: () -> ("CANCELLING" | "CANCELLED")
96
96
  end
97
97
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#cancel_quantum_task-instance_method
98
98
  def cancel_quantum_task: (
99
- client_token: ::String,
100
- quantum_task_arn: ::String
99
+ quantum_task_arn: ::String,
100
+ client_token: ::String
101
101
  ) -> _CancelQuantumTaskResponseSuccess
102
102
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelQuantumTaskResponseSuccess
103
103
 
@@ -107,31 +107,17 @@ module Aws
107
107
  end
108
108
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#create_job-instance_method
109
109
  def create_job: (
110
+ client_token: ::String,
110
111
  algorithm_specification: {
111
- container_image: {
112
- uri: ::String
113
- }?,
114
112
  script_mode_config: {
115
- compression_type: ("NONE" | "GZIP")?,
116
113
  entry_point: ::String,
117
- s3_uri: ::String
114
+ s3_uri: ::String,
115
+ compression_type: ("NONE" | "GZIP")?
116
+ }?,
117
+ container_image: {
118
+ uri: ::String
118
119
  }?
119
120
  },
120
- ?associations: Array[
121
- {
122
- arn: ::String,
123
- type: ("RESERVATION_TIME_WINDOW_ARN")
124
- },
125
- ],
126
- ?checkpoint_config: {
127
- local_path: ::String?,
128
- s3_uri: ::String
129
- },
130
- client_token: ::String,
131
- device_config: {
132
- device: ::String
133
- },
134
- ?hyper_parameters: Hash[::String, ::String],
135
121
  ?input_data_config: Array[
136
122
  {
137
123
  channel_name: ::String,
@@ -143,21 +129,35 @@ module Aws
143
129
  }
144
130
  },
145
131
  ],
146
- instance_config: {
147
- instance_count: ::Integer?,
148
- instance_type: ("ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.p2.xlarge" | "ml.p2.8xlarge" | "ml.p2.16xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.p4d.24xlarge" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.c5n.xlarge" | "ml.c5n.2xlarge" | "ml.c5n.4xlarge" | "ml.c5n.9xlarge" | "ml.c5n.18xlarge"),
149
- volume_size_in_gb: ::Integer
150
- },
151
- job_name: ::String,
152
132
  output_data_config: {
153
133
  kms_key_id: ::String?,
154
134
  s3_path: ::String
155
135
  },
136
+ ?checkpoint_config: {
137
+ local_path: ::String?,
138
+ s3_uri: ::String
139
+ },
140
+ job_name: ::String,
156
141
  role_arn: ::String,
157
142
  ?stopping_condition: {
158
143
  max_runtime_in_seconds: ::Integer?
159
144
  },
160
- ?tags: Hash[::String, ::String]
145
+ instance_config: {
146
+ instance_type: ("ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.p2.xlarge" | "ml.p2.8xlarge" | "ml.p2.16xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.p4d.24xlarge" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.c5n.xlarge" | "ml.c5n.2xlarge" | "ml.c5n.4xlarge" | "ml.c5n.9xlarge" | "ml.c5n.18xlarge"),
147
+ volume_size_in_gb: ::Integer,
148
+ instance_count: ::Integer?
149
+ },
150
+ ?hyper_parameters: Hash[::String, ::String],
151
+ device_config: {
152
+ device: ::String
153
+ },
154
+ ?tags: Hash[::String, ::String],
155
+ ?associations: Array[
156
+ {
157
+ arn: ::String,
158
+ type: ("RESERVATION_TIME_WINDOW_ARN")
159
+ },
160
+ ]
161
161
  ) -> _CreateJobResponseSuccess
162
162
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateJobResponseSuccess
163
163
 
@@ -167,33 +167,33 @@ module Aws
167
167
  end
168
168
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#create_quantum_task-instance_method
169
169
  def create_quantum_task: (
170
+ client_token: ::String,
171
+ device_arn: ::String,
172
+ ?device_parameters: ::String,
173
+ shots: ::Integer,
174
+ output_s3_bucket: ::String,
175
+ output_s3_key_prefix: ::String,
170
176
  action: ::String,
177
+ ?tags: Hash[::String, ::String],
178
+ ?job_token: ::String,
171
179
  ?associations: Array[
172
180
  {
173
181
  arn: ::String,
174
182
  type: ("RESERVATION_TIME_WINDOW_ARN")
175
183
  },
176
- ],
177
- client_token: ::String,
178
- device_arn: ::String,
179
- ?device_parameters: ::String,
180
- ?job_token: ::String,
181
- output_s3_bucket: ::String,
182
- output_s3_key_prefix: ::String,
183
- shots: ::Integer,
184
- ?tags: Hash[::String, ::String]
184
+ ]
185
185
  ) -> _CreateQuantumTaskResponseSuccess
186
186
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQuantumTaskResponseSuccess
187
187
 
188
188
  interface _GetDeviceResponseSuccess
189
189
  include ::Seahorse::Client::_ResponseSuccess[Types::GetDeviceResponse]
190
190
  def device_arn: () -> ::String
191
- def device_capabilities: () -> ::String
192
191
  def device_name: () -> ::String
193
- def device_queue_info: () -> ::Array[Types::DeviceQueueInfo]
194
- def device_status: () -> ("ONLINE" | "OFFLINE" | "RETIRED")
195
- def device_type: () -> ("QPU" | "SIMULATOR")
196
192
  def provider_name: () -> ::String
193
+ def device_type: () -> ("QPU" | "SIMULATOR")
194
+ def device_status: () -> ("ONLINE" | "OFFLINE" | "RETIRED")
195
+ def device_capabilities: () -> ::String
196
+ def device_queue_info: () -> ::Array[Types::DeviceQueueInfo]
197
197
  end
198
198
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#get_device-instance_method
199
199
  def get_device: (
@@ -203,56 +203,58 @@ module Aws
203
203
 
204
204
  interface _GetJobResponseSuccess
205
205
  include ::Seahorse::Client::_ResponseSuccess[Types::GetJobResponse]
206
- def algorithm_specification: () -> Types::AlgorithmSpecification
207
- def associations: () -> ::Array[Types::Association]
208
- def billable_duration: () -> ::Integer
209
- def checkpoint_config: () -> Types::JobCheckpointConfig
210
- def created_at: () -> ::Time
211
- def device_config: () -> Types::DeviceConfig
212
- def ended_at: () -> ::Time
213
- def events: () -> ::Array[Types::JobEventDetails]
206
+ def status: () -> ("QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
207
+ def job_arn: () -> ::String
208
+ def role_arn: () -> ::String
214
209
  def failure_reason: () -> ::String
210
+ def job_name: () -> ::String
215
211
  def hyper_parameters: () -> ::Hash[::String, ::String]
216
212
  def input_data_config: () -> ::Array[Types::InputFileConfig]
217
- def instance_config: () -> Types::InstanceConfig
218
- def job_arn: () -> ::String
219
- def job_name: () -> ::String
220
213
  def output_data_config: () -> Types::JobOutputDataConfig
221
- def queue_info: () -> Types::HybridJobQueueInfo
222
- def role_arn: () -> ::String
223
- def started_at: () -> ::Time
224
- def status: () -> ("QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
225
214
  def stopping_condition: () -> Types::JobStoppingCondition
215
+ def checkpoint_config: () -> Types::JobCheckpointConfig
216
+ def algorithm_specification: () -> Types::AlgorithmSpecification
217
+ def instance_config: () -> Types::InstanceConfig
218
+ def created_at: () -> ::Time
219
+ def started_at: () -> ::Time
220
+ def ended_at: () -> ::Time
221
+ def billable_duration: () -> ::Integer
222
+ def device_config: () -> Types::DeviceConfig
223
+ def events: () -> ::Array[Types::JobEventDetails]
226
224
  def tags: () -> ::Hash[::String, ::String]
225
+ def queue_info: () -> Types::HybridJobQueueInfo
226
+ def associations: () -> ::Array[Types::Association]
227
227
  end
228
228
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#get_job-instance_method
229
229
  def get_job: (
230
- ?additional_attribute_names: Array[("QueueInfo")],
231
- job_arn: ::String
230
+ job_arn: ::String,
231
+ ?additional_attribute_names: Array[("QueueInfo")]
232
232
  ) -> _GetJobResponseSuccess
233
233
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobResponseSuccess
234
234
 
235
235
  interface _GetQuantumTaskResponseSuccess
236
236
  include ::Seahorse::Client::_ResponseSuccess[Types::GetQuantumTaskResponse]
237
- def associations: () -> ::Array[Types::Association]
238
- def created_at: () -> ::Time
237
+ def quantum_task_arn: () -> ::String
238
+ def status: () -> ("CREATED" | "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
239
+ def failure_reason: () -> ::String
239
240
  def device_arn: () -> ::String
240
241
  def device_parameters: () -> ::String
241
- def ended_at: () -> ::Time
242
- def failure_reason: () -> ::String
243
- def job_arn: () -> ::String
242
+ def shots: () -> ::Integer
244
243
  def output_s3_bucket: () -> ::String
245
244
  def output_s3_directory: () -> ::String
246
- def quantum_task_arn: () -> ::String
247
- def queue_info: () -> Types::QuantumTaskQueueInfo
248
- def shots: () -> ::Integer
249
- def status: () -> ("CREATED" | "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
245
+ def created_at: () -> ::Time
246
+ def ended_at: () -> ::Time
250
247
  def tags: () -> ::Hash[::String, ::String]
248
+ def job_arn: () -> ::String
249
+ def queue_info: () -> Types::QuantumTaskQueueInfo
250
+ def associations: () -> ::Array[Types::Association]
251
+ def num_successful_shots: () -> ::Integer
252
+ def action_metadata: () -> Types::ActionMetadata
251
253
  end
252
254
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#get_quantum_task-instance_method
253
255
  def get_quantum_task: (
254
- ?additional_attribute_names: Array[("QueueInfo")],
255
- quantum_task_arn: ::String
256
+ quantum_task_arn: ::String,
257
+ ?additional_attribute_names: Array[("QueueInfo")]
256
258
  ) -> _GetQuantumTaskResponseSuccess
257
259
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetQuantumTaskResponseSuccess
258
260
 
@@ -273,14 +275,14 @@ module Aws
273
275
  end
274
276
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#search_devices-instance_method
275
277
  def search_devices: (
278
+ ?next_token: ::String,
279
+ ?max_results: ::Integer,
276
280
  filters: Array[
277
281
  {
278
282
  name: ::String,
279
283
  values: Array[::String]
280
284
  },
281
- ],
282
- ?max_results: ::Integer,
283
- ?next_token: ::String
285
+ ]
284
286
  ) -> _SearchDevicesResponseSuccess
285
287
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchDevicesResponseSuccess
286
288
 
@@ -291,34 +293,34 @@ module Aws
291
293
  end
292
294
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#search_jobs-instance_method
293
295
  def search_jobs: (
296
+ ?next_token: ::String,
297
+ ?max_results: ::Integer,
294
298
  filters: Array[
295
299
  {
296
300
  name: ::String,
297
- operator: ("LT" | "LTE" | "EQUAL" | "GT" | "GTE" | "BETWEEN" | "CONTAINS"),
298
- values: Array[::String]
301
+ values: Array[::String],
302
+ operator: ("LT" | "LTE" | "EQUAL" | "GT" | "GTE" | "BETWEEN" | "CONTAINS")
299
303
  },
300
- ],
301
- ?max_results: ::Integer,
302
- ?next_token: ::String
304
+ ]
303
305
  ) -> _SearchJobsResponseSuccess
304
306
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchJobsResponseSuccess
305
307
 
306
308
  interface _SearchQuantumTasksResponseSuccess
307
309
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchQuantumTasksResponse]
308
- def next_token: () -> ::String
309
310
  def quantum_tasks: () -> ::Array[Types::QuantumTaskSummary]
311
+ def next_token: () -> ::String
310
312
  end
311
313
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#search_quantum_tasks-instance_method
312
314
  def search_quantum_tasks: (
315
+ ?next_token: ::String,
316
+ ?max_results: ::Integer,
313
317
  filters: Array[
314
318
  {
315
319
  name: ::String,
316
- operator: ("LT" | "LTE" | "EQUAL" | "GT" | "GTE" | "BETWEEN"),
317
- values: Array[::String]
320
+ values: Array[::String],
321
+ operator: ("LT" | "LTE" | "EQUAL" | "GT" | "GTE" | "BETWEEN")
318
322
  },
319
- ],
320
- ?max_results: ::Integer,
321
- ?next_token: ::String
323
+ ]
322
324
  ) -> _SearchQuantumTasksResponseSuccess
323
325
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchQuantumTasksResponseSuccess
324
326
 
data/sig/errors.rbs CHANGED
@@ -37,6 +37,8 @@ module Aws
37
37
  end
38
38
  class ValidationException < ::Aws::Errors::ServiceError
39
39
  def message: () -> ::String
40
+ def reason: () -> ::String
41
+ def program_set_validation_failures: () -> ::String
40
42
  end
41
43
  end
42
44
  end