@aws-sdk/client-braket 3.974.0 → 3.978.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.
- package/dist-cjs/index.js +15 -9
- package/dist-es/Braket.js +11 -1
- package/dist-types/Braket.d.ts +29 -1
- package/dist-types/ts3.4/Braket.d.ts +33 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1102,6 +1102,14 @@ class UpdateSpendingLimitCommand extends smithyClient.Command
|
|
|
1102
1102
|
.build() {
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
|
+
const paginateSearchDevices = core.createPaginator(BraketClient, SearchDevicesCommand, "nextToken", "nextToken", "maxResults");
|
|
1106
|
+
|
|
1107
|
+
const paginateSearchJobs = core.createPaginator(BraketClient, SearchJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
1108
|
+
|
|
1109
|
+
const paginateSearchQuantumTasks = core.createPaginator(BraketClient, SearchQuantumTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
1110
|
+
|
|
1111
|
+
const paginateSearchSpendingLimits = core.createPaginator(BraketClient, SearchSpendingLimitsCommand, "nextToken", "nextToken", "maxResults");
|
|
1112
|
+
|
|
1105
1113
|
const commands = {
|
|
1106
1114
|
CancelJobCommand,
|
|
1107
1115
|
CancelQuantumTaskCommand,
|
|
@@ -1121,17 +1129,15 @@ const commands = {
|
|
|
1121
1129
|
UntagResourceCommand,
|
|
1122
1130
|
UpdateSpendingLimitCommand,
|
|
1123
1131
|
};
|
|
1132
|
+
const paginators = {
|
|
1133
|
+
paginateSearchDevices,
|
|
1134
|
+
paginateSearchJobs,
|
|
1135
|
+
paginateSearchQuantumTasks,
|
|
1136
|
+
paginateSearchSpendingLimits,
|
|
1137
|
+
};
|
|
1124
1138
|
class Braket extends BraketClient {
|
|
1125
1139
|
}
|
|
1126
|
-
smithyClient.createAggregatedClient(commands, Braket);
|
|
1127
|
-
|
|
1128
|
-
const paginateSearchDevices = core.createPaginator(BraketClient, SearchDevicesCommand, "nextToken", "nextToken", "maxResults");
|
|
1129
|
-
|
|
1130
|
-
const paginateSearchJobs = core.createPaginator(BraketClient, SearchJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
1131
|
-
|
|
1132
|
-
const paginateSearchQuantumTasks = core.createPaginator(BraketClient, SearchQuantumTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
1133
|
-
|
|
1134
|
-
const paginateSearchSpendingLimits = core.createPaginator(BraketClient, SearchSpendingLimitsCommand, "nextToken", "nextToken", "maxResults");
|
|
1140
|
+
smithyClient.createAggregatedClient(commands, Braket, { paginators });
|
|
1135
1141
|
|
|
1136
1142
|
const CompressionType = {
|
|
1137
1143
|
GZIP: "GZIP",
|
package/dist-es/Braket.js
CHANGED
|
@@ -17,6 +17,10 @@ import { SearchSpendingLimitsCommand, } from "./commands/SearchSpendingLimitsCom
|
|
|
17
17
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
18
18
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
19
19
|
import { UpdateSpendingLimitCommand, } from "./commands/UpdateSpendingLimitCommand";
|
|
20
|
+
import { paginateSearchDevices } from "./pagination/SearchDevicesPaginator";
|
|
21
|
+
import { paginateSearchJobs } from "./pagination/SearchJobsPaginator";
|
|
22
|
+
import { paginateSearchQuantumTasks } from "./pagination/SearchQuantumTasksPaginator";
|
|
23
|
+
import { paginateSearchSpendingLimits } from "./pagination/SearchSpendingLimitsPaginator";
|
|
20
24
|
const commands = {
|
|
21
25
|
CancelJobCommand,
|
|
22
26
|
CancelQuantumTaskCommand,
|
|
@@ -36,6 +40,12 @@ const commands = {
|
|
|
36
40
|
UntagResourceCommand,
|
|
37
41
|
UpdateSpendingLimitCommand,
|
|
38
42
|
};
|
|
43
|
+
const paginators = {
|
|
44
|
+
paginateSearchDevices,
|
|
45
|
+
paginateSearchJobs,
|
|
46
|
+
paginateSearchQuantumTasks,
|
|
47
|
+
paginateSearchSpendingLimits,
|
|
48
|
+
};
|
|
39
49
|
export class Braket extends BraketClient {
|
|
40
50
|
}
|
|
41
|
-
createAggregatedClient(commands, Braket);
|
|
51
|
+
createAggregatedClient(commands, Braket, { paginators });
|
package/dist-types/Braket.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { BraketClient } from "./BraketClient";
|
|
3
3
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
4
4
|
import { CancelQuantumTaskCommandInput, CancelQuantumTaskCommandOutput } from "./commands/CancelQuantumTaskCommand";
|
|
@@ -121,6 +121,34 @@ export interface Braket {
|
|
|
121
121
|
updateSpendingLimit(args: UpdateSpendingLimitCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSpendingLimitCommandOutput>;
|
|
122
122
|
updateSpendingLimit(args: UpdateSpendingLimitCommandInput, cb: (err: any, data?: UpdateSpendingLimitCommandOutput) => void): void;
|
|
123
123
|
updateSpendingLimit(args: UpdateSpendingLimitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSpendingLimitCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link SearchDevicesCommand}
|
|
126
|
+
* @param args - command input.
|
|
127
|
+
* @param paginationConfig - optional pagination config.
|
|
128
|
+
* @returns AsyncIterable of {@link SearchDevicesCommandOutput}.
|
|
129
|
+
*/
|
|
130
|
+
paginateSearchDevices(args: SearchDevicesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchDevicesCommandOutput>;
|
|
131
|
+
/**
|
|
132
|
+
* @see {@link SearchJobsCommand}
|
|
133
|
+
* @param args - command input.
|
|
134
|
+
* @param paginationConfig - optional pagination config.
|
|
135
|
+
* @returns AsyncIterable of {@link SearchJobsCommandOutput}.
|
|
136
|
+
*/
|
|
137
|
+
paginateSearchJobs(args: SearchJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchJobsCommandOutput>;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link SearchQuantumTasksCommand}
|
|
140
|
+
* @param args - command input.
|
|
141
|
+
* @param paginationConfig - optional pagination config.
|
|
142
|
+
* @returns AsyncIterable of {@link SearchQuantumTasksCommandOutput}.
|
|
143
|
+
*/
|
|
144
|
+
paginateSearchQuantumTasks(args: SearchQuantumTasksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchQuantumTasksCommandOutput>;
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link SearchSpendingLimitsCommand}
|
|
147
|
+
* @param args - command input.
|
|
148
|
+
* @param paginationConfig - optional pagination config.
|
|
149
|
+
* @returns AsyncIterable of {@link SearchSpendingLimitsCommandOutput}.
|
|
150
|
+
*/
|
|
151
|
+
paginateSearchSpendingLimits(args?: SearchSpendingLimitsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchSpendingLimitsCommandOutput>;
|
|
124
152
|
}
|
|
125
153
|
/**
|
|
126
154
|
* <p>The Amazon Braket API Reference provides information about the operations and structures supported by Amazon Braket.</p> <p>To learn about the permissions required to call an Amazon Braket API action, see <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonbraket.html">Actions, resources, and condition keys for Amazon Braket</a>. <a href="https://amazon-braket-sdk-python.readthedocs.io/en/latest/#">Amazon Braket Python SDK</a> and the <a href="https://docs.aws.amazon.com/cli/latest/reference/braket/">AWS Command Line Interface</a> can be used to make discovery and creation of API calls easier. For more information about Amazon Braket features, see <a href="https://docs.aws.amazon.com/braket/latest/developerguide/what-is-braket.html">What is Amazon Braket?</a> and important <a href="https://docs.aws.amazon.com/braket/latest/developerguide/braket-terms.html">terms and concepts</a> in the <i>Amazon Braket Developer Guide</i>.</p> <p> <b>In this guide:</b> </p> <ul> <li> <p/> </li> <li> <p/> </li> <li> <p> <a>CommonParameters</a> </p> </li> <li> <p> <a>CommonErrors</a> </p> </li> </ul> <p> <b>Available languages for AWS SDK:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/Braket/NBraket.html">.NET</a> </p> </li> <li> <p> <a href="https://sdk.amazonaws.com/cpp/api/LATEST/root/html/index.html">C++</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/sdk-for-go/api/service/braket/">Go API reference</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/braket/package-summary.html">Java</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Braket.html">JavaScript</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.Braket.BraketClient.html">PHP</a> </p> </li> <li> <p> <a href="https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/braket.html">Python (Boto)</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket.html">Ruby</a> </p> </li> </ul> <p> <b>Code examples from the Amazon Braket Tutorials GitHub repository:</b> </p> <ul> <li> <p> <a href="https://github.com/amazon-braket/amazon-braket-examples">Amazon Braket Examples</a> </p> </li> </ul>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { BraketClient } from "./BraketClient";
|
|
3
7
|
import {
|
|
4
8
|
CancelJobCommandInput,
|
|
@@ -291,5 +295,33 @@ export interface Braket {
|
|
|
291
295
|
options: __HttpHandlerOptions,
|
|
292
296
|
cb: (err: any, data?: UpdateSpendingLimitCommandOutput) => void
|
|
293
297
|
): void;
|
|
298
|
+
paginateSearchDevices(
|
|
299
|
+
args: SearchDevicesCommandInput,
|
|
300
|
+
paginationConfig?: Pick<
|
|
301
|
+
PaginationConfiguration,
|
|
302
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
303
|
+
>
|
|
304
|
+
): Paginator<SearchDevicesCommandOutput>;
|
|
305
|
+
paginateSearchJobs(
|
|
306
|
+
args: SearchJobsCommandInput,
|
|
307
|
+
paginationConfig?: Pick<
|
|
308
|
+
PaginationConfiguration,
|
|
309
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
310
|
+
>
|
|
311
|
+
): Paginator<SearchJobsCommandOutput>;
|
|
312
|
+
paginateSearchQuantumTasks(
|
|
313
|
+
args: SearchQuantumTasksCommandInput,
|
|
314
|
+
paginationConfig?: Pick<
|
|
315
|
+
PaginationConfiguration,
|
|
316
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
317
|
+
>
|
|
318
|
+
): Paginator<SearchQuantumTasksCommandOutput>;
|
|
319
|
+
paginateSearchSpendingLimits(
|
|
320
|
+
args?: SearchSpendingLimitsCommandInput,
|
|
321
|
+
paginationConfig?: Pick<
|
|
322
|
+
PaginationConfiguration,
|
|
323
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
324
|
+
>
|
|
325
|
+
): Paginator<SearchSpendingLimitsCommandOutput>;
|
|
294
326
|
}
|
|
295
327
|
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.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-braket",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|