mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 13:19:05 +00:00
863 lines
19 KiB
JSON
863 lines
19 KiB
JSON
{
|
|
"version": "2.0",
|
|
"metadata": {
|
|
"apiVersion": "2019-09-01",
|
|
"endpointPrefix": "braket",
|
|
"jsonVersion": "1.1",
|
|
"protocol": "rest-json",
|
|
"serviceFullName": "Braket",
|
|
"serviceId": "Braket",
|
|
"signatureVersion": "v4",
|
|
"signingName": "braket",
|
|
"uid": "braket-2019-09-01"
|
|
},
|
|
"operations": {
|
|
"CancelJob": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/job/{jobArn}/cancel",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"jobArn"
|
|
],
|
|
"members": {
|
|
"jobArn": {
|
|
"location": "uri",
|
|
"locationName": "jobArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"cancellationStatus",
|
|
"jobArn"
|
|
],
|
|
"members": {
|
|
"cancellationStatus": {},
|
|
"jobArn": {}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"CancelQuantumTask": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/quantum-task/{quantumTaskArn}/cancel",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"clientToken",
|
|
"quantumTaskArn"
|
|
],
|
|
"members": {
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
},
|
|
"quantumTaskArn": {
|
|
"location": "uri",
|
|
"locationName": "quantumTaskArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"cancellationStatus",
|
|
"quantumTaskArn"
|
|
],
|
|
"members": {
|
|
"cancellationStatus": {},
|
|
"quantumTaskArn": {}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"CreateJob": {
|
|
"http": {
|
|
"requestUri": "/job",
|
|
"responseCode": 201
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"algorithmSpecification",
|
|
"clientToken",
|
|
"deviceConfig",
|
|
"instanceConfig",
|
|
"jobName",
|
|
"outputDataConfig",
|
|
"roleArn"
|
|
],
|
|
"members": {
|
|
"algorithmSpecification": {
|
|
"shape": "Sa"
|
|
},
|
|
"checkpointConfig": {
|
|
"shape": "Sh"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
},
|
|
"deviceConfig": {
|
|
"shape": "Sj"
|
|
},
|
|
"hyperParameters": {
|
|
"shape": "Sl"
|
|
},
|
|
"inputDataConfig": {
|
|
"type": "list",
|
|
"member": {
|
|
"shape": "So"
|
|
}
|
|
},
|
|
"instanceConfig": {
|
|
"shape": "Ss"
|
|
},
|
|
"jobName": {},
|
|
"outputDataConfig": {
|
|
"shape": "Sx"
|
|
},
|
|
"roleArn": {},
|
|
"stoppingCondition": {
|
|
"shape": "S10"
|
|
},
|
|
"tags": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"jobArn"
|
|
],
|
|
"members": {
|
|
"jobArn": {}
|
|
}
|
|
}
|
|
},
|
|
"CreateQuantumTask": {
|
|
"http": {
|
|
"requestUri": "/quantum-task",
|
|
"responseCode": 201
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"action",
|
|
"clientToken",
|
|
"deviceArn",
|
|
"outputS3Bucket",
|
|
"outputS3KeyPrefix",
|
|
"shots"
|
|
],
|
|
"members": {
|
|
"action": {
|
|
"jsonvalue": true
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
},
|
|
"deviceArn": {},
|
|
"deviceParameters": {
|
|
"jsonvalue": true
|
|
},
|
|
"jobToken": {},
|
|
"outputS3Bucket": {},
|
|
"outputS3KeyPrefix": {},
|
|
"shots": {
|
|
"type": "long"
|
|
},
|
|
"tags": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"quantumTaskArn"
|
|
],
|
|
"members": {
|
|
"quantumTaskArn": {}
|
|
}
|
|
}
|
|
},
|
|
"GetDevice": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/device/{deviceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"deviceArn"
|
|
],
|
|
"members": {
|
|
"deviceArn": {
|
|
"location": "uri",
|
|
"locationName": "deviceArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"deviceArn",
|
|
"deviceCapabilities",
|
|
"deviceName",
|
|
"deviceStatus",
|
|
"deviceType",
|
|
"providerName"
|
|
],
|
|
"members": {
|
|
"deviceArn": {},
|
|
"deviceCapabilities": {
|
|
"jsonvalue": true
|
|
},
|
|
"deviceName": {},
|
|
"deviceQueueInfo": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"queue",
|
|
"queueSize"
|
|
],
|
|
"members": {
|
|
"queue": {},
|
|
"queuePriority": {},
|
|
"queueSize": {}
|
|
}
|
|
}
|
|
},
|
|
"deviceStatus": {},
|
|
"deviceType": {},
|
|
"providerName": {}
|
|
}
|
|
}
|
|
},
|
|
"GetJob": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/job/{jobArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"jobArn"
|
|
],
|
|
"members": {
|
|
"additionalAttributeNames": {
|
|
"location": "querystring",
|
|
"locationName": "additionalAttributeNames",
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"jobArn": {
|
|
"location": "uri",
|
|
"locationName": "jobArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"algorithmSpecification",
|
|
"createdAt",
|
|
"instanceConfig",
|
|
"jobArn",
|
|
"jobName",
|
|
"outputDataConfig",
|
|
"roleArn",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"algorithmSpecification": {
|
|
"shape": "Sa"
|
|
},
|
|
"billableDuration": {
|
|
"type": "integer"
|
|
},
|
|
"checkpointConfig": {
|
|
"shape": "Sh"
|
|
},
|
|
"createdAt": {
|
|
"shape": "S1q"
|
|
},
|
|
"deviceConfig": {
|
|
"shape": "Sj"
|
|
},
|
|
"endedAt": {
|
|
"shape": "S1q"
|
|
},
|
|
"events": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"eventType": {},
|
|
"message": {},
|
|
"timeOfEvent": {
|
|
"shape": "S1q"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"failureReason": {},
|
|
"hyperParameters": {
|
|
"shape": "Sl"
|
|
},
|
|
"inputDataConfig": {
|
|
"type": "list",
|
|
"member": {
|
|
"shape": "So"
|
|
}
|
|
},
|
|
"instanceConfig": {
|
|
"shape": "Ss"
|
|
},
|
|
"jobArn": {},
|
|
"jobName": {},
|
|
"outputDataConfig": {
|
|
"shape": "Sx"
|
|
},
|
|
"queueInfo": {
|
|
"type": "structure",
|
|
"required": [
|
|
"position",
|
|
"queue"
|
|
],
|
|
"members": {
|
|
"message": {},
|
|
"position": {},
|
|
"queue": {}
|
|
}
|
|
},
|
|
"roleArn": {},
|
|
"startedAt": {
|
|
"shape": "S1q"
|
|
},
|
|
"status": {},
|
|
"stoppingCondition": {
|
|
"shape": "S10"
|
|
},
|
|
"tags": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetQuantumTask": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/quantum-task/{quantumTaskArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"quantumTaskArn"
|
|
],
|
|
"members": {
|
|
"additionalAttributeNames": {
|
|
"location": "querystring",
|
|
"locationName": "additionalAttributeNames",
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"quantumTaskArn": {
|
|
"location": "uri",
|
|
"locationName": "quantumTaskArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"createdAt",
|
|
"deviceArn",
|
|
"deviceParameters",
|
|
"outputS3Bucket",
|
|
"outputS3Directory",
|
|
"quantumTaskArn",
|
|
"shots",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"createdAt": {
|
|
"shape": "S1q"
|
|
},
|
|
"deviceArn": {},
|
|
"deviceParameters": {
|
|
"jsonvalue": true
|
|
},
|
|
"endedAt": {
|
|
"shape": "S1q"
|
|
},
|
|
"failureReason": {},
|
|
"jobArn": {},
|
|
"outputS3Bucket": {},
|
|
"outputS3Directory": {},
|
|
"quantumTaskArn": {},
|
|
"queueInfo": {
|
|
"type": "structure",
|
|
"required": [
|
|
"position",
|
|
"queue"
|
|
],
|
|
"members": {
|
|
"message": {},
|
|
"position": {},
|
|
"queue": {},
|
|
"queuePriority": {}
|
|
}
|
|
},
|
|
"shots": {
|
|
"type": "long"
|
|
},
|
|
"status": {},
|
|
"tags": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListTagsForResource": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"tags": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"SearchDevices": {
|
|
"http": {
|
|
"requestUri": "/devices",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"filters"
|
|
],
|
|
"members": {
|
|
"filters": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"name",
|
|
"values"
|
|
],
|
|
"members": {
|
|
"name": {},
|
|
"values": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"maxResults": {
|
|
"type": "integer"
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"devices"
|
|
],
|
|
"members": {
|
|
"devices": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"deviceArn",
|
|
"deviceName",
|
|
"deviceStatus",
|
|
"deviceType",
|
|
"providerName"
|
|
],
|
|
"members": {
|
|
"deviceArn": {},
|
|
"deviceName": {},
|
|
"deviceStatus": {},
|
|
"deviceType": {},
|
|
"providerName": {}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"SearchJobs": {
|
|
"http": {
|
|
"requestUri": "/jobs",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"filters"
|
|
],
|
|
"members": {
|
|
"filters": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"name",
|
|
"operator",
|
|
"values"
|
|
],
|
|
"members": {
|
|
"name": {},
|
|
"operator": {},
|
|
"values": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"maxResults": {
|
|
"type": "integer"
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"jobs"
|
|
],
|
|
"members": {
|
|
"jobs": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"createdAt",
|
|
"device",
|
|
"jobArn",
|
|
"jobName",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"createdAt": {
|
|
"shape": "S1q"
|
|
},
|
|
"device": {},
|
|
"endedAt": {
|
|
"shape": "S1q"
|
|
},
|
|
"jobArn": {},
|
|
"jobName": {},
|
|
"startedAt": {
|
|
"shape": "S1q"
|
|
},
|
|
"status": {},
|
|
"tags": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"SearchQuantumTasks": {
|
|
"http": {
|
|
"requestUri": "/quantum-tasks",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"filters"
|
|
],
|
|
"members": {
|
|
"filters": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"name",
|
|
"operator",
|
|
"values"
|
|
],
|
|
"members": {
|
|
"name": {},
|
|
"operator": {},
|
|
"values": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"maxResults": {
|
|
"type": "integer"
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"quantumTasks"
|
|
],
|
|
"members": {
|
|
"nextToken": {},
|
|
"quantumTasks": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"createdAt",
|
|
"deviceArn",
|
|
"outputS3Bucket",
|
|
"outputS3Directory",
|
|
"quantumTaskArn",
|
|
"shots",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"createdAt": {
|
|
"shape": "S1q"
|
|
},
|
|
"deviceArn": {},
|
|
"endedAt": {
|
|
"shape": "S1q"
|
|
},
|
|
"outputS3Bucket": {},
|
|
"outputS3Directory": {},
|
|
"quantumTaskArn": {},
|
|
"shots": {
|
|
"type": "long"
|
|
},
|
|
"status": {},
|
|
"tags": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"TagResource": {
|
|
"http": {
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn",
|
|
"tags"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
},
|
|
"tags": {
|
|
"shape": "S12"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"UntagResource": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn",
|
|
"tagKeys"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
},
|
|
"tagKeys": {
|
|
"location": "querystring",
|
|
"locationName": "tagKeys",
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"idempotent": true
|
|
}
|
|
},
|
|
"shapes": {
|
|
"Sa": {
|
|
"type": "structure",
|
|
"members": {
|
|
"containerImage": {
|
|
"type": "structure",
|
|
"required": [
|
|
"uri"
|
|
],
|
|
"members": {
|
|
"uri": {}
|
|
}
|
|
},
|
|
"scriptModeConfig": {
|
|
"type": "structure",
|
|
"required": [
|
|
"entryPoint",
|
|
"s3Uri"
|
|
],
|
|
"members": {
|
|
"compressionType": {},
|
|
"entryPoint": {},
|
|
"s3Uri": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Sh": {
|
|
"type": "structure",
|
|
"required": [
|
|
"s3Uri"
|
|
],
|
|
"members": {
|
|
"localPath": {},
|
|
"s3Uri": {}
|
|
}
|
|
},
|
|
"Sj": {
|
|
"type": "structure",
|
|
"required": [
|
|
"device"
|
|
],
|
|
"members": {
|
|
"device": {}
|
|
}
|
|
},
|
|
"Sl": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"So": {
|
|
"type": "structure",
|
|
"required": [
|
|
"channelName",
|
|
"dataSource"
|
|
],
|
|
"members": {
|
|
"channelName": {},
|
|
"contentType": {},
|
|
"dataSource": {
|
|
"type": "structure",
|
|
"required": [
|
|
"s3DataSource"
|
|
],
|
|
"members": {
|
|
"s3DataSource": {
|
|
"type": "structure",
|
|
"required": [
|
|
"s3Uri"
|
|
],
|
|
"members": {
|
|
"s3Uri": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Ss": {
|
|
"type": "structure",
|
|
"required": [
|
|
"instanceType",
|
|
"volumeSizeInGb"
|
|
],
|
|
"members": {
|
|
"instanceCount": {
|
|
"type": "integer"
|
|
},
|
|
"instanceType": {},
|
|
"volumeSizeInGb": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"Sx": {
|
|
"type": "structure",
|
|
"required": [
|
|
"s3Path"
|
|
],
|
|
"members": {
|
|
"kmsKeyId": {},
|
|
"s3Path": {}
|
|
}
|
|
},
|
|
"S10": {
|
|
"type": "structure",
|
|
"members": {
|
|
"maxRuntimeInSeconds": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"S12": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"S1q": {
|
|
"type": "timestamp",
|
|
"timestampFormat": "iso8601"
|
|
}
|
|
}
|
|
} |