Braket
public struct Braket
Client object for interacting with AWS Braket service.
The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.
-
Undocumented
Declaration
Swift
public let client: AWSClient
-
Initialize the Braket client
Declaration
Swift
public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)
Parameters
accessKeyId
Public access key provided by AWS
secretAccessKey
Private access key provided by AWS
sessionToken
Token provided by STS.AssumeRole() which allows access to another AWS account
region
Region of server you want to communicate with
endpoint
Custom endpoint URL to use instead of standard AWS servers
middlewares
Array of middlewares to apply to requests and responses
eventLoopGroupProvider
EventLoopGroup to use. Use
useAWSClientShared
if the client shall manage its own EventLoopGroup.
-
Cancels the specified task.
Declaration
Swift
public func cancelQuantumTask(_ input: CancelQuantumTaskRequest) -> EventLoopFuture<CancelQuantumTaskResponse>
-
Creates a quantum task.
Declaration
Swift
public func createQuantumTask(_ input: CreateQuantumTaskRequest) -> EventLoopFuture<CreateQuantumTaskResponse>
-
Retrieves the devices available in Amazon Braket.
Declaration
Swift
public func getDevice(_ input: GetDeviceRequest) -> EventLoopFuture<GetDeviceResponse>
-
Retrieves the specified quantum task.
Declaration
Swift
public func getQuantumTask(_ input: GetQuantumTaskRequest) -> EventLoopFuture<GetQuantumTaskResponse>
-
Searches for devices using the specified filters.
Declaration
Swift
public func searchDevices(_ input: SearchDevicesRequest) -> EventLoopFuture<SearchDevicesResponse>
-
Searches for tasks that match the specified filter values.
Declaration
Swift
public func searchQuantumTasks(_ input: SearchQuantumTasksRequest) -> EventLoopFuture<SearchQuantumTasksResponse>
-
Searches for devices using the specified filters.
Declaration
Swift
public func searchDevicesPaginator(_ input: SearchDevicesRequest, onPage: @escaping (SearchDevicesResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Searches for tasks that match the specified filter values.
Declaration
Swift
public func searchQuantumTasksPaginator(_ input: SearchQuantumTasksRequest, onPage: @escaping (SearchQuantumTasksResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
-
Undocumented
See moreDeclaration
Swift
public struct SearchDevicesRequest : AWSShape
extension Braket.SearchDevicesRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public struct SearchQuantumTasksRequest : AWSShape
extension Braket.SearchQuantumTasksRequest: AWSPaginateStringToken
-
Undocumented
See moreDeclaration
Swift
public enum CancellationStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum DeviceStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum DeviceType : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum QuantumTaskStatus : String, CustomStringConvertible, Codable
-
Undocumented
See moreDeclaration
Swift
public enum SearchQuantumTasksFilterOperator : String, CustomStringConvertible, Codable