aws-sdk-braket 1.10.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-braket/client.rb +308 -1
- data/lib/aws-sdk-braket/client_api.rb +247 -2
- data/lib/aws-sdk-braket/types.rb +820 -0
- data/lib/aws-sdk-braket.rb +2 -2
- metadata +5 -5
@@ -14,17 +14,28 @@ module Aws::Braket
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AlgorithmSpecification = Shapes::StructureShape.new(name: 'AlgorithmSpecification')
|
18
|
+
CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
|
19
|
+
CancelJobResponse = Shapes::StructureShape.new(name: 'CancelJobResponse')
|
17
20
|
CancelQuantumTaskRequest = Shapes::StructureShape.new(name: 'CancelQuantumTaskRequest')
|
18
21
|
CancelQuantumTaskResponse = Shapes::StructureShape.new(name: 'CancelQuantumTaskResponse')
|
19
22
|
CancellationStatus = Shapes::StringShape.new(name: 'CancellationStatus')
|
23
|
+
CompressionType = Shapes::StringShape.new(name: 'CompressionType')
|
20
24
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
25
|
+
ContainerImage = Shapes::StructureShape.new(name: 'ContainerImage')
|
26
|
+
CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
|
27
|
+
CreateJobRequestInputDataConfigList = Shapes::ListShape.new(name: 'CreateJobRequestInputDataConfigList')
|
28
|
+
CreateJobRequestJobNameString = Shapes::StringShape.new(name: 'CreateJobRequestJobNameString')
|
29
|
+
CreateJobResponse = Shapes::StructureShape.new(name: 'CreateJobResponse')
|
21
30
|
CreateQuantumTaskRequest = Shapes::StructureShape.new(name: 'CreateQuantumTaskRequest')
|
22
31
|
CreateQuantumTaskRequestDeviceParametersString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestDeviceParametersString')
|
23
32
|
CreateQuantumTaskRequestOutputS3BucketString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestOutputS3BucketString')
|
24
33
|
CreateQuantumTaskRequestOutputS3KeyPrefixString = Shapes::StringShape.new(name: 'CreateQuantumTaskRequestOutputS3KeyPrefixString')
|
25
34
|
CreateQuantumTaskRequestShotsLong = Shapes::IntegerShape.new(name: 'CreateQuantumTaskRequestShotsLong')
|
26
35
|
CreateQuantumTaskResponse = Shapes::StructureShape.new(name: 'CreateQuantumTaskResponse')
|
36
|
+
DataSource = Shapes::StructureShape.new(name: 'DataSource')
|
27
37
|
DeviceArn = Shapes::StringShape.new(name: 'DeviceArn')
|
38
|
+
DeviceConfig = Shapes::StructureShape.new(name: 'DeviceConfig')
|
28
39
|
DeviceOfflineException = Shapes::StructureShape.new(name: 'DeviceOfflineException')
|
29
40
|
DeviceRetiredException = Shapes::StructureShape.new(name: 'DeviceRetiredException')
|
30
41
|
DeviceStatus = Shapes::StringShape.new(name: 'DeviceStatus')
|
@@ -33,9 +44,34 @@ module Aws::Braket
|
|
33
44
|
DeviceType = Shapes::StringShape.new(name: 'DeviceType')
|
34
45
|
GetDeviceRequest = Shapes::StructureShape.new(name: 'GetDeviceRequest')
|
35
46
|
GetDeviceResponse = Shapes::StructureShape.new(name: 'GetDeviceResponse')
|
47
|
+
GetJobRequest = Shapes::StructureShape.new(name: 'GetJobRequest')
|
48
|
+
GetJobResponse = Shapes::StructureShape.new(name: 'GetJobResponse')
|
49
|
+
GetJobResponseJobNameString = Shapes::StringShape.new(name: 'GetJobResponseJobNameString')
|
36
50
|
GetQuantumTaskRequest = Shapes::StructureShape.new(name: 'GetQuantumTaskRequest')
|
37
51
|
GetQuantumTaskResponse = Shapes::StructureShape.new(name: 'GetQuantumTaskResponse')
|
52
|
+
HyperParameters = Shapes::MapShape.new(name: 'HyperParameters')
|
53
|
+
HyperParametersValueString = Shapes::StringShape.new(name: 'HyperParametersValueString')
|
54
|
+
InputConfigList = Shapes::ListShape.new(name: 'InputConfigList')
|
55
|
+
InputFileConfig = Shapes::StructureShape.new(name: 'InputFileConfig')
|
56
|
+
InputFileConfigChannelNameString = Shapes::StringShape.new(name: 'InputFileConfigChannelNameString')
|
57
|
+
InstanceConfig = Shapes::StructureShape.new(name: 'InstanceConfig')
|
58
|
+
InstanceConfigVolumeSizeInGbInteger = Shapes::IntegerShape.new(name: 'InstanceConfigVolumeSizeInGbInteger')
|
59
|
+
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
60
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
38
61
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
62
|
+
JobArn = Shapes::StringShape.new(name: 'JobArn')
|
63
|
+
JobCheckpointConfig = Shapes::StructureShape.new(name: 'JobCheckpointConfig')
|
64
|
+
JobEventDetails = Shapes::StructureShape.new(name: 'JobEventDetails')
|
65
|
+
JobEventDetailsMessageString = Shapes::StringShape.new(name: 'JobEventDetailsMessageString')
|
66
|
+
JobEventType = Shapes::StringShape.new(name: 'JobEventType')
|
67
|
+
JobEvents = Shapes::ListShape.new(name: 'JobEvents')
|
68
|
+
JobOutputDataConfig = Shapes::StructureShape.new(name: 'JobOutputDataConfig')
|
69
|
+
JobPrimaryStatus = Shapes::StringShape.new(name: 'JobPrimaryStatus')
|
70
|
+
JobStoppingCondition = Shapes::StructureShape.new(name: 'JobStoppingCondition')
|
71
|
+
JobStoppingConditionMaxRuntimeInSecondsInteger = Shapes::IntegerShape.new(name: 'JobStoppingConditionMaxRuntimeInSecondsInteger')
|
72
|
+
JobSummary = Shapes::StructureShape.new(name: 'JobSummary')
|
73
|
+
JobSummaryList = Shapes::ListShape.new(name: 'JobSummaryList')
|
74
|
+
JobToken = Shapes::StringShape.new(name: 'JobToken')
|
39
75
|
JsonValue = Shapes::StringShape.new(name: 'JsonValue')
|
40
76
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
41
77
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
@@ -45,6 +81,10 @@ module Aws::Braket
|
|
45
81
|
QuantumTaskSummary = Shapes::StructureShape.new(name: 'QuantumTaskSummary')
|
46
82
|
QuantumTaskSummaryList = Shapes::ListShape.new(name: 'QuantumTaskSummaryList')
|
47
83
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
84
|
+
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
85
|
+
S3DataSource = Shapes::StructureShape.new(name: 'S3DataSource')
|
86
|
+
S3Path = Shapes::StringShape.new(name: 'S3Path')
|
87
|
+
ScriptModeConfig = Shapes::StructureShape.new(name: 'ScriptModeConfig')
|
48
88
|
SearchDevicesFilter = Shapes::StructureShape.new(name: 'SearchDevicesFilter')
|
49
89
|
SearchDevicesFilterNameString = Shapes::StringShape.new(name: 'SearchDevicesFilterNameString')
|
50
90
|
SearchDevicesFilterValuesList = Shapes::ListShape.new(name: 'SearchDevicesFilterValuesList')
|
@@ -52,6 +92,13 @@ module Aws::Braket
|
|
52
92
|
SearchDevicesRequestFiltersList = Shapes::ListShape.new(name: 'SearchDevicesRequestFiltersList')
|
53
93
|
SearchDevicesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchDevicesRequestMaxResultsInteger')
|
54
94
|
SearchDevicesResponse = Shapes::StructureShape.new(name: 'SearchDevicesResponse')
|
95
|
+
SearchJobsFilter = Shapes::StructureShape.new(name: 'SearchJobsFilter')
|
96
|
+
SearchJobsFilterOperator = Shapes::StringShape.new(name: 'SearchJobsFilterOperator')
|
97
|
+
SearchJobsFilterValuesList = Shapes::ListShape.new(name: 'SearchJobsFilterValuesList')
|
98
|
+
SearchJobsRequest = Shapes::StructureShape.new(name: 'SearchJobsRequest')
|
99
|
+
SearchJobsRequestFiltersList = Shapes::ListShape.new(name: 'SearchJobsRequestFiltersList')
|
100
|
+
SearchJobsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchJobsRequestMaxResultsInteger')
|
101
|
+
SearchJobsResponse = Shapes::StructureShape.new(name: 'SearchJobsResponse')
|
55
102
|
SearchQuantumTasksFilter = Shapes::StructureShape.new(name: 'SearchQuantumTasksFilter')
|
56
103
|
SearchQuantumTasksFilterOperator = Shapes::StringShape.new(name: 'SearchQuantumTasksFilterOperator')
|
57
104
|
SearchQuantumTasksFilterValuesList = Shapes::ListShape.new(name: 'SearchQuantumTasksFilterValuesList')
|
@@ -61,7 +108,10 @@ module Aws::Braket
|
|
61
108
|
SearchQuantumTasksResponse = Shapes::StructureShape.new(name: 'SearchQuantumTasksResponse')
|
62
109
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
63
110
|
String = Shapes::StringShape.new(name: 'String')
|
111
|
+
String1024 = Shapes::StringShape.new(name: 'String1024')
|
112
|
+
String2048 = Shapes::StringShape.new(name: 'String2048')
|
64
113
|
String256 = Shapes::StringShape.new(name: 'String256')
|
114
|
+
String4096 = Shapes::StringShape.new(name: 'String4096')
|
65
115
|
String64 = Shapes::StringShape.new(name: 'String64')
|
66
116
|
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
67
117
|
TagKeys = Shapes::ListShape.new(name: 'TagKeys')
|
@@ -71,11 +121,23 @@ module Aws::Braket
|
|
71
121
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
72
122
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
73
123
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
124
|
+
Uri = Shapes::StringShape.new(name: 'Uri')
|
74
125
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
75
126
|
|
76
127
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
77
128
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
78
129
|
|
130
|
+
AlgorithmSpecification.add_member(:container_image, Shapes::ShapeRef.new(shape: ContainerImage, location_name: "containerImage"))
|
131
|
+
AlgorithmSpecification.add_member(:script_mode_config, Shapes::ShapeRef.new(shape: ScriptModeConfig, location_name: "scriptModeConfig"))
|
132
|
+
AlgorithmSpecification.struct_class = Types::AlgorithmSpecification
|
133
|
+
|
134
|
+
CancelJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location: "uri", location_name: "jobArn"))
|
135
|
+
CancelJobRequest.struct_class = Types::CancelJobRequest
|
136
|
+
|
137
|
+
CancelJobResponse.add_member(:cancellation_status, Shapes::ShapeRef.new(shape: CancellationStatus, required: true, location_name: "cancellationStatus"))
|
138
|
+
CancelJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
|
139
|
+
CancelJobResponse.struct_class = Types::CancelJobResponse
|
140
|
+
|
79
141
|
CancelQuantumTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
80
142
|
CancelQuantumTaskRequest.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location: "uri", location_name: "quantumTaskArn"))
|
81
143
|
CancelQuantumTaskRequest.struct_class = Types::CancelQuantumTaskRequest
|
@@ -87,10 +149,33 @@ module Aws::Braket
|
|
87
149
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
88
150
|
ConflictException.struct_class = Types::ConflictException
|
89
151
|
|
152
|
+
ContainerImage.add_member(:uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "uri"))
|
153
|
+
ContainerImage.struct_class = Types::ContainerImage
|
154
|
+
|
155
|
+
CreateJobRequest.add_member(:algorithm_specification, Shapes::ShapeRef.new(shape: AlgorithmSpecification, required: true, location_name: "algorithmSpecification"))
|
156
|
+
CreateJobRequest.add_member(:checkpoint_config, Shapes::ShapeRef.new(shape: JobCheckpointConfig, location_name: "checkpointConfig"))
|
157
|
+
CreateJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
158
|
+
CreateJobRequest.add_member(:device_config, Shapes::ShapeRef.new(shape: DeviceConfig, required: true, location_name: "deviceConfig"))
|
159
|
+
CreateJobRequest.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "hyperParameters"))
|
160
|
+
CreateJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: CreateJobRequestInputDataConfigList, location_name: "inputDataConfig"))
|
161
|
+
CreateJobRequest.add_member(:instance_config, Shapes::ShapeRef.new(shape: InstanceConfig, required: true, location_name: "instanceConfig"))
|
162
|
+
CreateJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: CreateJobRequestJobNameString, required: true, location_name: "jobName"))
|
163
|
+
CreateJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: JobOutputDataConfig, required: true, location_name: "outputDataConfig"))
|
164
|
+
CreateJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
165
|
+
CreateJobRequest.add_member(:stopping_condition, Shapes::ShapeRef.new(shape: JobStoppingCondition, location_name: "stoppingCondition"))
|
166
|
+
CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
167
|
+
CreateJobRequest.struct_class = Types::CreateJobRequest
|
168
|
+
|
169
|
+
CreateJobRequestInputDataConfigList.member = Shapes::ShapeRef.new(shape: InputFileConfig)
|
170
|
+
|
171
|
+
CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
|
172
|
+
CreateJobResponse.struct_class = Types::CreateJobResponse
|
173
|
+
|
90
174
|
CreateQuantumTaskRequest.add_member(:action, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "action", metadata: {"jsonvalue"=>true}))
|
91
175
|
CreateQuantumTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
92
176
|
CreateQuantumTaskRequest.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location_name: "deviceArn"))
|
93
177
|
CreateQuantumTaskRequest.add_member(:device_parameters, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestDeviceParametersString, location_name: "deviceParameters", metadata: {"jsonvalue"=>true}))
|
178
|
+
CreateQuantumTaskRequest.add_member(:job_token, Shapes::ShapeRef.new(shape: JobToken, location_name: "jobToken"))
|
94
179
|
CreateQuantumTaskRequest.add_member(:output_s3_bucket, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestOutputS3BucketString, required: true, location_name: "outputS3Bucket"))
|
95
180
|
CreateQuantumTaskRequest.add_member(:output_s3_key_prefix, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestOutputS3KeyPrefixString, required: true, location_name: "outputS3KeyPrefix"))
|
96
181
|
CreateQuantumTaskRequest.add_member(:shots, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestShotsLong, required: true, location_name: "shots"))
|
@@ -100,6 +185,12 @@ module Aws::Braket
|
|
100
185
|
CreateQuantumTaskResponse.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
|
101
186
|
CreateQuantumTaskResponse.struct_class = Types::CreateQuantumTaskResponse
|
102
187
|
|
188
|
+
DataSource.add_member(:s3_data_source, Shapes::ShapeRef.new(shape: S3DataSource, required: true, location_name: "s3DataSource"))
|
189
|
+
DataSource.struct_class = Types::DataSource
|
190
|
+
|
191
|
+
DeviceConfig.add_member(:device, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "device"))
|
192
|
+
DeviceConfig.struct_class = Types::DeviceConfig
|
193
|
+
|
103
194
|
DeviceOfflineException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
104
195
|
DeviceOfflineException.struct_class = Types::DeviceOfflineException
|
105
196
|
|
@@ -126,6 +217,30 @@ module Aws::Braket
|
|
126
217
|
GetDeviceResponse.add_member(:provider_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "providerName"))
|
127
218
|
GetDeviceResponse.struct_class = Types::GetDeviceResponse
|
128
219
|
|
220
|
+
GetJobRequest.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location: "uri", location_name: "jobArn"))
|
221
|
+
GetJobRequest.struct_class = Types::GetJobRequest
|
222
|
+
|
223
|
+
GetJobResponse.add_member(:algorithm_specification, Shapes::ShapeRef.new(shape: AlgorithmSpecification, required: true, location_name: "algorithmSpecification"))
|
224
|
+
GetJobResponse.add_member(:billable_duration, Shapes::ShapeRef.new(shape: Integer, location_name: "billableDuration"))
|
225
|
+
GetJobResponse.add_member(:checkpoint_config, Shapes::ShapeRef.new(shape: JobCheckpointConfig, location_name: "checkpointConfig"))
|
226
|
+
GetJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
|
227
|
+
GetJobResponse.add_member(:device_config, Shapes::ShapeRef.new(shape: DeviceConfig, location_name: "deviceConfig"))
|
228
|
+
GetJobResponse.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
|
229
|
+
GetJobResponse.add_member(:events, Shapes::ShapeRef.new(shape: JobEvents, location_name: "events"))
|
230
|
+
GetJobResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String1024, location_name: "failureReason"))
|
231
|
+
GetJobResponse.add_member(:hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "hyperParameters"))
|
232
|
+
GetJobResponse.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputConfigList, location_name: "inputDataConfig"))
|
233
|
+
GetJobResponse.add_member(:instance_config, Shapes::ShapeRef.new(shape: InstanceConfig, required: true, location_name: "instanceConfig"))
|
234
|
+
GetJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
|
235
|
+
GetJobResponse.add_member(:job_name, Shapes::ShapeRef.new(shape: GetJobResponseJobNameString, required: true, location_name: "jobName"))
|
236
|
+
GetJobResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: JobOutputDataConfig, required: true, location_name: "outputDataConfig"))
|
237
|
+
GetJobResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
238
|
+
GetJobResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "startedAt"))
|
239
|
+
GetJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: JobPrimaryStatus, required: true, location_name: "status"))
|
240
|
+
GetJobResponse.add_member(:stopping_condition, Shapes::ShapeRef.new(shape: JobStoppingCondition, location_name: "stoppingCondition"))
|
241
|
+
GetJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
242
|
+
GetJobResponse.struct_class = Types::GetJobResponse
|
243
|
+
|
129
244
|
GetQuantumTaskRequest.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location: "uri", location_name: "quantumTaskArn"))
|
130
245
|
GetQuantumTaskRequest.struct_class = Types::GetQuantumTaskRequest
|
131
246
|
|
@@ -134,6 +249,7 @@ module Aws::Braket
|
|
134
249
|
GetQuantumTaskResponse.add_member(:device_parameters, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "deviceParameters", metadata: {"jsonvalue"=>true}))
|
135
250
|
GetQuantumTaskResponse.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
|
136
251
|
GetQuantumTaskResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: String, location_name: "failureReason"))
|
252
|
+
GetQuantumTaskResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
137
253
|
GetQuantumTaskResponse.add_member(:output_s3_bucket, Shapes::ShapeRef.new(shape: String, required: true, location_name: "outputS3Bucket"))
|
138
254
|
GetQuantumTaskResponse.add_member(:output_s3_directory, Shapes::ShapeRef.new(shape: String, required: true, location_name: "outputS3Directory"))
|
139
255
|
GetQuantumTaskResponse.add_member(:quantum_task_arn, Shapes::ShapeRef.new(shape: QuantumTaskArn, required: true, location_name: "quantumTaskArn"))
|
@@ -142,9 +258,53 @@ module Aws::Braket
|
|
142
258
|
GetQuantumTaskResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
143
259
|
GetQuantumTaskResponse.struct_class = Types::GetQuantumTaskResponse
|
144
260
|
|
261
|
+
HyperParameters.key = Shapes::ShapeRef.new(shape: String256)
|
262
|
+
HyperParameters.value = Shapes::ShapeRef.new(shape: HyperParametersValueString)
|
263
|
+
|
264
|
+
InputConfigList.member = Shapes::ShapeRef.new(shape: InputFileConfig)
|
265
|
+
|
266
|
+
InputFileConfig.add_member(:channel_name, Shapes::ShapeRef.new(shape: InputFileConfigChannelNameString, required: true, location_name: "channelName"))
|
267
|
+
InputFileConfig.add_member(:content_type, Shapes::ShapeRef.new(shape: String256, location_name: "contentType"))
|
268
|
+
InputFileConfig.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
|
269
|
+
InputFileConfig.struct_class = Types::InputFileConfig
|
270
|
+
|
271
|
+
InstanceConfig.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, required: true, location_name: "instanceType"))
|
272
|
+
InstanceConfig.add_member(:volume_size_in_gb, Shapes::ShapeRef.new(shape: InstanceConfigVolumeSizeInGbInteger, required: true, location_name: "volumeSizeInGb"))
|
273
|
+
InstanceConfig.struct_class = Types::InstanceConfig
|
274
|
+
|
145
275
|
InternalServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
146
276
|
InternalServiceException.struct_class = Types::InternalServiceException
|
147
277
|
|
278
|
+
JobCheckpointConfig.add_member(:local_path, Shapes::ShapeRef.new(shape: String4096, location_name: "localPath"))
|
279
|
+
JobCheckpointConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "s3Uri"))
|
280
|
+
JobCheckpointConfig.struct_class = Types::JobCheckpointConfig
|
281
|
+
|
282
|
+
JobEventDetails.add_member(:event_type, Shapes::ShapeRef.new(shape: JobEventType, location_name: "eventType"))
|
283
|
+
JobEventDetails.add_member(:message, Shapes::ShapeRef.new(shape: JobEventDetailsMessageString, location_name: "message"))
|
284
|
+
JobEventDetails.add_member(:time_of_event, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "timeOfEvent"))
|
285
|
+
JobEventDetails.struct_class = Types::JobEventDetails
|
286
|
+
|
287
|
+
JobEvents.member = Shapes::ShapeRef.new(shape: JobEventDetails)
|
288
|
+
|
289
|
+
JobOutputDataConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String2048, location_name: "kmsKeyId"))
|
290
|
+
JobOutputDataConfig.add_member(:s3_path, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "s3Path"))
|
291
|
+
JobOutputDataConfig.struct_class = Types::JobOutputDataConfig
|
292
|
+
|
293
|
+
JobStoppingCondition.add_member(:max_runtime_in_seconds, Shapes::ShapeRef.new(shape: JobStoppingConditionMaxRuntimeInSecondsInteger, location_name: "maxRuntimeInSeconds"))
|
294
|
+
JobStoppingCondition.struct_class = Types::JobStoppingCondition
|
295
|
+
|
296
|
+
JobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
|
297
|
+
JobSummary.add_member(:device, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "device"))
|
298
|
+
JobSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endedAt"))
|
299
|
+
JobSummary.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, required: true, location_name: "jobArn"))
|
300
|
+
JobSummary.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
301
|
+
JobSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "startedAt"))
|
302
|
+
JobSummary.add_member(:status, Shapes::ShapeRef.new(shape: JobPrimaryStatus, required: true, location_name: "status"))
|
303
|
+
JobSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
304
|
+
JobSummary.struct_class = Types::JobSummary
|
305
|
+
|
306
|
+
JobSummaryList.member = Shapes::ShapeRef.new(shape: JobSummary)
|
307
|
+
|
148
308
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
149
309
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
150
310
|
|
@@ -167,6 +327,14 @@ module Aws::Braket
|
|
167
327
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
168
328
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
169
329
|
|
330
|
+
S3DataSource.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "s3Uri"))
|
331
|
+
S3DataSource.struct_class = Types::S3DataSource
|
332
|
+
|
333
|
+
ScriptModeConfig.add_member(:compression_type, Shapes::ShapeRef.new(shape: CompressionType, location_name: "compressionType"))
|
334
|
+
ScriptModeConfig.add_member(:entry_point, Shapes::ShapeRef.new(shape: String, required: true, location_name: "entryPoint"))
|
335
|
+
ScriptModeConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Path, required: true, location_name: "s3Uri"))
|
336
|
+
ScriptModeConfig.struct_class = Types::ScriptModeConfig
|
337
|
+
|
170
338
|
SearchDevicesFilter.add_member(:name, Shapes::ShapeRef.new(shape: SearchDevicesFilterNameString, required: true, location_name: "name"))
|
171
339
|
SearchDevicesFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchDevicesFilterValuesList, required: true, location_name: "values"))
|
172
340
|
SearchDevicesFilter.struct_class = Types::SearchDevicesFilter
|
@@ -184,6 +352,24 @@ module Aws::Braket
|
|
184
352
|
SearchDevicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
185
353
|
SearchDevicesResponse.struct_class = Types::SearchDevicesResponse
|
186
354
|
|
355
|
+
SearchJobsFilter.add_member(:name, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "name"))
|
356
|
+
SearchJobsFilter.add_member(:operator, Shapes::ShapeRef.new(shape: SearchJobsFilterOperator, required: true, location_name: "operator"))
|
357
|
+
SearchJobsFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchJobsFilterValuesList, required: true, location_name: "values"))
|
358
|
+
SearchJobsFilter.struct_class = Types::SearchJobsFilter
|
359
|
+
|
360
|
+
SearchJobsFilterValuesList.member = Shapes::ShapeRef.new(shape: String256)
|
361
|
+
|
362
|
+
SearchJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: SearchJobsRequestFiltersList, required: true, location_name: "filters"))
|
363
|
+
SearchJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchJobsRequestMaxResultsInteger, location_name: "maxResults"))
|
364
|
+
SearchJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
365
|
+
SearchJobsRequest.struct_class = Types::SearchJobsRequest
|
366
|
+
|
367
|
+
SearchJobsRequestFiltersList.member = Shapes::ShapeRef.new(shape: SearchJobsFilter)
|
368
|
+
|
369
|
+
SearchJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: JobSummaryList, required: true, location_name: "jobs"))
|
370
|
+
SearchJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
371
|
+
SearchJobsResponse.struct_class = Types::SearchJobsResponse
|
372
|
+
|
187
373
|
SearchQuantumTasksFilter.add_member(:name, Shapes::ShapeRef.new(shape: String64, required: true, location_name: "name"))
|
188
374
|
SearchQuantumTasksFilter.add_member(:operator, Shapes::ShapeRef.new(shape: SearchQuantumTasksFilterOperator, required: true, location_name: "operator"))
|
189
375
|
SearchQuantumTasksFilter.add_member(:values, Shapes::ShapeRef.new(shape: SearchQuantumTasksFilterValuesList, required: true, location_name: "values"))
|
@@ -246,6 +432,20 @@ module Aws::Braket
|
|
246
432
|
"uid" => "braket-2019-09-01",
|
247
433
|
}
|
248
434
|
|
435
|
+
api.add_operation(:cancel_job, Seahorse::Model::Operation.new.tap do |o|
|
436
|
+
o.name = "CancelJob"
|
437
|
+
o.http_method = "PUT"
|
438
|
+
o.http_request_uri = "/job/{jobArn}/cancel"
|
439
|
+
o.input = Shapes::ShapeRef.new(shape: CancelJobRequest)
|
440
|
+
o.output = Shapes::ShapeRef.new(shape: CancelJobResponse)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
447
|
+
end)
|
448
|
+
|
249
449
|
api.add_operation(:cancel_quantum_task, Seahorse::Model::Operation.new.tap do |o|
|
250
450
|
o.name = "CancelQuantumTask"
|
251
451
|
o.http_method = "PUT"
|
@@ -260,6 +460,21 @@ module Aws::Braket
|
|
260
460
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
261
461
|
end)
|
262
462
|
|
463
|
+
api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
|
464
|
+
o.name = "CreateJob"
|
465
|
+
o.http_method = "POST"
|
466
|
+
o.http_request_uri = "/job"
|
467
|
+
o.input = Shapes::ShapeRef.new(shape: CreateJobRequest)
|
468
|
+
o.output = Shapes::ShapeRef.new(shape: CreateJobResponse)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
471
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
472
|
+
o.errors << Shapes::ShapeRef.new(shape: DeviceRetiredException)
|
473
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
474
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
476
|
+
end)
|
477
|
+
|
263
478
|
api.add_operation(:create_quantum_task, Seahorse::Model::Operation.new.tap do |o|
|
264
479
|
o.name = "CreateQuantumTask"
|
265
480
|
o.http_method = "POST"
|
@@ -269,6 +484,7 @@ module Aws::Braket
|
|
269
484
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
270
485
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
271
486
|
o.errors << Shapes::ShapeRef.new(shape: DeviceOfflineException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: DeviceRetiredException)
|
272
488
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
273
489
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
274
490
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
@@ -283,8 +499,19 @@ module Aws::Braket
|
|
283
499
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
284
500
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
285
501
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
286
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
287
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
504
|
+
end)
|
505
|
+
|
506
|
+
api.add_operation(:get_job, Seahorse::Model::Operation.new.tap do |o|
|
507
|
+
o.name = "GetJob"
|
508
|
+
o.http_method = "GET"
|
509
|
+
o.http_request_uri = "/job/{jobArn}"
|
510
|
+
o.input = Shapes::ShapeRef.new(shape: GetJobRequest)
|
511
|
+
o.output = Shapes::ShapeRef.new(shape: GetJobResponse)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
288
515
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
289
516
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
290
517
|
end)
|
@@ -331,6 +558,24 @@ module Aws::Braket
|
|
331
558
|
)
|
332
559
|
end)
|
333
560
|
|
561
|
+
api.add_operation(:search_jobs, Seahorse::Model::Operation.new.tap do |o|
|
562
|
+
o.name = "SearchJobs"
|
563
|
+
o.http_method = "POST"
|
564
|
+
o.http_request_uri = "/jobs"
|
565
|
+
o.input = Shapes::ShapeRef.new(shape: SearchJobsRequest)
|
566
|
+
o.output = Shapes::ShapeRef.new(shape: SearchJobsResponse)
|
567
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
568
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
569
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
570
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
571
|
+
o[:pager] = Aws::Pager.new(
|
572
|
+
limit_key: "max_results",
|
573
|
+
tokens: {
|
574
|
+
"next_token" => "next_token"
|
575
|
+
}
|
576
|
+
)
|
577
|
+
end)
|
578
|
+
|
334
579
|
api.add_operation(:search_quantum_tasks, Seahorse::Model::Operation.new.tap do |o|
|
335
580
|
o.name = "SearchQuantumTasks"
|
336
581
|
o.http_method = "POST"
|