get_quantum_task
async
¶
get_quantum_task(
quantum_task_arn: QuantumTaskArn,
*,
config_overrides: Optional[AsyncBraketClientConfig] = None,
additional_attribute_names: Optional[
QuantumTaskAdditionalAttributeNamesList
] = None,
) -> GetQuantumTaskResponse
Retrieves the specified quantum task.
Parameters:
-
quantum_task_arn(QuantumTaskArn) –The ARN of the quantum task to retrieve.
-
additional_attribute_names(Optional[QuantumTaskAdditionalAttributeNamesList], default:None) –A list of attributes to return additional information for. Only the QueueInfo additional attribute name is currently supported.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–The request failed because of an unknown error.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The API throttling rate limit is exceeded.
-
ValidationException–The input request failed to satisfy constraints expected by Amazon Braket.
-
UnknownServiceError–The service returned an error code this client does not model.