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
accessKeyIdPublic access key provided by AWS
secretAccessKeyPrivate access key provided by AWS
sessionTokenToken provided by STS.AssumeRole() which allows access to another AWS account
regionRegion of server you want to communicate with
endpointCustom endpoint URL to use instead of standard AWS servers
middlewaresArray of middlewares to apply to requests and responses
eventLoopGroupProviderEventLoopGroup to use. Use
useAWSClientSharedif 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 : AWSShapeextension Braket.SearchDevicesRequest: AWSPaginateStringToken -
Undocumented
See moreDeclaration
Swift
public struct SearchQuantumTasksRequest : AWSShapeextension 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
View on GitHub
Braket Structure Reference