{ "smithy": "1.0", "shapes": { "com.amazonaws.braket#AccessDeniedException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

You do not have sufficient access to perform this action.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.braket#Arn": { "type": "string", "traits": { "smithy.api#documentation": "/////" } }, "com.amazonaws.braket#Braket": { "type": "service", "version": "2019-09-01", "operations": [ { "target": "com.amazonaws.braket#ListTagsForResource" }, { "target": "com.amazonaws.braket#TagResource" }, { "target": "com.amazonaws.braket#UntagResource" } ], "resources": [ { "target": "com.amazonaws.braket#DeviceResource" }, { "target": "com.amazonaws.braket#HybridJobResource" }, { "target": "com.amazonaws.braket#QuantumJobResource" }, { "target": "com.amazonaws.braket#QuantumTaskResource" } ], "traits": { "aws.api#service": { "sdkId": "Braket", "arnNamespace": "braket", "cloudFormationName": "Braket", "cloudTrailEventSource": "braket.amazonaws.com" }, "aws.auth#sigv4": { "name": "braket" }, "aws.protocols#restJson1": {}, "smithy.api#cors": { "additionalAllowedHeaders": [ "x-amz-content-sha256", "x-amzn-trace-id", "x-amz-user-agent", "*", "content-type", "x-amzn-platform-id" ], "additionalExposedHeaders": [ "date", "x-amz-apigw-id", "x-amzn-trace-id", "x-amzn-errortype", "x-amzn-requestid", "x-amzn-errormessage" ] }, "smithy.api#documentation": "

The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.

", "smithy.api#title": "Braket" } }, "com.amazonaws.braket#CancelQuantumTask": { "type": "operation", "input": { "target": "com.amazonaws.braket#CancelQuantumTaskRequest" }, "output": { "target": "com.amazonaws.braket#CancelQuantumTaskResponse" }, "errors": [ { "target": "com.amazonaws.braket#AccessDeniedException" }, { "target": "com.amazonaws.braket#ConflictException" }, { "target": "com.amazonaws.braket#InternalServiceException" }, { "target": "com.amazonaws.braket#ResourceNotFoundException" }, { "target": "com.amazonaws.braket#ThrottlingException" }, { "target": "com.amazonaws.braket#ValidationException" } ], "traits": { "smithy.api#documentation": "

Cancels the specified task.

", "smithy.api#http": { "method": "PUT", "uri": "/quantum-task/{quantumTaskArn}/cancel", "code": 200 }, "smithy.api#idempotent": {} } }, "com.amazonaws.braket#CancelQuantumTaskRequest": { "type": "structure", "members": { "quantumTaskArn": { "target": "com.amazonaws.braket#QuantumTaskArn", "traits": { "smithy.api#documentation": "

The ARN of the task to cancel.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "clientToken": { "target": "com.amazonaws.braket#String64", "traits": { "smithy.api#documentation": "

The client token associated with the request.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } } } }, "com.amazonaws.braket#CancelQuantumTaskResponse": { "type": "structure", "members": { "quantumTaskArn": { "target": "com.amazonaws.braket#QuantumTaskArn", "traits": { "smithy.api#documentation": "

The ARN of the task.

", "smithy.api#required": {} } }, "cancellationStatus": { "target": "com.amazonaws.braket#CancellationStatus", "traits": { "smithy.api#documentation": "

The status of the cancellation request.

", "smithy.api#required": {} } } } }, "com.amazonaws.braket#CancellationStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CANCELLING", "name": "CANCELLING" }, { "value": "CANCELLED", "name": "CANCELLED" } ] } }, "com.amazonaws.braket#ConflictException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

An error occurred due to a conflict.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.braket#CreateQuantumTask": { "type": "operation", "input": { "target": "com.amazonaws.braket#CreateQuantumTaskRequest" }, "output": { "target": "com.amazonaws.braket#CreateQuantumTaskResponse" }, "errors": [ { "target": "com.amazonaws.braket#AccessDeniedException" }, { "target": "com.amazonaws.braket#DeviceOfflineException" }, { "target": "com.amazonaws.braket#InternalServiceException" }, { "target": "com.amazonaws.braket#ServiceQuotaExceededException" }, { "target": "com.amazonaws.braket#ThrottlingException" }, { "target": "com.amazonaws.braket#ValidationException" } ], "traits": { "smithy.api#documentation": "

Creates a quantum task.

", "smithy.api#http": { "method": "POST", "uri": "/quantum-task", "code": 201 } } }, "com.amazonaws.braket#CreateQuantumTaskRequest": { "type": "structure", "members": { "clientToken": { "target": "com.amazonaws.braket#String64", "traits": { "smithy.api#documentation": "

The client token associated with the request.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } }, "deviceArn": { "target": "com.amazonaws.braket#DeviceArn", "traits": { "smithy.api#documentation": "

The ARN of the device to run the task on.

", "smithy.api#required": {} } }, "deviceParameters": { "target": "com.amazonaws.braket#JsonValue", "traits": { "smithy.api#documentation": "

The parameters for the device to run the task on.

", "smithy.api#length": { "min": 1, "max": 2048 } } }, "shots": { "target": "smithy.api#Long", "traits": { "smithy.api#documentation": "

The number of shots to use for the task.

", "smithy.api#range": { "min": 0 }, "smithy.api#required": {} } }, "outputS3Bucket": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The S3 bucket to store task result files in.

", "smithy.api#length": { "min": 3, "max": 63 }, "smithy.api#required": {} } }, "outputS3KeyPrefix": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The key prefix for the location in the S3 bucket to store task results in.

", "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#required": {} } }, "action": { "target": "com.amazonaws.braket#JsonValue", "traits": { "smithy.api#documentation": "

The action associated with the task.

", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.braket#TagsMap", "traits": { "smithy.api#documentation": "

Tags to be added to the quantum task you're creating.

" } } } }, "com.amazonaws.braket#CreateQuantumTaskResponse": { "type": "structure", "members": { "quantumTaskArn": { "target": "com.amazonaws.braket#QuantumTaskArn", "traits": { "smithy.api#documentation": "

The ARN of the task created by the request.

", "smithy.api#required": {} } } } }, "com.amazonaws.braket#DeviceArn": { "type": "string", "traits": { "aws.api#arnReference": { "service": "com.amazonaws.braket#Braket", "resource": "com.amazonaws.braket#DeviceResource" }, "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.braket#DeviceOfflineException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

The specified device is currently offline.

", "smithy.api#error": "client", "smithy.api#httpError": 424 } }, "com.amazonaws.braket#DeviceResource": { "type": "resource", "identifiers": { "deviceArn": { "target": "com.amazonaws.braket#DeviceArn" } }, "read": { "target": "com.amazonaws.braket#GetDevice" }, "list": { "target": "com.amazonaws.braket#SearchDevices" }, "traits": { "aws.api#arn": { "template": "{deviceArn}", "absolute": true, "noAccount": false, "noRegion": false } } }, "com.amazonaws.braket#DeviceStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ONLINE", "name": "ONLINE" }, { "value": "OFFLINE", "name": "OFFLINE" } ] } }, "com.amazonaws.braket#DeviceSummary": { "type": "structure", "members": { "deviceArn": { "target": "com.amazonaws.braket#DeviceArn", "traits": { "smithy.api#documentation": "

The ARN of the device.

", "smithy.api#required": {} } }, "deviceName": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The name of the device.

", "smithy.api#required": {} } }, "providerName": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The provider of the device.

", "smithy.api#required": {} } }, "deviceType": { "target": "com.amazonaws.braket#DeviceType", "traits": { "smithy.api#documentation": "

The type of the device.

", "smithy.api#required": {} } }, "deviceStatus": { "target": "com.amazonaws.braket#DeviceStatus", "traits": { "smithy.api#documentation": "

The status of the device.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Includes information about the device.

" } }, "com.amazonaws.braket#DeviceSummaryList": { "type": "list", "member": { "target": "com.amazonaws.braket#DeviceSummary" } }, "com.amazonaws.braket#DeviceType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "QPU", "name": "QPU" }, { "value": "SIMULATOR", "name": "SIMULATOR" } ] } }, "com.amazonaws.braket#GetDevice": { "type": "operation", "input": { "target": "com.amazonaws.braket#GetDeviceRequest" }, "output": { "target": "com.amazonaws.braket#GetDeviceResponse" }, "errors": [ { "target": "com.amazonaws.braket#AccessDeniedException" }, { "target": "com.amazonaws.braket#InternalServiceException" }, { "target": "com.amazonaws.braket#ResourceNotFoundException" }, { "target": "com.amazonaws.braket#ThrottlingException" }, { "target": "com.amazonaws.braket#ValidationException" } ], "traits": { "smithy.api#documentation": "

Retrieves the devices available in Amazon Braket.

", "smithy.api#http": { "method": "GET", "uri": "/device/{deviceArn}", "code": 200 }, "smithy.api#readonly": {} } }, "com.amazonaws.braket#GetDeviceRequest": { "type": "structure", "members": { "deviceArn": { "target": "com.amazonaws.braket#DeviceArn", "traits": { "smithy.api#documentation": "

The ARN of the device to retrieve.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.braket#GetDeviceResponse": { "type": "structure", "members": { "deviceArn": { "target": "com.amazonaws.braket#DeviceArn", "traits": { "smithy.api#documentation": "

The ARN of the device.

", "smithy.api#required": {} } }, "deviceName": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The name of the device.

", "smithy.api#required": {} } }, "providerName": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The name of the partner company for the device.

", "smithy.api#required": {} } }, "deviceType": { "target": "com.amazonaws.braket#DeviceType", "traits": { "smithy.api#documentation": "

The type of the device.

", "smithy.api#required": {} } }, "deviceStatus": { "target": "com.amazonaws.braket#DeviceStatus", "traits": { "smithy.api#documentation": "

The status of the device.

", "smithy.api#required": {} } }, "deviceCapabilities": { "target": "com.amazonaws.braket#JsonValue", "traits": { "smithy.api#documentation": "

Details about the capabilities of the device.

", "smithy.api#required": {} } } } }, "com.amazonaws.braket#GetQuantumTask": { "type": "operation", "input": { "target": "com.amazonaws.braket#GetQuantumTaskRequest" }, "output": { "target": "com.amazonaws.braket#GetQuantumTaskResponse" }, "errors": [ { "target": "com.amazonaws.braket#AccessDeniedException" }, { "target": "com.amazonaws.braket#InternalServiceException" }, { "target": "com.amazonaws.braket#ResourceNotFoundException" }, { "target": "com.amazonaws.braket#ThrottlingException" }, { "target": "com.amazonaws.braket#ValidationException" } ], "traits": { "smithy.api#documentation": "

Retrieves the specified quantum task.

", "smithy.api#http": { "method": "GET", "uri": "/quantum-task/{quantumTaskArn}", "code": 200 }, "smithy.api#readonly": {} } }, "com.amazonaws.braket#GetQuantumTaskRequest": { "type": "structure", "members": { "quantumTaskArn": { "target": "com.amazonaws.braket#QuantumTaskArn", "traits": { "smithy.api#documentation": "

the ARN of the task to retrieve.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.braket#GetQuantumTaskResponse": { "type": "structure", "members": { "quantumTaskArn": { "target": "com.amazonaws.braket#QuantumTaskArn", "traits": { "smithy.api#documentation": "

The ARN of the task.

", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.braket#QuantumTaskStatus", "traits": { "smithy.api#documentation": "

The status of the task.

", "smithy.api#required": {} } }, "failureReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The reason that a task failed.

" } }, "deviceArn": { "target": "com.amazonaws.braket#DeviceArn", "traits": { "smithy.api#documentation": "

The ARN of the device the task was run on.

", "smithy.api#required": {} } }, "deviceParameters": { "target": "com.amazonaws.braket#JsonValue", "traits": { "smithy.api#documentation": "

The parameters for the device on which the task ran.

", "smithy.api#required": {} } }, "shots": { "target": "smithy.api#Long", "traits": { "smithy.api#documentation": "

The number of shots used in the task.

", "smithy.api#required": {} } }, "outputS3Bucket": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The S3 bucket where task results are stored.

", "smithy.api#required": {} } }, "outputS3Directory": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The folder in the S3 bucket where task results are stored.

", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The time at which the task was created.

", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "endedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The time at which the task ended.

", "smithy.api#timestampFormat": "date-time" } }, "tags": { "target": "com.amazonaws.braket#TagsMap", "traits": { "smithy.api#documentation": "

The tags that belong to this task.

" } } } }, "com.amazonaws.braket#HybridJobResource": { "type": "resource", "identifiers": { "hybridJobArn": { "target": "com.amazonaws.braket#Arn" } }, "traits": { "aws.api#arn": { "template": "{hybridJobArn}", "absolute": true, "noAccount": false, "noRegion": false } } }, "com.amazonaws.braket#InternalServiceException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

The request processing has failed because of an unknown error, exception, or failure.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.braket#JsonValue": { "type": "string", "traits": { "smithy.api#mediaType": "application/json" } }, "com.amazonaws.braket#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.braket#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.braket#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.braket#InternalServiceException" }, { "target": "com.amazonaws.braket#ResourceNotFoundException" }, { "target": "com.amazonaws.braket#ValidationException" } ], "traits": { "smithy.api#documentation": "

Shows the tags associated with this resource.

", "smithy.api#http": { "method": "GET", "uri": "/tags/{resourceArn}", "code": 200 }, "smithy.api#readonly": {} } }, "com.amazonaws.braket#ListTagsForResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

Specify the resourceArn for the resource whose tags to display.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.braket#ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.braket#TagsMap", "traits": { "smithy.api#documentation": "

Displays the key, value pairs of tags associated with this resource.

" } } } }, "com.amazonaws.braket#QuantumJobResource": { "type": "resource", "identifiers": { "quantumJobArn": { "target": "com.amazonaws.braket#Arn" } }, "traits": { "aws.api#arn": { "template": "{quantumJobArn}", "absolute": true, "noAccount": false, "noRegion": false } } }, "com.amazonaws.braket#QuantumTaskArn": { "type": "string", "traits": { "aws.api#arnReference": { "service": "com.amazonaws.braket#Braket", "resource": "com.amazonaws.braket#QuantumTaskResource" }, "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.braket#QuantumTaskResource": { "type": "resource", "identifiers": { "quantumTaskArn": { "target": "com.amazonaws.braket#QuantumTaskArn" } }, "create": { "target": "com.amazonaws.braket#CreateQuantumTask" }, "read": { "target": "com.amazonaws.braket#GetQuantumTask" }, "update": { "target": "com.amazonaws.braket#CancelQuantumTask" }, "list": { "target": "com.amazonaws.braket#SearchQuantumTasks" }, "traits": { "aws.api#arn": { "template": "{quantumTaskArn}", "absolute": true, "noAccount": false, "noRegion": false } } }, "com.amazonaws.braket#QuantumTaskStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATED", "name": "CREATED" }, { "value": "QUEUED", "name": "QUEUED" }, { "value": "RUNNING", "name": "RUNNING" }, { "value": "COMPLETED", "name": "COMPLETED" }, { "value": "FAILED", "name": "FAILED" }, { "value": "CANCELLING", "name": "CANCELLING" }, { "value": "CANCELLED", "name": "CANCELLED" } ] } }, "com.amazonaws.braket#QuantumTaskSummary": { "type": "structure", "members": { "quantumTaskArn": { "target": "com.amazonaws.braket#QuantumTaskArn", "traits": { "smithy.api#documentation": "

The ARN of the task.

", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.braket#QuantumTaskStatus", "traits": { "smithy.api#documentation": "

The status of the task.

", "smithy.api#required": {} } }, "deviceArn": { "target": "com.amazonaws.braket#DeviceArn", "traits": { "smithy.api#documentation": "

The ARN of the device the task ran on.

", "smithy.api#required": {} } }, "shots": { "target": "smithy.api#Long", "traits": { "smithy.api#documentation": "

The shots used for the task.

", "smithy.api#required": {} } }, "outputS3Bucket": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The S3 bucket where the task result file is stored..

", "smithy.api#required": {} } }, "outputS3Directory": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The folder in the S3 bucket where the task result file is stored.

", "smithy.api#required": {} } }, "createdAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The time at which the task was created.

", "smithy.api#required": {}, "smithy.api#timestampFormat": "date-time" } }, "endedAt": { "target": "smithy.api#Timestamp", "traits": { "smithy.api#documentation": "

The time at which the task finished.

", "smithy.api#timestampFormat": "date-time" } }, "tags": { "target": "com.amazonaws.braket#TagsMap", "traits": { "smithy.api#documentation": "

Displays the key, value pairs of tags associated with this quantum task.

" } } }, "traits": { "smithy.api#documentation": "

Includes information about a quantum task.

" } }, "com.amazonaws.braket#QuantumTaskSummaryList": { "type": "list", "member": { "target": "com.amazonaws.braket#QuantumTaskSummary" } }, "com.amazonaws.braket#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

The specified resource was not found.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.braket#SearchDevices": { "type": "operation", "input": { "target": "com.amazonaws.braket#SearchDevicesRequest" }, "output": { "target": "com.amazonaws.braket#SearchDevicesResponse" }, "errors": [ { "target": "com.amazonaws.braket#AccessDeniedException" }, { "target": "com.amazonaws.braket#InternalServiceException" }, { "target": "com.amazonaws.braket#ThrottlingException" }, { "target": "com.amazonaws.braket#ValidationException" } ], "traits": { "smithy.api#documentation": "

Searches for devices using the specified filters.

", "smithy.api#http": { "method": "POST", "uri": "/devices", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "devices", "pageSize": "maxResults" }, "smithy.api#readonly": {} } }, "com.amazonaws.braket#SearchDevicesFilter": { "type": "structure", "members": { "name": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

The name to use to filter results.

", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#required": {} } }, "values": { "target": "com.amazonaws.braket#String256List", "traits": { "smithy.api#documentation": "

The values to use to filter results.

", "smithy.api#length": { "min": 1, "max": 10 }, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The filter to use for searching devices.

" } }, "com.amazonaws.braket#SearchDevicesFilterList": { "type": "list", "member": { "target": "com.amazonaws.braket#SearchDevicesFilter" } }, "com.amazonaws.braket#SearchDevicesRequest": { "type": "structure", "members": { "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.

" } }, "maxResults": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

The maximum number of results to return in the response.

", "smithy.api#range": { "min": 1, "max": 100 } } }, "filters": { "target": "com.amazonaws.braket#SearchDevicesFilterList", "traits": { "smithy.api#documentation": "

The filter values to use to search for a device.

", "smithy.api#length": { "min": 0, "max": 10 }, "smithy.api#required": {} } } } }, "com.amazonaws.braket#SearchDevicesResponse": { "type": "structure", "members": { "devices": { "target": "com.amazonaws.braket#DeviceSummaryList", "traits": { "smithy.api#documentation": "

An array of DeviceSummary objects for devices that match the specified filter values.

", "smithy.api#required": {} } }, "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.

" } } } }, "com.amazonaws.braket#SearchQuantumTasks": { "type": "operation", "input": { "target": "com.amazonaws.braket#SearchQuantumTasksRequest" }, "output": { "target": "com.amazonaws.braket#SearchQuantumTasksResponse" }, "errors": [ { "target": "com.amazonaws.braket#AccessDeniedException" }, { "target": "com.amazonaws.braket#InternalServiceException" }, { "target": "com.amazonaws.braket#ThrottlingException" }, { "target": "com.amazonaws.braket#ValidationException" } ], "traits": { "smithy.api#documentation": "

Searches for tasks that match the specified filter values.

", "smithy.api#http": { "method": "POST", "uri": "/quantum-tasks", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "quantumTasks", "pageSize": "maxResults" }, "smithy.api#readonly": {} } }, "com.amazonaws.braket#SearchQuantumTasksFilter": { "type": "structure", "members": { "name": { "target": "com.amazonaws.braket#String64", "traits": { "smithy.api#documentation": "

The name of the device used for the task.

", "smithy.api#required": {} } }, "values": { "target": "com.amazonaws.braket#String256List", "traits": { "smithy.api#documentation": "

The values to use for the filter.

", "smithy.api#length": { "min": 1, "max": 10 }, "smithy.api#required": {} } }, "operator": { "target": "com.amazonaws.braket#SearchQuantumTasksFilterOperator", "traits": { "smithy.api#documentation": "

An operator to use in the filter.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

A filter to use to search for tasks.

" } }, "com.amazonaws.braket#SearchQuantumTasksFilterList": { "type": "list", "member": { "target": "com.amazonaws.braket#SearchQuantumTasksFilter" } }, "com.amazonaws.braket#SearchQuantumTasksFilterOperator": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "LT", "name": "LT" }, { "value": "LTE", "name": "LTE" }, { "value": "EQUAL", "name": "EQUAL" }, { "value": "GT", "name": "GT" }, { "value": "GTE", "name": "GTE" }, { "value": "BETWEEN", "name": "BETWEEN" } ] } }, "com.amazonaws.braket#SearchQuantumTasksRequest": { "type": "structure", "members": { "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.

" } }, "maxResults": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "

Maximum number of results to return in the response.

", "smithy.api#range": { "min": 1, "max": 100 } } }, "filters": { "target": "com.amazonaws.braket#SearchQuantumTasksFilterList", "traits": { "smithy.api#documentation": "

Array of SearchQuantumTasksFilter objects.

", "smithy.api#length": { "min": 0, "max": 10 }, "smithy.api#required": {} } } } }, "com.amazonaws.braket#SearchQuantumTasksResponse": { "type": "structure", "members": { "quantumTasks": { "target": "com.amazonaws.braket#QuantumTaskSummaryList", "traits": { "smithy.api#documentation": "

An array of QuantumTaskSummary objects for tasks that match the specified filters.

", "smithy.api#required": {} } }, "nextToken": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.

" } } } }, "com.amazonaws.braket#ServiceQuotaExceededException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

The request failed because a service quota is exceeded.

", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.braket#String256": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.braket#String256List": { "type": "list", "member": { "target": "com.amazonaws.braket#String256" } }, "com.amazonaws.braket#String64": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.braket#TagKeys": { "type": "list", "member": { "target": "smithy.api#String" } }, "com.amazonaws.braket#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.braket#TagResourceRequest" }, "output": { "target": "com.amazonaws.braket#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.braket#InternalServiceException" }, { "target": "com.amazonaws.braket#ResourceNotFoundException" }, { "target": "com.amazonaws.braket#ValidationException" } ], "traits": { "smithy.api#documentation": "

Add a tag to the specified resource.

", "smithy.api#http": { "method": "POST", "uri": "/tags/{resourceArn}", "code": 200 } } }, "com.amazonaws.braket#TagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

Specify the resourceArn of the resource to which a tag will be added.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.braket#TagsMap", "traits": { "smithy.api#documentation": "

Specify the tags to add to the resource.

", "smithy.api#required": {} } } } }, "com.amazonaws.braket#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.braket#TagsMap": { "type": "map", "key": { "target": "smithy.api#String" }, "value": { "target": "smithy.api#String" } }, "com.amazonaws.braket#ThrottlingException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

The throttling rate limit is met.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.braket#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.braket#UntagResourceRequest" }, "output": { "target": "com.amazonaws.braket#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.braket#InternalServiceException" }, { "target": "com.amazonaws.braket#ResourceNotFoundException" }, { "target": "com.amazonaws.braket#ValidationException" } ], "traits": { "smithy.api#documentation": "

Remove tags from a resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{resourceArn}", "code": 200 }, "smithy.api#idempotent": {} } }, "com.amazonaws.braket#UntagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "

Specify the resourceArn for the resource from which to remove the tags.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.braket#TagKeys", "traits": { "smithy.api#documentation": "

pecify the keys for the tags to remove from the resource.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } } }, "com.amazonaws.braket#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.braket#ValidationException": { "type": "structure", "members": { "message": { "target": "smithy.api#String" } }, "traits": { "smithy.api#documentation": "

The input fails to satisfy the constraints specified by an AWS service.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } } } }