@aws-sdk/client-braket 3.927.0 → 3.929.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 +769 -752
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/BraketClient.js +2 -0
- package/dist-es/commands/CancelJobCommand.js +3 -9
- package/dist-es/commands/CancelQuantumTaskCommand.js +3 -9
- package/dist-es/commands/CreateJobCommand.js +3 -9
- package/dist-es/commands/CreateQuantumTaskCommand.js +3 -9
- package/dist-es/commands/GetDeviceCommand.js +3 -9
- package/dist-es/commands/GetJobCommand.js +3 -9
- package/dist-es/commands/GetQuantumTaskCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/SearchDevicesCommand.js +3 -9
- package/dist-es/commands/SearchJobsCommand.js +3 -9
- package/dist-es/commands/SearchQuantumTasksCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +710 -0
- package/dist-types/BraketClient.d.ts +10 -1
- package/dist-types/commands/CreateQuantumTaskCommand.d.ts +3 -0
- package/dist-types/commands/GetQuantumTaskCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +54 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +94 -0
- package/dist-types/ts3.4/BraketClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +26 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +100 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -637
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -119
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -161
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
11
11
|
import { CancelQuantumTaskCommandInput, CancelQuantumTaskCommandOutput } from "./commands/CancelQuantumTaskCommand";
|
|
@@ -154,6 +154,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
154
154
|
* Optional extensions
|
|
155
155
|
*/
|
|
156
156
|
extensions?: RuntimeExtension[];
|
|
157
|
+
/**
|
|
158
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
159
|
+
* may be overridden. A default will always be set by the client.
|
|
160
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
161
|
+
* the client.
|
|
162
|
+
* @alpha
|
|
163
|
+
*
|
|
164
|
+
*/
|
|
165
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
157
166
|
/**
|
|
158
167
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
159
168
|
*/
|
|
@@ -54,6 +54,9 @@ declare const CreateQuantumTaskCommand_base: {
|
|
|
54
54
|
* type: "STRING_VALUE", // required
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
57
|
+
* experimentalCapabilities: { // ExperimentalCapabilities Union: only one key present
|
|
58
|
+
* enabled: "STRING_VALUE",
|
|
59
|
+
* },
|
|
57
60
|
* };
|
|
58
61
|
* const command = new CreateQuantumTaskCommand(input);
|
|
59
62
|
* const response = await client.send(command);
|
|
@@ -77,6 +77,9 @@ declare const GetQuantumTaskCommand_base: {
|
|
|
77
77
|
* // programCount: Number("long"),
|
|
78
78
|
* // executableCount: Number("long"),
|
|
79
79
|
* // },
|
|
80
|
+
* // experimentalCapabilities: { // ExperimentalCapabilities Union: only one key present
|
|
81
|
+
* // enabled: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
80
83
|
* // };
|
|
81
84
|
*
|
|
82
85
|
* ```
|
|
@@ -23,12 +23,12 @@ export interface ActionMetadata {
|
|
|
23
23
|
*/
|
|
24
24
|
actionType: string | undefined;
|
|
25
25
|
/**
|
|
26
|
-
* <p>The number of programs in a program set. This is only available for a
|
|
26
|
+
* <p>The number of programs in a program set. This is only available for a program set.</p>
|
|
27
27
|
* @public
|
|
28
28
|
*/
|
|
29
29
|
programCount?: number | undefined;
|
|
30
30
|
/**
|
|
31
|
-
* <p>The number of executables in a program set. This is only available for a
|
|
31
|
+
* <p>The number of executables in a program set. This is only available for a program set.</p>
|
|
32
32
|
* @public
|
|
33
33
|
*/
|
|
34
34
|
executableCount?: number | undefined;
|
|
@@ -1128,6 +1128,48 @@ export interface CancelQuantumTaskResponse {
|
|
|
1128
1128
|
*/
|
|
1129
1129
|
cancellationStatus: CancellationStatus | undefined;
|
|
1130
1130
|
}
|
|
1131
|
+
/**
|
|
1132
|
+
* @public
|
|
1133
|
+
* @enum
|
|
1134
|
+
*/
|
|
1135
|
+
export declare const ExperimentalCapabilitiesEnablementType: {
|
|
1136
|
+
readonly ALL: "ALL";
|
|
1137
|
+
readonly NONE: "NONE";
|
|
1138
|
+
};
|
|
1139
|
+
/**
|
|
1140
|
+
* @public
|
|
1141
|
+
*/
|
|
1142
|
+
export type ExperimentalCapabilitiesEnablementType = (typeof ExperimentalCapabilitiesEnablementType)[keyof typeof ExperimentalCapabilitiesEnablementType];
|
|
1143
|
+
/**
|
|
1144
|
+
* <p>Enabled experimental capabilities for quantum hardware. Note that the use of these features may impact device capabilities and performance beyond its standard specifications.</p>
|
|
1145
|
+
* @public
|
|
1146
|
+
*/
|
|
1147
|
+
export type ExperimentalCapabilities = ExperimentalCapabilities.EnabledMember | ExperimentalCapabilities.$UnknownMember;
|
|
1148
|
+
/**
|
|
1149
|
+
* @public
|
|
1150
|
+
*/
|
|
1151
|
+
export declare namespace ExperimentalCapabilities {
|
|
1152
|
+
/**
|
|
1153
|
+
* <p>Enabled experimental capabilities.</p>
|
|
1154
|
+
* @public
|
|
1155
|
+
*/
|
|
1156
|
+
interface EnabledMember {
|
|
1157
|
+
enabled: ExperimentalCapabilitiesEnablementType;
|
|
1158
|
+
$unknown?: never;
|
|
1159
|
+
}
|
|
1160
|
+
/**
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
interface $UnknownMember {
|
|
1164
|
+
enabled?: never;
|
|
1165
|
+
$unknown: [string, any];
|
|
1166
|
+
}
|
|
1167
|
+
interface Visitor<T> {
|
|
1168
|
+
enabled: (value: ExperimentalCapabilitiesEnablementType) => T;
|
|
1169
|
+
_: (name: string, value: any) => T;
|
|
1170
|
+
}
|
|
1171
|
+
const visit: <T>(value: ExperimentalCapabilities, visitor: Visitor<T>) => T;
|
|
1172
|
+
}
|
|
1131
1173
|
/**
|
|
1132
1174
|
* @public
|
|
1133
1175
|
*/
|
|
@@ -1182,6 +1224,11 @@ export interface CreateQuantumTaskRequest {
|
|
|
1182
1224
|
* @public
|
|
1183
1225
|
*/
|
|
1184
1226
|
associations?: Association[] | undefined;
|
|
1227
|
+
/**
|
|
1228
|
+
* <p>Enable experimental capabilities for the quantum task.</p>
|
|
1229
|
+
* @public
|
|
1230
|
+
*/
|
|
1231
|
+
experimentalCapabilities?: ExperimentalCapabilities | undefined;
|
|
1185
1232
|
}
|
|
1186
1233
|
/**
|
|
1187
1234
|
* @public
|
|
@@ -1346,6 +1393,11 @@ export interface GetQuantumTaskResponse {
|
|
|
1346
1393
|
* @public
|
|
1347
1394
|
*/
|
|
1348
1395
|
actionMetadata?: ActionMetadata | undefined;
|
|
1396
|
+
/**
|
|
1397
|
+
* <p>Enabled experimental capabilities for the quantum task, if any.</p>
|
|
1398
|
+
* @public
|
|
1399
|
+
*/
|
|
1400
|
+
experimentalCapabilities?: ExperimentalCapabilities | undefined;
|
|
1349
1401
|
}
|
|
1350
1402
|
/**
|
|
1351
1403
|
* @public
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
36
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
37
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BraketHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
serviceId: string;
|
|
18
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
20
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var JsonValue: StaticSimpleSchema;
|
|
3
|
+
export declare var AccessDeniedException: StaticErrorSchema;
|
|
4
|
+
export declare var ActionMetadata: StaticStructureSchema;
|
|
5
|
+
export declare var AlgorithmSpecification: StaticStructureSchema;
|
|
6
|
+
export declare var Association: StaticStructureSchema;
|
|
7
|
+
export declare var CancelJobRequest: StaticStructureSchema;
|
|
8
|
+
export declare var CancelJobResponse: StaticStructureSchema;
|
|
9
|
+
export declare var CancelQuantumTaskRequest: StaticStructureSchema;
|
|
10
|
+
export declare var CancelQuantumTaskResponse: StaticStructureSchema;
|
|
11
|
+
export declare var ConflictException: StaticErrorSchema;
|
|
12
|
+
export declare var ContainerImage: StaticStructureSchema;
|
|
13
|
+
export declare var CreateJobRequest: StaticStructureSchema;
|
|
14
|
+
export declare var CreateJobResponse: StaticStructureSchema;
|
|
15
|
+
export declare var CreateQuantumTaskRequest: StaticStructureSchema;
|
|
16
|
+
export declare var CreateQuantumTaskResponse: StaticStructureSchema;
|
|
17
|
+
export declare var DataSource: StaticStructureSchema;
|
|
18
|
+
export declare var DeviceConfig: StaticStructureSchema;
|
|
19
|
+
export declare var DeviceOfflineException: StaticErrorSchema;
|
|
20
|
+
export declare var DeviceQueueInfo: StaticStructureSchema;
|
|
21
|
+
export declare var DeviceRetiredException: StaticErrorSchema;
|
|
22
|
+
export declare var DeviceSummary: StaticStructureSchema;
|
|
23
|
+
export declare var GetDeviceRequest: StaticStructureSchema;
|
|
24
|
+
export declare var GetDeviceResponse: StaticStructureSchema;
|
|
25
|
+
export declare var GetJobRequest: StaticStructureSchema;
|
|
26
|
+
export declare var GetJobResponse: StaticStructureSchema;
|
|
27
|
+
export declare var GetQuantumTaskRequest: StaticStructureSchema;
|
|
28
|
+
export declare var GetQuantumTaskResponse: StaticStructureSchema;
|
|
29
|
+
export declare var HybridJobQueueInfo: StaticStructureSchema;
|
|
30
|
+
export declare var InputFileConfig: StaticStructureSchema;
|
|
31
|
+
export declare var InstanceConfig: StaticStructureSchema;
|
|
32
|
+
export declare var InternalServiceException: StaticErrorSchema;
|
|
33
|
+
export declare var JobCheckpointConfig: StaticStructureSchema;
|
|
34
|
+
export declare var JobEventDetails: StaticStructureSchema;
|
|
35
|
+
export declare var JobOutputDataConfig: StaticStructureSchema;
|
|
36
|
+
export declare var JobStoppingCondition: StaticStructureSchema;
|
|
37
|
+
export declare var JobSummary: StaticStructureSchema;
|
|
38
|
+
export declare var ListTagsForResourceRequest: StaticStructureSchema;
|
|
39
|
+
export declare var ListTagsForResourceResponse: StaticStructureSchema;
|
|
40
|
+
export declare var ProgramSetValidationFailure: StaticStructureSchema;
|
|
41
|
+
export declare var QuantumTaskQueueInfo: StaticStructureSchema;
|
|
42
|
+
export declare var QuantumTaskSummary: StaticStructureSchema;
|
|
43
|
+
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
44
|
+
export declare var S3DataSource: StaticStructureSchema;
|
|
45
|
+
export declare var ScriptModeConfig: StaticStructureSchema;
|
|
46
|
+
export declare var SearchDevicesFilter: StaticStructureSchema;
|
|
47
|
+
export declare var SearchDevicesRequest: StaticStructureSchema;
|
|
48
|
+
export declare var SearchDevicesResponse: StaticStructureSchema;
|
|
49
|
+
export declare var SearchJobsFilter: StaticStructureSchema;
|
|
50
|
+
export declare var SearchJobsRequest: StaticStructureSchema;
|
|
51
|
+
export declare var SearchJobsResponse: StaticStructureSchema;
|
|
52
|
+
export declare var SearchQuantumTasksFilter: StaticStructureSchema;
|
|
53
|
+
export declare var SearchQuantumTasksRequest: StaticStructureSchema;
|
|
54
|
+
export declare var SearchQuantumTasksResponse: StaticStructureSchema;
|
|
55
|
+
export declare var ServiceQuotaExceededException: StaticErrorSchema;
|
|
56
|
+
export declare var TagResourceRequest: StaticStructureSchema;
|
|
57
|
+
export declare var TagResourceResponse: StaticStructureSchema;
|
|
58
|
+
export declare var ThrottlingException: StaticErrorSchema;
|
|
59
|
+
export declare var UntagResourceRequest: StaticStructureSchema;
|
|
60
|
+
export declare var UntagResourceResponse: StaticStructureSchema;
|
|
61
|
+
export declare var ValidationException: StaticErrorSchema;
|
|
62
|
+
export declare var BraketServiceException: StaticErrorSchema;
|
|
63
|
+
export declare var Associations: StaticListSchema;
|
|
64
|
+
export declare var DeviceQueueInfoList: StaticListSchema;
|
|
65
|
+
export declare var DeviceSummaryList: StaticListSchema;
|
|
66
|
+
export declare var HybridJobAdditionalAttributeNamesList: number;
|
|
67
|
+
export declare var InputConfigList: StaticListSchema;
|
|
68
|
+
export declare var JobEvents: StaticListSchema;
|
|
69
|
+
export declare var JobSummaryList: StaticListSchema;
|
|
70
|
+
export declare var ProgramSetValidationFailuresList: StaticListSchema;
|
|
71
|
+
export declare var ProgramValidationFailuresList: number;
|
|
72
|
+
export declare var QuantumTaskAdditionalAttributeNamesList: number;
|
|
73
|
+
export declare var QuantumTaskSummaryList: StaticListSchema;
|
|
74
|
+
export declare var SearchDevicesFilterList: StaticListSchema;
|
|
75
|
+
export declare var SearchJobsFilterList: StaticListSchema;
|
|
76
|
+
export declare var SearchQuantumTasksFilterList: StaticListSchema;
|
|
77
|
+
export declare var String256List: number;
|
|
78
|
+
export declare var TagKeys: number;
|
|
79
|
+
export declare var HyperParameters: number;
|
|
80
|
+
export declare var TagsMap: number;
|
|
81
|
+
export declare var ExperimentalCapabilities: StaticStructureSchema;
|
|
82
|
+
export declare var CancelJob: StaticOperationSchema;
|
|
83
|
+
export declare var CancelQuantumTask: StaticOperationSchema;
|
|
84
|
+
export declare var CreateJob: StaticOperationSchema;
|
|
85
|
+
export declare var CreateQuantumTask: StaticOperationSchema;
|
|
86
|
+
export declare var GetDevice: StaticOperationSchema;
|
|
87
|
+
export declare var GetJob: StaticOperationSchema;
|
|
88
|
+
export declare var GetQuantumTask: StaticOperationSchema;
|
|
89
|
+
export declare var ListTagsForResource: StaticOperationSchema;
|
|
90
|
+
export declare var SearchDevices: StaticOperationSchema;
|
|
91
|
+
export declare var SearchJobs: StaticOperationSchema;
|
|
92
|
+
export declare var SearchQuantumTasks: StaticOperationSchema;
|
|
93
|
+
export declare var TagResource: StaticOperationSchema;
|
|
94
|
+
export declare var UntagResource: StaticOperationSchema;
|
|
@@ -30,10 +30,13 @@ import {
|
|
|
30
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
ClientProtocol,
|
|
33
34
|
Decoder as __Decoder,
|
|
34
35
|
Encoder as __Encoder,
|
|
35
36
|
HashConstructor as __HashConstructor,
|
|
36
37
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
38
|
+
HttpRequest,
|
|
39
|
+
HttpResponse,
|
|
37
40
|
Logger as __Logger,
|
|
38
41
|
Provider as __Provider,
|
|
39
42
|
Provider,
|
|
@@ -156,6 +159,7 @@ export interface ClientDefaults
|
|
|
156
159
|
retryMode?: string | __Provider<string>;
|
|
157
160
|
logger?: __Logger;
|
|
158
161
|
extensions?: RuntimeExtension[];
|
|
162
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
159
163
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
160
164
|
}
|
|
161
165
|
export type BraketClientConfigType = Partial<
|
|
@@ -384,6 +384,30 @@ export interface CancelQuantumTaskResponse {
|
|
|
384
384
|
quantumTaskArn: string | undefined;
|
|
385
385
|
cancellationStatus: CancellationStatus | undefined;
|
|
386
386
|
}
|
|
387
|
+
export declare const ExperimentalCapabilitiesEnablementType: {
|
|
388
|
+
readonly ALL: "ALL";
|
|
389
|
+
readonly NONE: "NONE";
|
|
390
|
+
};
|
|
391
|
+
export type ExperimentalCapabilitiesEnablementType =
|
|
392
|
+
(typeof ExperimentalCapabilitiesEnablementType)[keyof typeof ExperimentalCapabilitiesEnablementType];
|
|
393
|
+
export type ExperimentalCapabilities =
|
|
394
|
+
| ExperimentalCapabilities.EnabledMember
|
|
395
|
+
| ExperimentalCapabilities.$UnknownMember;
|
|
396
|
+
export declare namespace ExperimentalCapabilities {
|
|
397
|
+
interface EnabledMember {
|
|
398
|
+
enabled: ExperimentalCapabilitiesEnablementType;
|
|
399
|
+
$unknown?: never;
|
|
400
|
+
}
|
|
401
|
+
interface $UnknownMember {
|
|
402
|
+
enabled?: never;
|
|
403
|
+
$unknown: [string, any];
|
|
404
|
+
}
|
|
405
|
+
interface Visitor<T> {
|
|
406
|
+
enabled: (value: ExperimentalCapabilitiesEnablementType) => T;
|
|
407
|
+
_: (name: string, value: any) => T;
|
|
408
|
+
}
|
|
409
|
+
const visit: <T>(value: ExperimentalCapabilities, visitor: Visitor<T>) => T;
|
|
410
|
+
}
|
|
387
411
|
export interface CreateQuantumTaskRequest {
|
|
388
412
|
clientToken?: string | undefined;
|
|
389
413
|
deviceArn: string | undefined;
|
|
@@ -395,6 +419,7 @@ export interface CreateQuantumTaskRequest {
|
|
|
395
419
|
tags?: Record<string, string> | undefined;
|
|
396
420
|
jobToken?: string | undefined;
|
|
397
421
|
associations?: Association[] | undefined;
|
|
422
|
+
experimentalCapabilities?: ExperimentalCapabilities | undefined;
|
|
398
423
|
}
|
|
399
424
|
export interface CreateQuantumTaskResponse {
|
|
400
425
|
quantumTaskArn: string | undefined;
|
|
@@ -442,6 +467,7 @@ export interface GetQuantumTaskResponse {
|
|
|
442
467
|
associations?: Association[] | undefined;
|
|
443
468
|
numSuccessfulShots?: number | undefined;
|
|
444
469
|
actionMetadata?: ActionMetadata | undefined;
|
|
470
|
+
experimentalCapabilities?: ExperimentalCapabilities | undefined;
|
|
445
471
|
}
|
|
446
472
|
export declare const SearchQuantumTasksFilterOperator: {
|
|
447
473
|
readonly BETWEEN: "BETWEEN";
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
userAgentAppId?:
|
|
43
47
|
| string
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
retryStrategy?:
|
|
43
47
|
| import("@smithy/types").RetryStrategy
|
|
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
|
|
|
37
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
+
import("@smithy/types").HttpRequest,
|
|
42
|
+
import("@smithy/types").HttpResponse
|
|
43
|
+
>;
|
|
40
44
|
defaultsMode:
|
|
41
45
|
| import("@smithy/smithy-client").DefaultsMode
|
|
42
46
|
| import("@smithy/types").Provider<
|
|
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: BraketClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BraketHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
18
|
+
import("@smithy/types").HttpRequest,
|
|
19
|
+
import("@smithy/types").HttpResponse
|
|
20
|
+
>;
|
|
17
21
|
serviceId: string;
|
|
18
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
23
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import {
|
|
2
|
+
StaticErrorSchema,
|
|
3
|
+
StaticListSchema,
|
|
4
|
+
StaticOperationSchema,
|
|
5
|
+
StaticSimpleSchema,
|
|
6
|
+
StaticStructureSchema,
|
|
7
|
+
} from "@smithy/types";
|
|
8
|
+
export declare var JsonValue: StaticSimpleSchema;
|
|
9
|
+
export declare var AccessDeniedException: StaticErrorSchema;
|
|
10
|
+
export declare var ActionMetadata: StaticStructureSchema;
|
|
11
|
+
export declare var AlgorithmSpecification: StaticStructureSchema;
|
|
12
|
+
export declare var Association: StaticStructureSchema;
|
|
13
|
+
export declare var CancelJobRequest: StaticStructureSchema;
|
|
14
|
+
export declare var CancelJobResponse: StaticStructureSchema;
|
|
15
|
+
export declare var CancelQuantumTaskRequest: StaticStructureSchema;
|
|
16
|
+
export declare var CancelQuantumTaskResponse: StaticStructureSchema;
|
|
17
|
+
export declare var ConflictException: StaticErrorSchema;
|
|
18
|
+
export declare var ContainerImage: StaticStructureSchema;
|
|
19
|
+
export declare var CreateJobRequest: StaticStructureSchema;
|
|
20
|
+
export declare var CreateJobResponse: StaticStructureSchema;
|
|
21
|
+
export declare var CreateQuantumTaskRequest: StaticStructureSchema;
|
|
22
|
+
export declare var CreateQuantumTaskResponse: StaticStructureSchema;
|
|
23
|
+
export declare var DataSource: StaticStructureSchema;
|
|
24
|
+
export declare var DeviceConfig: StaticStructureSchema;
|
|
25
|
+
export declare var DeviceOfflineException: StaticErrorSchema;
|
|
26
|
+
export declare var DeviceQueueInfo: StaticStructureSchema;
|
|
27
|
+
export declare var DeviceRetiredException: StaticErrorSchema;
|
|
28
|
+
export declare var DeviceSummary: StaticStructureSchema;
|
|
29
|
+
export declare var GetDeviceRequest: StaticStructureSchema;
|
|
30
|
+
export declare var GetDeviceResponse: StaticStructureSchema;
|
|
31
|
+
export declare var GetJobRequest: StaticStructureSchema;
|
|
32
|
+
export declare var GetJobResponse: StaticStructureSchema;
|
|
33
|
+
export declare var GetQuantumTaskRequest: StaticStructureSchema;
|
|
34
|
+
export declare var GetQuantumTaskResponse: StaticStructureSchema;
|
|
35
|
+
export declare var HybridJobQueueInfo: StaticStructureSchema;
|
|
36
|
+
export declare var InputFileConfig: StaticStructureSchema;
|
|
37
|
+
export declare var InstanceConfig: StaticStructureSchema;
|
|
38
|
+
export declare var InternalServiceException: StaticErrorSchema;
|
|
39
|
+
export declare var JobCheckpointConfig: StaticStructureSchema;
|
|
40
|
+
export declare var JobEventDetails: StaticStructureSchema;
|
|
41
|
+
export declare var JobOutputDataConfig: StaticStructureSchema;
|
|
42
|
+
export declare var JobStoppingCondition: StaticStructureSchema;
|
|
43
|
+
export declare var JobSummary: StaticStructureSchema;
|
|
44
|
+
export declare var ListTagsForResourceRequest: StaticStructureSchema;
|
|
45
|
+
export declare var ListTagsForResourceResponse: StaticStructureSchema;
|
|
46
|
+
export declare var ProgramSetValidationFailure: StaticStructureSchema;
|
|
47
|
+
export declare var QuantumTaskQueueInfo: StaticStructureSchema;
|
|
48
|
+
export declare var QuantumTaskSummary: StaticStructureSchema;
|
|
49
|
+
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
50
|
+
export declare var S3DataSource: StaticStructureSchema;
|
|
51
|
+
export declare var ScriptModeConfig: StaticStructureSchema;
|
|
52
|
+
export declare var SearchDevicesFilter: StaticStructureSchema;
|
|
53
|
+
export declare var SearchDevicesRequest: StaticStructureSchema;
|
|
54
|
+
export declare var SearchDevicesResponse: StaticStructureSchema;
|
|
55
|
+
export declare var SearchJobsFilter: StaticStructureSchema;
|
|
56
|
+
export declare var SearchJobsRequest: StaticStructureSchema;
|
|
57
|
+
export declare var SearchJobsResponse: StaticStructureSchema;
|
|
58
|
+
export declare var SearchQuantumTasksFilter: StaticStructureSchema;
|
|
59
|
+
export declare var SearchQuantumTasksRequest: StaticStructureSchema;
|
|
60
|
+
export declare var SearchQuantumTasksResponse: StaticStructureSchema;
|
|
61
|
+
export declare var ServiceQuotaExceededException: StaticErrorSchema;
|
|
62
|
+
export declare var TagResourceRequest: StaticStructureSchema;
|
|
63
|
+
export declare var TagResourceResponse: StaticStructureSchema;
|
|
64
|
+
export declare var ThrottlingException: StaticErrorSchema;
|
|
65
|
+
export declare var UntagResourceRequest: StaticStructureSchema;
|
|
66
|
+
export declare var UntagResourceResponse: StaticStructureSchema;
|
|
67
|
+
export declare var ValidationException: StaticErrorSchema;
|
|
68
|
+
export declare var BraketServiceException: StaticErrorSchema;
|
|
69
|
+
export declare var Associations: StaticListSchema;
|
|
70
|
+
export declare var DeviceQueueInfoList: StaticListSchema;
|
|
71
|
+
export declare var DeviceSummaryList: StaticListSchema;
|
|
72
|
+
export declare var HybridJobAdditionalAttributeNamesList: number;
|
|
73
|
+
export declare var InputConfigList: StaticListSchema;
|
|
74
|
+
export declare var JobEvents: StaticListSchema;
|
|
75
|
+
export declare var JobSummaryList: StaticListSchema;
|
|
76
|
+
export declare var ProgramSetValidationFailuresList: StaticListSchema;
|
|
77
|
+
export declare var ProgramValidationFailuresList: number;
|
|
78
|
+
export declare var QuantumTaskAdditionalAttributeNamesList: number;
|
|
79
|
+
export declare var QuantumTaskSummaryList: StaticListSchema;
|
|
80
|
+
export declare var SearchDevicesFilterList: StaticListSchema;
|
|
81
|
+
export declare var SearchJobsFilterList: StaticListSchema;
|
|
82
|
+
export declare var SearchQuantumTasksFilterList: StaticListSchema;
|
|
83
|
+
export declare var String256List: number;
|
|
84
|
+
export declare var TagKeys: number;
|
|
85
|
+
export declare var HyperParameters: number;
|
|
86
|
+
export declare var TagsMap: number;
|
|
87
|
+
export declare var ExperimentalCapabilities: StaticStructureSchema;
|
|
88
|
+
export declare var CancelJob: StaticOperationSchema;
|
|
89
|
+
export declare var CancelQuantumTask: StaticOperationSchema;
|
|
90
|
+
export declare var CreateJob: StaticOperationSchema;
|
|
91
|
+
export declare var CreateQuantumTask: StaticOperationSchema;
|
|
92
|
+
export declare var GetDevice: StaticOperationSchema;
|
|
93
|
+
export declare var GetJob: StaticOperationSchema;
|
|
94
|
+
export declare var GetQuantumTask: StaticOperationSchema;
|
|
95
|
+
export declare var ListTagsForResource: StaticOperationSchema;
|
|
96
|
+
export declare var SearchDevices: StaticOperationSchema;
|
|
97
|
+
export declare var SearchJobs: StaticOperationSchema;
|
|
98
|
+
export declare var SearchQuantumTasks: StaticOperationSchema;
|
|
99
|
+
export declare var TagResource: StaticOperationSchema;
|
|
100
|
+
export declare var UntagResource: 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.929.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",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.928.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.929.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.928.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.925.0",
|
|
30
30
|
"@aws-sdk/types": "3.922.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.928.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.2",
|
|
35
35
|
"@smithy/core": "^3.17.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.5",
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"@smithy/util-middleware": "^4.2.4",
|
|
57
57
|
"@smithy/util-retry": "^4.2.4",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
|
-
"@smithy/uuid": "^1.1.0",
|
|
60
59
|
"tslib": "^2.6.2"
|
|
61
60
|
},
|
|
62
61
|
"devDependencies": {
|