@aws-sdk/client-braket 3.936.0 → 3.937.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/README.md +32 -0
- package/dist-cjs/index.js +173 -0
- package/dist-es/Braket.js +8 -0
- package/dist-es/commands/CreateSpendingLimitCommand.js +16 -0
- package/dist-es/commands/DeleteSpendingLimitCommand.js +16 -0
- package/dist-es/commands/SearchSpendingLimitsCommand.js +16 -0
- package/dist-es/commands/UpdateSpendingLimitCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/pagination/SearchSpendingLimitsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +114 -0
- package/dist-types/Braket.d.ts +29 -0
- package/dist-types/BraketClient.d.ts +6 -2
- package/dist-types/commands/CreateSpendingLimitCommand.d.ts +98 -0
- package/dist-types/commands/DeleteSpendingLimitCommand.d.ts +87 -0
- package/dist-types/commands/SearchSpendingLimitsCommand.d.ts +114 -0
- package/dist-types/commands/UpdateSpendingLimitCommand.d.ts +93 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +219 -0
- package/dist-types/pagination/SearchSpendingLimitsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/Braket.d.ts +69 -0
- package/dist-types/ts3.4/BraketClient.d.ts +26 -2
- package/dist-types/ts3.4/commands/CreateSpendingLimitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteSpendingLimitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SearchSpendingLimitsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateSpendingLimitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +55 -0
- package/dist-types/ts3.4/pagination/SearchSpendingLimitsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BraketClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BraketClient";
|
|
8
|
+
import {
|
|
9
|
+
DeleteSpendingLimitRequest,
|
|
10
|
+
DeleteSpendingLimitResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface DeleteSpendingLimitCommandInput
|
|
15
|
+
extends DeleteSpendingLimitRequest {}
|
|
16
|
+
export interface DeleteSpendingLimitCommandOutput
|
|
17
|
+
extends DeleteSpendingLimitResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const DeleteSpendingLimitCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: DeleteSpendingLimitCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
DeleteSpendingLimitCommandInput,
|
|
24
|
+
DeleteSpendingLimitCommandOutput,
|
|
25
|
+
BraketClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: DeleteSpendingLimitCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
DeleteSpendingLimitCommandInput,
|
|
33
|
+
DeleteSpendingLimitCommandOutput,
|
|
34
|
+
BraketClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class DeleteSpendingLimitCommand extends DeleteSpendingLimitCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: DeleteSpendingLimitRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: DeleteSpendingLimitCommandInput;
|
|
48
|
+
output: DeleteSpendingLimitCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BraketClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BraketClient";
|
|
8
|
+
import {
|
|
9
|
+
SearchSpendingLimitsRequest,
|
|
10
|
+
SearchSpendingLimitsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface SearchSpendingLimitsCommandInput
|
|
15
|
+
extends SearchSpendingLimitsRequest {}
|
|
16
|
+
export interface SearchSpendingLimitsCommandOutput
|
|
17
|
+
extends SearchSpendingLimitsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const SearchSpendingLimitsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: SearchSpendingLimitsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
SearchSpendingLimitsCommandInput,
|
|
24
|
+
SearchSpendingLimitsCommandOutput,
|
|
25
|
+
BraketClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [SearchSpendingLimitsCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
SearchSpendingLimitsCommandInput,
|
|
33
|
+
SearchSpendingLimitsCommandOutput,
|
|
34
|
+
BraketClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class SearchSpendingLimitsCommand extends SearchSpendingLimitsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: SearchSpendingLimitsRequest;
|
|
44
|
+
output: SearchSpendingLimitsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: SearchSpendingLimitsCommandInput;
|
|
48
|
+
output: SearchSpendingLimitsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BraketClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BraketClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateSpendingLimitRequest,
|
|
10
|
+
UpdateSpendingLimitResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateSpendingLimitCommandInput
|
|
15
|
+
extends UpdateSpendingLimitRequest {}
|
|
16
|
+
export interface UpdateSpendingLimitCommandOutput
|
|
17
|
+
extends UpdateSpendingLimitResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const UpdateSpendingLimitCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: UpdateSpendingLimitCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
UpdateSpendingLimitCommandInput,
|
|
24
|
+
UpdateSpendingLimitCommandOutput,
|
|
25
|
+
BraketClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: UpdateSpendingLimitCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
UpdateSpendingLimitCommandInput,
|
|
33
|
+
UpdateSpendingLimitCommandOutput,
|
|
34
|
+
BraketClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class UpdateSpendingLimitCommand extends UpdateSpendingLimitCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: UpdateSpendingLimitRequest;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: UpdateSpendingLimitCommandInput;
|
|
48
|
+
output: UpdateSpendingLimitCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -2,6 +2,8 @@ export * from "./CancelJobCommand";
|
|
|
2
2
|
export * from "./CancelQuantumTaskCommand";
|
|
3
3
|
export * from "./CreateJobCommand";
|
|
4
4
|
export * from "./CreateQuantumTaskCommand";
|
|
5
|
+
export * from "./CreateSpendingLimitCommand";
|
|
6
|
+
export * from "./DeleteSpendingLimitCommand";
|
|
5
7
|
export * from "./GetDeviceCommand";
|
|
6
8
|
export * from "./GetJobCommand";
|
|
7
9
|
export * from "./GetQuantumTaskCommand";
|
|
@@ -9,5 +11,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
9
11
|
export * from "./SearchDevicesCommand";
|
|
10
12
|
export * from "./SearchJobsCommand";
|
|
11
13
|
export * from "./SearchQuantumTasksCommand";
|
|
14
|
+
export * from "./SearchSpendingLimitsCommand";
|
|
12
15
|
export * from "./TagResourceCommand";
|
|
13
16
|
export * from "./UntagResourceCommand";
|
|
17
|
+
export * from "./UpdateSpendingLimitCommand";
|
|
@@ -436,6 +436,61 @@ export interface SearchQuantumTasksResponse {
|
|
|
436
436
|
quantumTasks: QuantumTaskSummary[] | undefined;
|
|
437
437
|
nextToken?: string | undefined;
|
|
438
438
|
}
|
|
439
|
+
export interface TimePeriod {
|
|
440
|
+
startAt: Date | undefined;
|
|
441
|
+
endAt: Date | undefined;
|
|
442
|
+
}
|
|
443
|
+
export interface CreateSpendingLimitRequest {
|
|
444
|
+
clientToken?: string | undefined;
|
|
445
|
+
deviceArn: string | undefined;
|
|
446
|
+
spendingLimit: string | undefined;
|
|
447
|
+
timePeriod?: TimePeriod | undefined;
|
|
448
|
+
tags?: Record<string, string> | undefined;
|
|
449
|
+
}
|
|
450
|
+
export interface CreateSpendingLimitResponse {
|
|
451
|
+
spendingLimitArn: string | undefined;
|
|
452
|
+
}
|
|
453
|
+
export interface DeleteSpendingLimitRequest {
|
|
454
|
+
spendingLimitArn: string | undefined;
|
|
455
|
+
}
|
|
456
|
+
export interface DeleteSpendingLimitResponse {}
|
|
457
|
+
export declare const SearchSpendingLimitsFilterOperator: {
|
|
458
|
+
readonly EQUAL: "EQUAL";
|
|
459
|
+
};
|
|
460
|
+
export type SearchSpendingLimitsFilterOperator =
|
|
461
|
+
(typeof SearchSpendingLimitsFilterOperator)[keyof typeof SearchSpendingLimitsFilterOperator];
|
|
462
|
+
export interface SearchSpendingLimitsFilter {
|
|
463
|
+
name: string | undefined;
|
|
464
|
+
values: string[] | undefined;
|
|
465
|
+
operator: SearchSpendingLimitsFilterOperator | undefined;
|
|
466
|
+
}
|
|
467
|
+
export interface SearchSpendingLimitsRequest {
|
|
468
|
+
nextToken?: string | undefined;
|
|
469
|
+
maxResults?: number | undefined;
|
|
470
|
+
filters?: SearchSpendingLimitsFilter[] | undefined;
|
|
471
|
+
}
|
|
472
|
+
export interface SpendingLimitSummary {
|
|
473
|
+
spendingLimitArn: string | undefined;
|
|
474
|
+
deviceArn: string | undefined;
|
|
475
|
+
timePeriod: TimePeriod | undefined;
|
|
476
|
+
spendingLimit: string | undefined;
|
|
477
|
+
queuedSpend: string | undefined;
|
|
478
|
+
totalSpend: string | undefined;
|
|
479
|
+
createdAt: Date | undefined;
|
|
480
|
+
updatedAt: Date | undefined;
|
|
481
|
+
tags?: Record<string, string> | undefined;
|
|
482
|
+
}
|
|
483
|
+
export interface SearchSpendingLimitsResponse {
|
|
484
|
+
spendingLimits: SpendingLimitSummary[] | undefined;
|
|
485
|
+
nextToken?: string | undefined;
|
|
486
|
+
}
|
|
487
|
+
export interface UpdateSpendingLimitRequest {
|
|
488
|
+
spendingLimitArn: string | undefined;
|
|
489
|
+
clientToken?: string | undefined;
|
|
490
|
+
spendingLimit?: string | undefined;
|
|
491
|
+
timePeriod?: TimePeriod | undefined;
|
|
492
|
+
}
|
|
493
|
+
export interface UpdateSpendingLimitResponse {}
|
|
439
494
|
export interface TagResourceRequest {
|
|
440
495
|
resourceArn: string | undefined;
|
|
441
496
|
tags: Record<string, string> | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
SearchSpendingLimitsCommandInput,
|
|
4
|
+
SearchSpendingLimitsCommandOutput,
|
|
5
|
+
} from "../commands/SearchSpendingLimitsCommand";
|
|
6
|
+
import { BraketPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateSearchSpendingLimits: (
|
|
8
|
+
config: BraketPaginationConfiguration,
|
|
9
|
+
input: SearchSpendingLimitsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<SearchSpendingLimitsCommandOutput>;
|
|
@@ -20,7 +20,11 @@ export declare var CreateJobRequest: StaticStructureSchema;
|
|
|
20
20
|
export declare var CreateJobResponse: StaticStructureSchema;
|
|
21
21
|
export declare var CreateQuantumTaskRequest: StaticStructureSchema;
|
|
22
22
|
export declare var CreateQuantumTaskResponse: StaticStructureSchema;
|
|
23
|
+
export declare var CreateSpendingLimitRequest: StaticStructureSchema;
|
|
24
|
+
export declare var CreateSpendingLimitResponse: StaticStructureSchema;
|
|
23
25
|
export declare var DataSource: StaticStructureSchema;
|
|
26
|
+
export declare var DeleteSpendingLimitRequest: StaticStructureSchema;
|
|
27
|
+
export declare var DeleteSpendingLimitResponse: StaticStructureSchema;
|
|
24
28
|
export declare var DeviceConfig: StaticStructureSchema;
|
|
25
29
|
export declare var DeviceOfflineException: StaticErrorSchema;
|
|
26
30
|
export declare var DeviceQueueInfo: StaticStructureSchema;
|
|
@@ -58,12 +62,19 @@ export declare var SearchJobsResponse: StaticStructureSchema;
|
|
|
58
62
|
export declare var SearchQuantumTasksFilter: StaticStructureSchema;
|
|
59
63
|
export declare var SearchQuantumTasksRequest: StaticStructureSchema;
|
|
60
64
|
export declare var SearchQuantumTasksResponse: StaticStructureSchema;
|
|
65
|
+
export declare var SearchSpendingLimitsFilter: StaticStructureSchema;
|
|
66
|
+
export declare var SearchSpendingLimitsRequest: StaticStructureSchema;
|
|
67
|
+
export declare var SearchSpendingLimitsResponse: StaticStructureSchema;
|
|
61
68
|
export declare var ServiceQuotaExceededException: StaticErrorSchema;
|
|
69
|
+
export declare var SpendingLimitSummary: StaticStructureSchema;
|
|
62
70
|
export declare var TagResourceRequest: StaticStructureSchema;
|
|
63
71
|
export declare var TagResourceResponse: StaticStructureSchema;
|
|
64
72
|
export declare var ThrottlingException: StaticErrorSchema;
|
|
73
|
+
export declare var TimePeriod: StaticStructureSchema;
|
|
65
74
|
export declare var UntagResourceRequest: StaticStructureSchema;
|
|
66
75
|
export declare var UntagResourceResponse: StaticStructureSchema;
|
|
76
|
+
export declare var UpdateSpendingLimitRequest: StaticStructureSchema;
|
|
77
|
+
export declare var UpdateSpendingLimitResponse: StaticStructureSchema;
|
|
67
78
|
export declare var ValidationException: StaticErrorSchema;
|
|
68
79
|
export declare var BraketServiceException: StaticErrorSchema;
|
|
69
80
|
export declare var Associations: StaticListSchema;
|
|
@@ -80,6 +91,8 @@ export declare var QuantumTaskSummaryList: StaticListSchema;
|
|
|
80
91
|
export declare var SearchDevicesFilterList: StaticListSchema;
|
|
81
92
|
export declare var SearchJobsFilterList: StaticListSchema;
|
|
82
93
|
export declare var SearchQuantumTasksFilterList: StaticListSchema;
|
|
94
|
+
export declare var SearchSpendingLimitsFilterList: StaticListSchema;
|
|
95
|
+
export declare var SpendingLimitSummaryList: StaticListSchema;
|
|
83
96
|
export declare var String256List: number;
|
|
84
97
|
export declare var TagKeys: number;
|
|
85
98
|
export declare var HyperParameters: number;
|
|
@@ -89,6 +102,8 @@ export declare var CancelJob: StaticOperationSchema;
|
|
|
89
102
|
export declare var CancelQuantumTask: StaticOperationSchema;
|
|
90
103
|
export declare var CreateJob: StaticOperationSchema;
|
|
91
104
|
export declare var CreateQuantumTask: StaticOperationSchema;
|
|
105
|
+
export declare var CreateSpendingLimit: StaticOperationSchema;
|
|
106
|
+
export declare var DeleteSpendingLimit: StaticOperationSchema;
|
|
92
107
|
export declare var GetDevice: StaticOperationSchema;
|
|
93
108
|
export declare var GetJob: StaticOperationSchema;
|
|
94
109
|
export declare var GetQuantumTask: StaticOperationSchema;
|
|
@@ -96,5 +111,7 @@ export declare var ListTagsForResource: StaticOperationSchema;
|
|
|
96
111
|
export declare var SearchDevices: StaticOperationSchema;
|
|
97
112
|
export declare var SearchJobs: StaticOperationSchema;
|
|
98
113
|
export declare var SearchQuantumTasks: StaticOperationSchema;
|
|
114
|
+
export declare var SearchSpendingLimits: StaticOperationSchema;
|
|
99
115
|
export declare var TagResource: StaticOperationSchema;
|
|
100
116
|
export declare var UntagResource: StaticOperationSchema;
|
|
117
|
+
export declare var UpdateSpendingLimit: StaticOperationSchema;
|
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.937.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-braket",
|