Class: Aws::Braket::Client
- Inherits:
- 
      Seahorse::Client::Base
      
        - Object
- Seahorse::Client::Base
- Aws::Braket::Client
 
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb
Overview
An API client for Braket.  To construct a client, you need to configure a :region and :credentials.
client = Aws::Braket::Client.new(
  region: region_name,
  credentials: credentials,
  # ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
- 
  
    
      #cancel_job(params = {})  ⇒ Types::CancelJobResponse 
    
    
  
  
  
  
  
  
  
  
  
    Cancels an Amazon Braket hybrid job. 
- 
  
    
      #cancel_quantum_task(params = {})  ⇒ Types::CancelQuantumTaskResponse 
    
    
  
  
  
  
  
  
  
  
  
    Cancels the specified task. 
- 
  
    
      #create_job(params = {})  ⇒ Types::CreateJobResponse 
    
    
  
  
  
  
  
  
  
  
  
    Creates an Amazon Braket hybrid job. 
- 
  
    
      #create_quantum_task(params = {})  ⇒ Types::CreateQuantumTaskResponse 
    
    
  
  
  
  
  
  
  
  
  
    Creates a quantum task. 
- 
  
    
      #get_device(params = {})  ⇒ Types::GetDeviceResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the devices available in Amazon Braket. 
- 
  
    
      #get_job(params = {})  ⇒ Types::GetJobResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the specified Amazon Braket hybrid job. 
- 
  
    
      #get_quantum_task(params = {})  ⇒ Types::GetQuantumTaskResponse 
    
    
  
  
  
  
  
  
  
  
  
    Retrieves the specified quantum task. 
- 
  
    
      #list_tags_for_resource(params = {})  ⇒ Types::ListTagsForResourceResponse 
    
    
  
  
  
  
  
  
  
  
  
    Shows the tags associated with this resource. 
- 
  
    
      #search_devices(params = {})  ⇒ Types::SearchDevicesResponse 
    
    
  
  
  
  
  
  
  
  
  
    Searches for devices using the specified filters. 
- 
  
    
      #search_jobs(params = {})  ⇒ Types::SearchJobsResponse 
    
    
  
  
  
  
  
  
  
  
  
    Searches for Amazon Braket hybrid jobs that match the specified filter values. 
- 
  
    
      #search_quantum_tasks(params = {})  ⇒ Types::SearchQuantumTasksResponse 
    
    
  
  
  
  
  
  
  
  
  
    Searches for tasks that match the specified filter values. 
- 
  
    
      #tag_resource(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Add a tag to the specified resource. 
- 
  
    
      #untag_resource(params = {})  ⇒ Struct 
    
    
  
  
  
  
  
  
  
  
  
    Remove tags from a resource. 
Instance Method Summary collapse
- 
  
    
      #initialize(options)  ⇒ Client 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Client. 
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
| 473 474 475 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 473 def initialize(*args) super end | 
Instance Method Details
#cancel_job(params = {}) ⇒ Types::CancelJobResponse
Cancels an Amazon Braket hybrid job.
| 504 505 506 507 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 504 def cancel_job(params = {}, = {}) req = build_request(:cancel_job, params) req.send_request() end | 
#cancel_quantum_task(params = {}) ⇒ Types::CancelQuantumTaskResponse
Cancels the specified task.
| 541 542 543 544 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 541 def cancel_quantum_task(params = {}, = {}) req = build_request(:cancel_quantum_task, params) req.send_request() end | 
#create_job(params = {}) ⇒ Types::CreateJobResponse
Creates an Amazon Braket hybrid job.
| 683 684 685 686 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 683 def create_job(params = {}, = {}) req = build_request(:create_job, params) req.send_request() end | 
#create_quantum_task(params = {}) ⇒ Types::CreateQuantumTaskResponse
Creates a quantum task.
| 767 768 769 770 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 767 def create_quantum_task(params = {}, = {}) req = build_request(:create_quantum_task, params) req.send_request() end | 
#get_device(params = {}) ⇒ Types::GetDeviceResponse
Retrieves the devices available in Amazon Braket.
| 822 823 824 825 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 822 def get_device(params = {}, = {}) req = build_request(:get_device, params) req.send_request() end | 
#get_job(params = {}) ⇒ Types::GetJobResponse
Retrieves the specified Amazon Braket hybrid job.
| 914 915 916 917 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 914 def get_job(params = {}, = {}) req = build_request(:get_job, params) req.send_request() end | 
#get_quantum_task(params = {}) ⇒ Types::GetQuantumTaskResponse
Retrieves the specified quantum task.
| 985 986 987 988 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 985 def get_quantum_task(params = {}, = {}) req = build_request(:get_quantum_task, params) req.send_request() end | 
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Shows the tags associated with this resource.
| 1014 1015 1016 1017 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 1014 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end | 
#search_devices(params = {}) ⇒ Types::SearchDevicesResponse
Searches for devices using the specified filters.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 1067 1068 1069 1070 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 1067 def search_devices(params = {}, = {}) req = build_request(:search_devices, params) req.send_request() end | 
#search_jobs(params = {}) ⇒ Types::SearchJobsResponse
Searches for Amazon Braket hybrid jobs that match the specified filter values.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 1126 1127 1128 1129 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 1126 def search_jobs(params = {}, = {}) req = build_request(:search_jobs, params) req.send_request() end | 
#search_quantum_tasks(params = {}) ⇒ Types::SearchQuantumTasksResponse
Searches for tasks that match the specified filter values.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
| 1185 1186 1187 1188 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 1185 def search_quantum_tasks(params = {}, = {}) req = build_request(:search_quantum_tasks, params) req.send_request() end | 
#tag_resource(params = {}) ⇒ Struct
Add a tag to the specified resource.
| 1215 1216 1217 1218 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 1215 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end | 
#untag_resource(params = {}) ⇒ Struct
Remove tags from a resource.
| 1242 1243 1244 1245 | # File 'gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb', line 1242 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |