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.
@@ -15,6 +15,7 @@ module Aws::Braket
15
15
  include Seahorse::Model
16
16
 
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ ActionMetadata = Shapes::StructureShape.new(name: 'ActionMetadata')
18
19
  AlgorithmSpecification = Shapes::StructureShape.new(name: 'AlgorithmSpecification')
19
20
  Association = Shapes::StructureShape.new(name: 'Association')
20
21
  AssociationType = Shapes::StringShape.new(name: 'AssociationType')
@@ -89,6 +90,9 @@ module Aws::Braket
89
90
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
90
91
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
91
92
  Long = Shapes::IntegerShape.new(name: 'Long')
93
+ ProgramSetValidationFailure = Shapes::StructureShape.new(name: 'ProgramSetValidationFailure')
94
+ ProgramSetValidationFailuresList = Shapes::ListShape.new(name: 'ProgramSetValidationFailuresList')
95
+ ProgramValidationFailuresList = Shapes::ListShape.new(name: 'ProgramValidationFailuresList')
92
96
  QuantumTaskAdditionalAttributeName = Shapes::StringShape.new(name: 'QuantumTaskAdditionalAttributeName')
93
97
  QuantumTaskAdditionalAttributeNamesList = Shapes::ListShape.new(name: 'QuantumTaskAdditionalAttributeNamesList')
94
98
  QuantumTaskArn = Shapes::StringShape.new(name: 'QuantumTaskArn')
@@ -141,12 +145,18 @@ module Aws::Braket
141
145
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
142
146
  Uri = Shapes::StringShape.new(name: 'Uri')
143
147
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
148
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
144
149
 
145
150
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
146
151
  AccessDeniedException.struct_class = Types::AccessDeniedException
147
152
 
148
- AlgorithmSpecification.add_member(:container_image, Shapes::ShapeRef.new(shape: ContainerImage, location_name: "containerImage"))
153
+ ActionMetadata.add_member(:action_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "actionType"))
154
+ ActionMetadata.add_member(:program_count, Shapes::ShapeRef.new(shape: Long, location_name: "programCount"))
155
+ ActionMetadata.add_member(:executable_count, Shapes::ShapeRef.new(shape: Long, location_name: "executableCount"))
156
+ ActionMetadata.struct_class = Types::ActionMetadata
157
+
149
158
  AlgorithmSpecification.add_member(:script_mode_config, Shapes::ShapeRef.new(shape: ScriptModeConfig, location_name: "scriptModeConfig"))
159
+ AlgorithmSpecification.add_member(:container_image, Shapes::ShapeRef.new(shape: ContainerImage, location_name: "containerImage"))
150
160
  AlgorithmSpecification.struct_class = Types::AlgorithmSpecification
151
161
 
152
162
  Association.add_member(:arn, Shapes::ShapeRef.new(shape: BraketResourceArn, required: true, location_name: "arn"))
@@ -158,16 +168,16 @@ module Aws::Braket
158
168
  CancelJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location: "uri", location_name: "jobArn"))
159
169
  CancelJobRequest.struct_class = Types::CancelJobRequest
160
170
 
161
- CancelJobResponse.add_member(:cancellation_status, Shapes::ShapeRef.new(shape: CancellationStatus, required: true, location_name: "cancellationStatus"))
162
171
  CancelJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
172
+ CancelJobResponse.add_member(:cancellation_status, Shapes::ShapeRef.new(shape: CancellationStatus, required: true, location_name: "cancellationStatus"))
163
173
  CancelJobResponse.struct_class = Types::CancelJobResponse
164
174
 
165
- CancelQuantumTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
166
175
  CancelQuantumTaskRequest.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location: "uri", location_name: "quantumTaskArn"))
176
+ CancelQuantumTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
167
177
  CancelQuantumTaskRequest.struct_class = Types::CancelQuantumTaskRequest
168
178
 
169
- CancelQuantumTaskResponse.add_member(:cancellation_status, Shapes::ShapeRef.new(shape: CancellationStatus, required: true, location_name: "cancellationStatus"))
170
179
  CancelQuantumTaskResponse.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
180
+ CancelQuantumTaskResponse.add_member(:cancellation_status, Shapes::ShapeRef.new(shape: CancellationStatus, required: true, location_name: "cancellationStatus"))
171
181
  CancelQuantumTaskResponse.struct_class = Types::CancelQuantumTaskResponse
172
182
 
173
183
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -176,19 +186,19 @@ module Aws::Braket
176
186
  ContainerImage.add_member(:uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "uri"))
177
187
  ContainerImage.struct_class = Types::ContainerImage
178
188
 
179
- CreateJobRequest.add_member(:algorithm_specification, Shapes::ShapeRef.new(shape: AlgorithmSpecification, required: true, location_name: "algorithmSpecification"))
180
- CreateJobRequest.add_member(:associations, Shapes::ShapeRef.new(shape: CreateJobRequestAssociationsList, location_name: "associations"))
181
- CreateJobRequest.add_member(:checkpoint_config, Shapes::ShapeRef.new(shape: JobCheckpointConfig, location_name: "checkpointConfig"))
182
189
  CreateJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
183
- CreateJobRequest.add_member(:device_config, Shapes::ShapeRef.new(shape: DeviceConfig, required: true, location_name: "deviceConfig"))
184
- CreateJobRequest.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "hyperParameters"))
190
+ CreateJobRequest.add_member(:algorithm_specification, Shapes::ShapeRef.new(shape: AlgorithmSpecification, required: true, location_name: "algorithmSpecification"))
185
191
  CreateJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: CreateJobRequestInputDataConfigList, location_name: "inputDataConfig"))
186
- CreateJobRequest.add_member(:instance_config, Shapes::ShapeRef.new(shape: InstanceConfig, required: true, location_name: "instanceConfig"))
187
- CreateJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: CreateJobRequestJobNameString, required: true, location_name: "jobName"))
188
192
  CreateJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: JobOutputDataConfig, required: true, location_name: "outputDataConfig"))
193
+ CreateJobRequest.add_member(:checkpoint_config, Shapes::ShapeRef.new(shape: JobCheckpointConfig, location_name: "checkpointConfig"))
194
+ CreateJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: CreateJobRequestJobNameString, required: true, location_name: "jobName"))
189
195
  CreateJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
190
196
  CreateJobRequest.add_member(:stopping_condition, Shapes::ShapeRef.new(shape: JobStoppingCondition, location_name: "stoppingCondition"))
197
+ CreateJobRequest.add_member(:instance_config, Shapes::ShapeRef.new(shape: InstanceConfig, required: true, location_name: "instanceConfig"))
198
+ CreateJobRequest.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "hyperParameters"))
199
+ CreateJobRequest.add_member(:device_config, Shapes::ShapeRef.new(shape: DeviceConfig, required: true, location_name: "deviceConfig"))
191
200
  CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
201
+ CreateJobRequest.add_member(:associations, Shapes::ShapeRef.new(shape: CreateJobRequestAssociationsList, location_name: "associations"))
192
202
  CreateJobRequest.struct_class = Types::CreateJobRequest
193
203
 
194
204
  CreateJobRequestAssociationsList.member = Shapes::ShapeRef.new(shape: Association)
@@ -198,16 +208,16 @@ module Aws::Braket
198
208
  CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
199
209
  CreateJobResponse.struct_class = Types::CreateJobResponse
200
210
 
201
- CreateQuantumTaskRequest.add_member(:action, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "action", metadata: {"jsonvalue" => true}))
202
- CreateQuantumTaskRequest.add_member(:associations, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestAssociationsList, location_name: "associations"))
203
211
  CreateQuantumTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
204
212
  CreateQuantumTaskRequest.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
205
213
  CreateQuantumTaskRequest.add_member(:device_parameters, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestDeviceParametersString, location_name: "deviceParameters", metadata: {"jsonvalue" => true}))
206
- CreateQuantumTaskRequest.add_member(:job_token, Shapes::ShapeRef.new(shape: JobToken, location_name: "jobToken"))
214
+ CreateQuantumTaskRequest.add_member(:shots, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestShotsLong, required: true, location_name: "shots"))
207
215
  CreateQuantumTaskRequest.add_member(:output_s3_bucket, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestOutputS3BucketString, required: true, location_name: "outputS3Bucket"))
208
216
  CreateQuantumTaskRequest.add_member(:output_s3_key_prefix, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestOutputS3KeyPrefixString, required: true, location_name: "outputS3KeyPrefix"))
209
- CreateQuantumTaskRequest.add_member(:shots, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestShotsLong, required: true, location_name: "shots"))
217
+ CreateQuantumTaskRequest.add_member(:action, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "action", metadata: {"jsonvalue" => true}))
210
218
  CreateQuantumTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
219
+ CreateQuantumTaskRequest.add_member(:job_token, Shapes::ShapeRef.new(shape: JobToken, location_name: "jobToken"))
220
+ CreateQuantumTaskRequest.add_member(:associations, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestAssociationsList, location_name: "associations"))
211
221
  CreateQuantumTaskRequest.struct_class = Types::CreateQuantumTaskRequest
212
222
 
213
223
  CreateQuantumTaskRequestAssociationsList.member = Shapes::ShapeRef.new(shape: Association)
@@ -225,8 +235,8 @@ module Aws::Braket
225
235
  DeviceOfflineException.struct_class = Types::DeviceOfflineException
226
236
 
227
237
  DeviceQueueInfo.add_member(:queue, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "queue"))
228
- DeviceQueueInfo.add_member(:queue_priority, Shapes::ShapeRef.new(shape: QueuePriority, location_name: "queuePriority"))
229
238
  DeviceQueueInfo.add_member(:queue_size, Shapes::ShapeRef.new(shape: String, required: true, location_name: "queueSize"))
239
+ DeviceQueueInfo.add_member(:queue_priority, Shapes::ShapeRef.new(shape: QueuePriority, location_name: "queuePriority"))
230
240
  DeviceQueueInfo.struct_class = Types::DeviceQueueInfo
231
241
 
232
242
  DeviceQueueInfoList.member = Shapes::ShapeRef.new(shape: DeviceQueueInfo)
@@ -236,9 +246,9 @@ module Aws::Braket
236
246
 
237
247
  DeviceSummary.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
238
248
  DeviceSummary.add_member(:device_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "deviceName"))
239
- DeviceSummary.add_member(:device_status, Shapes::ShapeRef.new(shape: DeviceStatus, required: true, location_name: "deviceStatus"))
240
- DeviceSummary.add_member(:device_type, Shapes::ShapeRef.new(shape: DeviceType, required: true, location_name: "deviceType"))
241
249
  DeviceSummary.add_member(:provider_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "providerName"))
250
+ DeviceSummary.add_member(:device_type, Shapes::ShapeRef.new(shape: DeviceType, required: true, location_name: "deviceType"))
251
+ DeviceSummary.add_member(:device_status, Shapes::ShapeRef.new(shape: DeviceStatus, required: true, location_name: "deviceStatus"))
242
252
  DeviceSummary.struct_class = Types::DeviceSummary
243
253
 
244
254
  DeviceSummaryList.member = Shapes::ShapeRef.new(shape: DeviceSummary)
@@ -247,66 +257,68 @@ module Aws::Braket
247
257
  GetDeviceRequest.struct_class = Types::GetDeviceRequest
248
258
 
249
259
  GetDeviceResponse.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
250
- GetDeviceResponse.add_member(:device_capabilities, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "deviceCapabilities", metadata: {"jsonvalue" => true}))
251
260
  GetDeviceResponse.add_member(:device_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "deviceName"))
252
- GetDeviceResponse.add_member(:device_queue_info, Shapes::ShapeRef.new(shape: DeviceQueueInfoList, location_name: "deviceQueueInfo"))
253
- GetDeviceResponse.add_member(:device_status, Shapes::ShapeRef.new(shape: DeviceStatus, required: true, location_name: "deviceStatus"))
254
- GetDeviceResponse.add_member(:device_type, Shapes::ShapeRef.new(shape: DeviceType, required: true, location_name: "deviceType"))
255
261
  GetDeviceResponse.add_member(:provider_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "providerName"))
262
+ GetDeviceResponse.add_member(:device_type, Shapes::ShapeRef.new(shape: DeviceType, required: true, location_name: "deviceType"))
263
+ GetDeviceResponse.add_member(:device_status, Shapes::ShapeRef.new(shape: DeviceStatus, required: true, location_name: "deviceStatus"))
264
+ GetDeviceResponse.add_member(:device_capabilities, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "deviceCapabilities", metadata: {"jsonvalue" => true}))
265
+ GetDeviceResponse.add_member(:device_queue_info, Shapes::ShapeRef.new(shape: DeviceQueueInfoList, location_name: "deviceQueueInfo"))
256
266
  GetDeviceResponse.struct_class = Types::GetDeviceResponse
257
267
 
258
- GetJobRequest.add_member(:additional_attribute_names, Shapes::ShapeRef.new(shape: HybridJobAdditionalAttributeNamesList, location: "querystring", location_name: "additionalAttributeNames"))
259
268
  GetJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location: "uri", location_name: "jobArn"))
269
+ GetJobRequest.add_member(:additional_attribute_names, Shapes::ShapeRef.new(shape: HybridJobAdditionalAttributeNamesList, location: "querystring", location_name: "additionalAttributeNames"))
260
270
  GetJobRequest.struct_class = Types::GetJobRequest
261
271
 
262
- GetJobResponse.add_member(:algorithm_specification, Shapes::ShapeRef.new(shape: AlgorithmSpecification, required: true, location_name: "algorithmSpecification"))
263
- GetJobResponse.add_member(:associations, Shapes::ShapeRef.new(shape: Associations, location_name: "associations"))
264
- GetJobResponse.add_member(:billable_duration, Shapes::ShapeRef.new(shape: Integer, location_name: "billableDuration"))
265
- GetJobResponse.add_member(:checkpoint_config, Shapes::ShapeRef.new(shape: JobCheckpointConfig, location_name: "checkpointConfig"))
266
- GetJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
267
- GetJobResponse.add_member(:device_config, Shapes::ShapeRef.new(shape: DeviceConfig, location_name: "deviceConfig"))
268
- GetJobResponse.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
269
- GetJobResponse.add_member(:events, Shapes::ShapeRef.new(shape: JobEvents, location_name: "events"))
272
+ GetJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: JobPrimaryStatus, required: true, location_name: "status"))
273
+ GetJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
274
+ GetJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
270
275
  GetJobResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String1024, location_name: "failureReason"))
276
+ GetJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: GetJobResponseJobNameString, required: true, location_name: "jobName"))
271
277
  GetJobResponse.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "hyperParameters"))
272
278
  GetJobResponse.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputConfigList, location_name: "inputDataConfig"))
273
- GetJobResponse.add_member(:instance_config, Shapes::ShapeRef.new(shape: InstanceConfig, required: true, location_name: "instanceConfig"))
274
- GetJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
275
- GetJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: GetJobResponseJobNameString, required: true, location_name: "jobName"))
276
279
  GetJobResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: JobOutputDataConfig, required: true, location_name: "outputDataConfig"))
277
- GetJobResponse.add_member(:queue_info, Shapes::ShapeRef.new(shape: HybridJobQueueInfo, location_name: "queueInfo"))
278
- GetJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
279
- GetJobResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "startedAt"))
280
- GetJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: JobPrimaryStatus, required: true, location_name: "status"))
281
280
  GetJobResponse.add_member(:stopping_condition, Shapes::ShapeRef.new(shape: JobStoppingCondition, location_name: "stoppingCondition"))
281
+ GetJobResponse.add_member(:checkpoint_config, Shapes::ShapeRef.new(shape: JobCheckpointConfig, location_name: "checkpointConfig"))
282
+ GetJobResponse.add_member(:algorithm_specification, Shapes::ShapeRef.new(shape: AlgorithmSpecification, required: true, location_name: "algorithmSpecification"))
283
+ GetJobResponse.add_member(:instance_config, Shapes::ShapeRef.new(shape: InstanceConfig, required: true, location_name: "instanceConfig"))
284
+ GetJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
285
+ GetJobResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "startedAt"))
286
+ GetJobResponse.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
287
+ GetJobResponse.add_member(:billable_duration, Shapes::ShapeRef.new(shape: Integer, location_name: "billableDuration"))
288
+ GetJobResponse.add_member(:device_config, Shapes::ShapeRef.new(shape: DeviceConfig, location_name: "deviceConfig"))
289
+ GetJobResponse.add_member(:events, Shapes::ShapeRef.new(shape: JobEvents, location_name: "events"))
282
290
  GetJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
291
+ GetJobResponse.add_member(:queue_info, Shapes::ShapeRef.new(shape: HybridJobQueueInfo, location_name: "queueInfo"))
292
+ GetJobResponse.add_member(:associations, Shapes::ShapeRef.new(shape: Associations, location_name: "associations"))
283
293
  GetJobResponse.struct_class = Types::GetJobResponse
284
294
 
285
- GetQuantumTaskRequest.add_member(:additional_attribute_names, Shapes::ShapeRef.new(shape: QuantumTaskAdditionalAttributeNamesList, location: "querystring", location_name: "additionalAttributeNames"))
286
295
  GetQuantumTaskRequest.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location: "uri", location_name: "quantumTaskArn"))
296
+ GetQuantumTaskRequest.add_member(:additional_attribute_names, Shapes::ShapeRef.new(shape: QuantumTaskAdditionalAttributeNamesList, location: "querystring", location_name: "additionalAttributeNames"))
287
297
  GetQuantumTaskRequest.struct_class = Types::GetQuantumTaskRequest
288
298
 
289
- GetQuantumTaskResponse.add_member(:associations, Shapes::ShapeRef.new(shape: Associations, location_name: "associations"))
290
- GetQuantumTaskResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
299
+ GetQuantumTaskResponse.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
300
+ GetQuantumTaskResponse.add_member(:status, Shapes::ShapeRef.new(shape: QuantumTaskStatus, required: true, location_name: "status"))
301
+ GetQuantumTaskResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "failureReason"))
291
302
  GetQuantumTaskResponse.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
292
303
  GetQuantumTaskResponse.add_member(:device_parameters, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "deviceParameters", metadata: {"jsonvalue" => true}))
293
- GetQuantumTaskResponse.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
294
- GetQuantumTaskResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "failureReason"))
295
- GetQuantumTaskResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
304
+ GetQuantumTaskResponse.add_member(:shots, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "shots"))
296
305
  GetQuantumTaskResponse.add_member(:output_s3_bucket, Shapes::ShapeRef.new(shape: String, required: true, location_name: "outputS3Bucket"))
297
306
  GetQuantumTaskResponse.add_member(:output_s3_directory, Shapes::ShapeRef.new(shape: String, required: true, location_name: "outputS3Directory"))
298
- GetQuantumTaskResponse.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
299
- GetQuantumTaskResponse.add_member(:queue_info, Shapes::ShapeRef.new(shape: QuantumTaskQueueInfo, location_name: "queueInfo"))
300
- GetQuantumTaskResponse.add_member(:shots, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "shots"))
301
- GetQuantumTaskResponse.add_member(:status, Shapes::ShapeRef.new(shape: QuantumTaskStatus, required: true, location_name: "status"))
307
+ GetQuantumTaskResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
308
+ GetQuantumTaskResponse.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
302
309
  GetQuantumTaskResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
310
+ GetQuantumTaskResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
311
+ GetQuantumTaskResponse.add_member(:queue_info, Shapes::ShapeRef.new(shape: QuantumTaskQueueInfo, location_name: "queueInfo"))
312
+ GetQuantumTaskResponse.add_member(:associations, Shapes::ShapeRef.new(shape: Associations, location_name: "associations"))
313
+ GetQuantumTaskResponse.add_member(:num_successful_shots, Shapes::ShapeRef.new(shape: Long, location_name: "numSuccessfulShots"))
314
+ GetQuantumTaskResponse.add_member(:action_metadata, Shapes::ShapeRef.new(shape: ActionMetadata, location_name: "actionMetadata"))
303
315
  GetQuantumTaskResponse.struct_class = Types::GetQuantumTaskResponse
304
316
 
305
317
  HybridJobAdditionalAttributeNamesList.member = Shapes::ShapeRef.new(shape: HybridJobAdditionalAttributeName)
306
318
 
307
- HybridJobQueueInfo.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
308
- HybridJobQueueInfo.add_member(:position, Shapes::ShapeRef.new(shape: String, required: true, location_name: "position"))
309
319
  HybridJobQueueInfo.add_member(:queue, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "queue"))
320
+ HybridJobQueueInfo.add_member(:position, Shapes::ShapeRef.new(shape: String, required: true, location_name: "position"))
321
+ HybridJobQueueInfo.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
310
322
  HybridJobQueueInfo.struct_class = Types::HybridJobQueueInfo
311
323
 
312
324
  HyperParameters.key = Shapes::ShapeRef.new(shape: String256)
@@ -319,9 +331,9 @@ module Aws::Braket
319
331
  InputFileConfig.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
320
332
  InputFileConfig.struct_class = Types::InputFileConfig
321
333
 
322
- InstanceConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceConfigInstanceCountInteger, location_name: "instanceCount"))
323
334
  InstanceConfig.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
324
335
  InstanceConfig.add_member(:volume_size_in_gb, Shapes::ShapeRef.new(shape: InstanceConfigVolumeSizeInGbInteger, required: true, location_name: "volumeSizeInGb"))
336
+ InstanceConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceConfigInstanceCountInteger, location_name: "instanceCount"))
325
337
  InstanceConfig.struct_class = Types::InstanceConfig
326
338
 
327
339
  InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -332,8 +344,8 @@ module Aws::Braket
332
344
  JobCheckpointConfig.struct_class = Types::JobCheckpointConfig
333
345
 
334
346
  JobEventDetails.add_member(:event_type, Shapes::ShapeRef.new(shape: JobEventType, location_name: "eventType"))
335
- JobEventDetails.add_member(:message, Shapes::ShapeRef.new(shape: JobEventDetailsMessageString, location_name: "message"))
336
347
  JobEventDetails.add_member(:time_of_event, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "timeOfEvent"))
348
+ JobEventDetails.add_member(:message, Shapes::ShapeRef.new(shape: JobEventDetailsMessageString, location_name: "message"))
337
349
  JobEventDetails.struct_class = Types::JobEventDetails
338
350
 
339
351
  JobEvents.member = Shapes::ShapeRef.new(shape: JobEventDetails)
@@ -345,13 +357,13 @@ module Aws::Braket
345
357
  JobStoppingCondition.add_member(:max_runtime_in_seconds, Shapes::ShapeRef.new(shape: JobStoppingConditionMaxRuntimeInSecondsInteger, location_name: "maxRuntimeInSeconds"))
346
358
  JobStoppingCondition.struct_class = Types::JobStoppingCondition
347
359
 
348
- JobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
349
- JobSummary.add_member(:device, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "device"))
350
- JobSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
360
+ JobSummary.add_member(:status, Shapes::ShapeRef.new(shape: JobPrimaryStatus, required: true, location_name: "status"))
351
361
  JobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
352
362
  JobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
363
+ JobSummary.add_member(:device, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "device"))
364
+ JobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
353
365
  JobSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "startedAt"))
354
- JobSummary.add_member(:status, Shapes::ShapeRef.new(shape: JobPrimaryStatus, required: true, location_name: "status"))
366
+ JobSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
355
367
  JobSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
356
368
  JobSummary.struct_class = Types::JobSummary
357
369
 
@@ -363,22 +375,31 @@ module Aws::Braket
363
375
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
364
376
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
365
377
 
378
+ ProgramSetValidationFailure.add_member(:program_index, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "programIndex"))
379
+ ProgramSetValidationFailure.add_member(:inputs_index, Shapes::ShapeRef.new(shape: Long, location_name: "inputsIndex"))
380
+ ProgramSetValidationFailure.add_member(:errors, Shapes::ShapeRef.new(shape: ProgramValidationFailuresList, location_name: "errors"))
381
+ ProgramSetValidationFailure.struct_class = Types::ProgramSetValidationFailure
382
+
383
+ ProgramSetValidationFailuresList.member = Shapes::ShapeRef.new(shape: ProgramSetValidationFailure)
384
+
385
+ ProgramValidationFailuresList.member = Shapes::ShapeRef.new(shape: String)
386
+
366
387
  QuantumTaskAdditionalAttributeNamesList.member = Shapes::ShapeRef.new(shape: QuantumTaskAdditionalAttributeName)
367
388
 
368
- QuantumTaskQueueInfo.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
369
- QuantumTaskQueueInfo.add_member(:position, Shapes::ShapeRef.new(shape: String, required: true, location_name: "position"))
370
389
  QuantumTaskQueueInfo.add_member(:queue, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "queue"))
390
+ QuantumTaskQueueInfo.add_member(:position, Shapes::ShapeRef.new(shape: String, required: true, location_name: "position"))
371
391
  QuantumTaskQueueInfo.add_member(:queue_priority, Shapes::ShapeRef.new(shape: QueuePriority, location_name: "queuePriority"))
392
+ QuantumTaskQueueInfo.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
372
393
  QuantumTaskQueueInfo.struct_class = Types::QuantumTaskQueueInfo
373
394
 
374
- QuantumTaskSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
395
+ QuantumTaskSummary.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
396
+ QuantumTaskSummary.add_member(:status, Shapes::ShapeRef.new(shape: QuantumTaskStatus, required: true, location_name: "status"))
375
397
  QuantumTaskSummary.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
376
- QuantumTaskSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
398
+ QuantumTaskSummary.add_member(:shots, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "shots"))
377
399
  QuantumTaskSummary.add_member(:output_s3_bucket, Shapes::ShapeRef.new(shape: String, required: true, location_name: "outputS3Bucket"))
378
400
  QuantumTaskSummary.add_member(:output_s3_directory, Shapes::ShapeRef.new(shape: String, required: true, location_name: "outputS3Directory"))
379
- QuantumTaskSummary.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
380
- QuantumTaskSummary.add_member(:shots, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "shots"))
381
- QuantumTaskSummary.add_member(:status, Shapes::ShapeRef.new(shape: QuantumTaskStatus, required: true, location_name: "status"))
401
+ QuantumTaskSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
402
+ QuantumTaskSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
382
403
  QuantumTaskSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
383
404
  QuantumTaskSummary.struct_class = Types::QuantumTaskSummary
384
405
 
@@ -390,9 +411,9 @@ module Aws::Braket
390
411
  S3DataSource.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "s3Uri"))
391
412
  S3DataSource.struct_class = Types::S3DataSource
392
413
 
393
- ScriptModeConfig.add_member(:compression_type, Shapes::ShapeRef.new(shape: CompressionType, location_name: "compressionType"))
394
414
  ScriptModeConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: String, required: true, location_name: "entryPoint"))
395
415
  ScriptModeConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "s3Uri"))
416
+ ScriptModeConfig.add_member(:compression_type, Shapes::ShapeRef.new(shape: CompressionType, location_name: "compressionType"))
396
417
  ScriptModeConfig.struct_class = Types::ScriptModeConfig
397
418
 
398
419
  SearchDevicesFilter.add_member(:name, Shapes::ShapeRef.new(shape: SearchDevicesFilterNameString, required: true, location_name: "name"))
@@ -401,9 +422,9 @@ module Aws::Braket
401
422
 
402
423
  SearchDevicesFilterValuesList.member = Shapes::ShapeRef.new(shape: String256)
403
424
 
404
- SearchDevicesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchDevicesRequestFiltersList, required: true, location_name: "filters"))
405
- SearchDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchDevicesRequestMaxResultsInteger, location_name: "maxResults"))
406
425
  SearchDevicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
426
+ SearchDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchDevicesRequestMaxResultsInteger, location_name: "maxResults"))
427
+ SearchDevicesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchDevicesRequestFiltersList, required: true, location_name: "filters"))
407
428
  SearchDevicesRequest.struct_class = Types::SearchDevicesRequest
408
429
 
409
430
  SearchDevicesRequestFiltersList.member = Shapes::ShapeRef.new(shape: SearchDevicesFilter)
@@ -413,15 +434,15 @@ module Aws::Braket
413
434
  SearchDevicesResponse.struct_class = Types::SearchDevicesResponse
414
435
 
415
436
  SearchJobsFilter.add_member(:name, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "name"))
416
- SearchJobsFilter.add_member(:operator, Shapes::ShapeRef.new(shape: SearchJobsFilterOperator, required: true, location_name: "operator"))
417
437
  SearchJobsFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchJobsFilterValuesList, required: true, location_name: "values"))
438
+ SearchJobsFilter.add_member(:operator, Shapes::ShapeRef.new(shape: SearchJobsFilterOperator, required: true, location_name: "operator"))
418
439
  SearchJobsFilter.struct_class = Types::SearchJobsFilter
419
440
 
420
441
  SearchJobsFilterValuesList.member = Shapes::ShapeRef.new(shape: String256)
421
442
 
422
- SearchJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchJobsRequestFiltersList, required: true, location_name: "filters"))
423
- SearchJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchJobsRequestMaxResultsInteger, location_name: "maxResults"))
424
443
  SearchJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
444
+ SearchJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchJobsRequestMaxResultsInteger, location_name: "maxResults"))
445
+ SearchJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchJobsRequestFiltersList, required: true, location_name: "filters"))
425
446
  SearchJobsRequest.struct_class = Types::SearchJobsRequest
426
447
 
427
448
  SearchJobsRequestFiltersList.member = Shapes::ShapeRef.new(shape: SearchJobsFilter)
@@ -431,21 +452,21 @@ module Aws::Braket
431
452
  SearchJobsResponse.struct_class = Types::SearchJobsResponse
432
453
 
433
454
  SearchQuantumTasksFilter.add_member(:name, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "name"))
434
- SearchQuantumTasksFilter.add_member(:operator, Shapes::ShapeRef.new(shape: SearchQuantumTasksFilterOperator, required: true, location_name: "operator"))
435
455
  SearchQuantumTasksFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchQuantumTasksFilterValuesList, required: true, location_name: "values"))
456
+ SearchQuantumTasksFilter.add_member(:operator, Shapes::ShapeRef.new(shape: SearchQuantumTasksFilterOperator, required: true, location_name: "operator"))
436
457
  SearchQuantumTasksFilter.struct_class = Types::SearchQuantumTasksFilter
437
458
 
438
459
  SearchQuantumTasksFilterValuesList.member = Shapes::ShapeRef.new(shape: String256)
439
460
 
440
- SearchQuantumTasksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchQuantumTasksRequestFiltersList, required: true, location_name: "filters"))
441
- SearchQuantumTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchQuantumTasksRequestMaxResultsInteger, location_name: "maxResults"))
442
461
  SearchQuantumTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
462
+ SearchQuantumTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchQuantumTasksRequestMaxResultsInteger, location_name: "maxResults"))
463
+ SearchQuantumTasksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchQuantumTasksRequestFiltersList, required: true, location_name: "filters"))
443
464
  SearchQuantumTasksRequest.struct_class = Types::SearchQuantumTasksRequest
444
465
 
445
466
  SearchQuantumTasksRequestFiltersList.member = Shapes::ShapeRef.new(shape: SearchQuantumTasksFilter)
446
467
 
447
- SearchQuantumTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
448
468
  SearchQuantumTasksResponse.add_member(:quantum_tasks, Shapes::ShapeRef.new(shape: QuantumTaskSummaryList, required: true, location_name: "quantumTasks"))
469
+ SearchQuantumTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
449
470
  SearchQuantumTasksResponse.struct_class = Types::SearchQuantumTasksResponse
450
471
 
451
472
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -472,6 +493,8 @@ module Aws::Braket
472
493
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
473
494
 
474
495
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
496
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
497
+ ValidationException.add_member(:program_set_validation_failures, Shapes::ShapeRef.new(shape: ProgramSetValidationFailuresList, location_name: "programSetValidationFailures"))
475
498
  ValidationException.struct_class = Types::ValidationException
476
499
 
477
500
 
@@ -482,9 +505,10 @@ module Aws::Braket
482
505
 
483
506
  api.metadata = {
484
507
  "apiVersion" => "2019-09-01",
508
+ "auth" => ["aws.auth#sigv4"],
485
509
  "endpointPrefix" => "braket",
486
- "jsonVersion" => "1.1",
487
510
  "protocol" => "rest-json",
511
+ "protocols" => ["rest-json"],
488
512
  "serviceFullName" => "Braket",
489
513
  "serviceId" => "Braket",
490
514
  "signatureVersion" => "v4",
@@ -531,8 +555,8 @@ module Aws::Braket
531
555
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
532
556
  o.errors << Shapes::ShapeRef.new(shape: DeviceOfflineException)
533
557
  o.errors << Shapes::ShapeRef.new(shape: DeviceRetiredException)
534
- o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
535
558
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
559
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
536
560
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
537
561
  end)
538
562
 
@@ -543,11 +567,11 @@ module Aws::Braket
543
567
  o.input = Shapes::ShapeRef.new(shape: CreateQuantumTaskRequest)
544
568
  o.output = Shapes::ShapeRef.new(shape: CreateQuantumTaskResponse)
545
569
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
546
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
547
570
  o.errors << Shapes::ShapeRef.new(shape: DeviceOfflineException)
571
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
548
572
  o.errors << Shapes::ShapeRef.new(shape: DeviceRetiredException)
549
- o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
550
573
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
574
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
551
575
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
552
576
  end)
553
577
 
@@ -176,6 +176,16 @@ module Aws::Braket
176
176
  def message
177
177
  @message || @data[:message]
178
178
  end
179
+
180
+ # @return [String]
181
+ def reason
182
+ @data[:reason]
183
+ end
184
+
185
+ # @return [String]
186
+ def program_set_validation_failures
187
+ @data[:program_set_validation_failures]
188
+ end
179
189
  end
180
190
 
181
191
  end