@aws-sdk/client-braket 3.312.0 → 3.316.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,118 +13,98 @@ import { SearchJobsCommandInput, SearchJobsCommandOutput } from "./commands/Sear
13
13
  import { SearchQuantumTasksCommandInput, SearchQuantumTasksCommandOutput } from "./commands/SearchQuantumTasksCommand";
14
14
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
15
15
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
16
- /**
17
- * @public
18
- * <p>The Amazon Braket API Reference provides information about the operations and structures
19
- * supported in Amazon Braket.</p>
20
- * <p>Additional Resources:</p>
21
- * <ul>
22
- * <li>
23
- * <p>
24
- * <a href="https://docs.aws.amazon.com/braket/latest/developerguide/what-is-braket.html">Amazon Braket Developer Guide</a>
25
- * </p>
26
- * </li>
27
- * </ul>
28
- */
29
- export declare class Braket extends BraketClient {
16
+ export interface Braket {
30
17
  /**
31
- * @public
32
- * <p>Cancels an Amazon Braket job.</p>
18
+ * @see {@link CancelJobCommand}
33
19
  */
34
20
  cancelJob(args: CancelJobCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobCommandOutput>;
35
21
  cancelJob(args: CancelJobCommandInput, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
36
22
  cancelJob(args: CancelJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
37
23
  /**
38
- * @public
39
- * <p>Cancels the specified task.</p>
24
+ * @see {@link CancelQuantumTaskCommand}
40
25
  */
41
26
  cancelQuantumTask(args: CancelQuantumTaskCommandInput, options?: __HttpHandlerOptions): Promise<CancelQuantumTaskCommandOutput>;
42
27
  cancelQuantumTask(args: CancelQuantumTaskCommandInput, cb: (err: any, data?: CancelQuantumTaskCommandOutput) => void): void;
43
28
  cancelQuantumTask(args: CancelQuantumTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelQuantumTaskCommandOutput) => void): void;
44
29
  /**
45
- * @public
46
- * <p>Creates an Amazon Braket job.</p>
30
+ * @see {@link CreateJobCommand}
47
31
  */
48
32
  createJob(args: CreateJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateJobCommandOutput>;
49
33
  createJob(args: CreateJobCommandInput, cb: (err: any, data?: CreateJobCommandOutput) => void): void;
50
34
  createJob(args: CreateJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobCommandOutput) => void): void;
51
35
  /**
52
- * @public
53
- * <p>Creates a quantum task.</p>
36
+ * @see {@link CreateQuantumTaskCommand}
54
37
  */
55
38
  createQuantumTask(args: CreateQuantumTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateQuantumTaskCommandOutput>;
56
39
  createQuantumTask(args: CreateQuantumTaskCommandInput, cb: (err: any, data?: CreateQuantumTaskCommandOutput) => void): void;
57
40
  createQuantumTask(args: CreateQuantumTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateQuantumTaskCommandOutput) => void): void;
58
41
  /**
59
- * @public
60
- * <p>Retrieves the devices available in Amazon Braket.</p>
61
- * <note>
62
- * <p>For backwards compatibility with older versions of BraketSchemas, OpenQASM
63
- * information is omitted from GetDevice API calls. To get this information the user-agent
64
- * needs to present a recent version of the BraketSchemas (1.8.0 or later). The Braket SDK
65
- * automatically reports this for you. If you do not see OpenQASM results in the GetDevice
66
- * response when using a Braket SDK, you may need to set AWS_EXECUTION_ENV environment
67
- * variable to configure user-agent. See the code examples provided below for how to do
68
- * this for the AWS CLI, Boto3, and the Go, Java, and JavaScript/TypeScript SDKs.</p>
69
- * </note>
42
+ * @see {@link GetDeviceCommand}
70
43
  */
71
44
  getDevice(args: GetDeviceCommandInput, options?: __HttpHandlerOptions): Promise<GetDeviceCommandOutput>;
72
45
  getDevice(args: GetDeviceCommandInput, cb: (err: any, data?: GetDeviceCommandOutput) => void): void;
73
46
  getDevice(args: GetDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeviceCommandOutput) => void): void;
74
47
  /**
75
- * @public
76
- * <p>Retrieves the specified Amazon Braket job.</p>
48
+ * @see {@link GetJobCommand}
77
49
  */
78
50
  getJob(args: GetJobCommandInput, options?: __HttpHandlerOptions): Promise<GetJobCommandOutput>;
79
51
  getJob(args: GetJobCommandInput, cb: (err: any, data?: GetJobCommandOutput) => void): void;
80
52
  getJob(args: GetJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetJobCommandOutput) => void): void;
81
53
  /**
82
- * @public
83
- * <p>Retrieves the specified quantum task.</p>
54
+ * @see {@link GetQuantumTaskCommand}
84
55
  */
85
56
  getQuantumTask(args: GetQuantumTaskCommandInput, options?: __HttpHandlerOptions): Promise<GetQuantumTaskCommandOutput>;
86
57
  getQuantumTask(args: GetQuantumTaskCommandInput, cb: (err: any, data?: GetQuantumTaskCommandOutput) => void): void;
87
58
  getQuantumTask(args: GetQuantumTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQuantumTaskCommandOutput) => void): void;
88
59
  /**
89
- * @public
90
- * <p>Shows the tags associated with this resource.</p>
60
+ * @see {@link ListTagsForResourceCommand}
91
61
  */
92
62
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
93
63
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
94
64
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
95
65
  /**
96
- * @public
97
- * <p>Searches for devices using the specified filters.</p>
66
+ * @see {@link SearchDevicesCommand}
98
67
  */
99
68
  searchDevices(args: SearchDevicesCommandInput, options?: __HttpHandlerOptions): Promise<SearchDevicesCommandOutput>;
100
69
  searchDevices(args: SearchDevicesCommandInput, cb: (err: any, data?: SearchDevicesCommandOutput) => void): void;
101
70
  searchDevices(args: SearchDevicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchDevicesCommandOutput) => void): void;
102
71
  /**
103
- * @public
104
- * <p>Searches for Amazon Braket jobs that match the specified filter values.</p>
72
+ * @see {@link SearchJobsCommand}
105
73
  */
106
74
  searchJobs(args: SearchJobsCommandInput, options?: __HttpHandlerOptions): Promise<SearchJobsCommandOutput>;
107
75
  searchJobs(args: SearchJobsCommandInput, cb: (err: any, data?: SearchJobsCommandOutput) => void): void;
108
76
  searchJobs(args: SearchJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchJobsCommandOutput) => void): void;
109
77
  /**
110
- * @public
111
- * <p>Searches for tasks that match the specified filter values.</p>
78
+ * @see {@link SearchQuantumTasksCommand}
112
79
  */
113
80
  searchQuantumTasks(args: SearchQuantumTasksCommandInput, options?: __HttpHandlerOptions): Promise<SearchQuantumTasksCommandOutput>;
114
81
  searchQuantumTasks(args: SearchQuantumTasksCommandInput, cb: (err: any, data?: SearchQuantumTasksCommandOutput) => void): void;
115
82
  searchQuantumTasks(args: SearchQuantumTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchQuantumTasksCommandOutput) => void): void;
116
83
  /**
117
- * @public
118
- * <p>Add a tag to the specified resource.</p>
84
+ * @see {@link TagResourceCommand}
119
85
  */
120
86
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
121
87
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
122
88
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
123
89
  /**
124
- * @public
125
- * <p>Remove tags from a resource.</p>
90
+ * @see {@link UntagResourceCommand}
126
91
  */
127
92
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
128
93
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
129
94
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
130
95
  }
96
+ /**
97
+ * @public
98
+ * <p>The Amazon Braket API Reference provides information about the operations and structures
99
+ * supported in Amazon Braket.</p>
100
+ * <p>Additional Resources:</p>
101
+ * <ul>
102
+ * <li>
103
+ * <p>
104
+ * <a href="https://docs.aws.amazon.com/braket/latest/developerguide/what-is-braket.html">Amazon Braket Developer Guide</a>
105
+ * </p>
106
+ * </li>
107
+ * </ul>
108
+ */
109
+ export declare class Braket extends BraketClient implements Braket {
110
+ }
@@ -52,7 +52,7 @@ import {
52
52
  UntagResourceCommandInput,
53
53
  UntagResourceCommandOutput,
54
54
  } from "./commands/UntagResourceCommand";
55
- export declare class Braket extends BraketClient {
55
+ export interface Braket {
56
56
  cancelJob(
57
57
  args: CancelJobCommandInput,
58
58
  options?: __HttpHandlerOptions
@@ -223,3 +223,4 @@ export declare class Braket extends BraketClient {
223
223
  cb: (err: any, data?: UntagResourceCommandOutput) => void
224
224
  ): void;
225
225
  }
226
+ export declare class Braket extends BraketClient implements Braket {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-braket",
3
3
  "description": "AWS SDK for JavaScript Braket Client for Node.js, Browser and React Native",
4
- "version": "3.312.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",