@aws-sdk/client-braket 3.1148.0 → 3.1150.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 +11 -1
- package/dist-es/models/BraketServiceException.js +1 -0
- package/dist-es/models/errors.js +9 -0
- package/dist-types/models/BraketServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +9 -0
- package/dist-types/ts3.4/models/BraketServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +9 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1149.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class BraketServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.braket#BraketServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, BraketServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class BraketServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class AccessDeniedException extends BraketServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.braket#AccessDeniedException";
|
|
142
144
|
name = "AccessDeniedException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class AccessDeniedException extends BraketServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class InternalServiceException extends BraketServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.braket#InternalServiceException";
|
|
154
157
|
name = "InternalServiceException";
|
|
155
158
|
$fault = "server";
|
|
156
159
|
constructor(opts) {
|
|
@@ -163,6 +166,7 @@ class InternalServiceException extends BraketServiceException {
|
|
|
163
166
|
}
|
|
164
167
|
}
|
|
165
168
|
class ResourceNotFoundException extends BraketServiceException {
|
|
169
|
+
static shapeId = "com.amazonaws.braket#ResourceNotFoundException";
|
|
166
170
|
name = "ResourceNotFoundException";
|
|
167
171
|
$fault = "client";
|
|
168
172
|
constructor(opts) {
|
|
@@ -175,6 +179,7 @@ class ResourceNotFoundException extends BraketServiceException {
|
|
|
175
179
|
}
|
|
176
180
|
}
|
|
177
181
|
class ThrottlingException extends BraketServiceException {
|
|
182
|
+
static shapeId = "com.amazonaws.braket#ThrottlingException";
|
|
178
183
|
name = "ThrottlingException";
|
|
179
184
|
$fault = "client";
|
|
180
185
|
constructor(opts) {
|
|
@@ -187,6 +192,7 @@ class ThrottlingException extends BraketServiceException {
|
|
|
187
192
|
}
|
|
188
193
|
}
|
|
189
194
|
class ValidationException extends BraketServiceException {
|
|
195
|
+
static shapeId = "com.amazonaws.braket#ValidationException";
|
|
190
196
|
name = "ValidationException";
|
|
191
197
|
$fault = "client";
|
|
192
198
|
reason;
|
|
@@ -203,6 +209,7 @@ class ValidationException extends BraketServiceException {
|
|
|
203
209
|
}
|
|
204
210
|
}
|
|
205
211
|
class ConflictException extends BraketServiceException {
|
|
212
|
+
static shapeId = "com.amazonaws.braket#ConflictException";
|
|
206
213
|
name = "ConflictException";
|
|
207
214
|
$fault = "client";
|
|
208
215
|
constructor(opts) {
|
|
@@ -215,6 +222,7 @@ class ConflictException extends BraketServiceException {
|
|
|
215
222
|
}
|
|
216
223
|
}
|
|
217
224
|
class DeviceOfflineException extends BraketServiceException {
|
|
225
|
+
static shapeId = "com.amazonaws.braket#DeviceOfflineException";
|
|
218
226
|
name = "DeviceOfflineException";
|
|
219
227
|
$fault = "client";
|
|
220
228
|
constructor(opts) {
|
|
@@ -227,6 +235,7 @@ class DeviceOfflineException extends BraketServiceException {
|
|
|
227
235
|
}
|
|
228
236
|
}
|
|
229
237
|
class DeviceRetiredException extends BraketServiceException {
|
|
238
|
+
static shapeId = "com.amazonaws.braket#DeviceRetiredException";
|
|
230
239
|
name = "DeviceRetiredException";
|
|
231
240
|
$fault = "client";
|
|
232
241
|
constructor(opts) {
|
|
@@ -239,6 +248,7 @@ class DeviceRetiredException extends BraketServiceException {
|
|
|
239
248
|
}
|
|
240
249
|
}
|
|
241
250
|
class ServiceQuotaExceededException extends BraketServiceException {
|
|
251
|
+
static shapeId = "com.amazonaws.braket#ServiceQuotaExceededException";
|
|
242
252
|
name = "ServiceQuotaExceededException";
|
|
243
253
|
$fault = "client";
|
|
244
254
|
constructor(opts) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class BraketServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.braket#BraketServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, BraketServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BraketServiceException as __BaseException } from "./BraketServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.braket#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class InternalServiceException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.braket#InternalServiceException";
|
|
15
17
|
name = "InternalServiceException";
|
|
16
18
|
$fault = "server";
|
|
17
19
|
constructor(opts) {
|
|
@@ -24,6 +26,7 @@ export class InternalServiceException extends __BaseException {
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
export class ResourceNotFoundException extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.braket#ResourceNotFoundException";
|
|
27
30
|
name = "ResourceNotFoundException";
|
|
28
31
|
$fault = "client";
|
|
29
32
|
constructor(opts) {
|
|
@@ -36,6 +39,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
export class ThrottlingException extends __BaseException {
|
|
42
|
+
static shapeId = "com.amazonaws.braket#ThrottlingException";
|
|
39
43
|
name = "ThrottlingException";
|
|
40
44
|
$fault = "client";
|
|
41
45
|
constructor(opts) {
|
|
@@ -48,6 +52,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
export class ValidationException extends __BaseException {
|
|
55
|
+
static shapeId = "com.amazonaws.braket#ValidationException";
|
|
51
56
|
name = "ValidationException";
|
|
52
57
|
$fault = "client";
|
|
53
58
|
reason;
|
|
@@ -64,6 +69,7 @@ export class ValidationException extends __BaseException {
|
|
|
64
69
|
}
|
|
65
70
|
}
|
|
66
71
|
export class ConflictException extends __BaseException {
|
|
72
|
+
static shapeId = "com.amazonaws.braket#ConflictException";
|
|
67
73
|
name = "ConflictException";
|
|
68
74
|
$fault = "client";
|
|
69
75
|
constructor(opts) {
|
|
@@ -76,6 +82,7 @@ export class ConflictException extends __BaseException {
|
|
|
76
82
|
}
|
|
77
83
|
}
|
|
78
84
|
export class DeviceOfflineException extends __BaseException {
|
|
85
|
+
static shapeId = "com.amazonaws.braket#DeviceOfflineException";
|
|
79
86
|
name = "DeviceOfflineException";
|
|
80
87
|
$fault = "client";
|
|
81
88
|
constructor(opts) {
|
|
@@ -88,6 +95,7 @@ export class DeviceOfflineException extends __BaseException {
|
|
|
88
95
|
}
|
|
89
96
|
}
|
|
90
97
|
export class DeviceRetiredException extends __BaseException {
|
|
98
|
+
static shapeId = "com.amazonaws.braket#DeviceRetiredException";
|
|
91
99
|
name = "DeviceRetiredException";
|
|
92
100
|
$fault = "client";
|
|
93
101
|
constructor(opts) {
|
|
@@ -100,6 +108,7 @@ export class DeviceRetiredException extends __BaseException {
|
|
|
100
108
|
}
|
|
101
109
|
}
|
|
102
110
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
111
|
+
static shapeId = "com.amazonaws.braket#ServiceQuotaExceededException";
|
|
103
112
|
name = "ServiceQuotaExceededException";
|
|
104
113
|
$fault = "client";
|
|
105
114
|
constructor(opts) {
|
|
@@ -7,6 +7,7 @@ import type { ProgramSetValidationFailure } from "./models_0";
|
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
readonly name: "AccessDeniedException";
|
|
11
12
|
readonly $fault: "client";
|
|
12
13
|
/**
|
|
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class InternalServiceException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "InternalServiceException";
|
|
23
25
|
readonly $fault: "server";
|
|
24
26
|
/**
|
|
@@ -31,6 +33,7 @@ export declare class InternalServiceException extends __BaseException {
|
|
|
31
33
|
* @public
|
|
32
34
|
*/
|
|
33
35
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
34
37
|
readonly name: "ResourceNotFoundException";
|
|
35
38
|
readonly $fault: "client";
|
|
36
39
|
/**
|
|
@@ -43,6 +46,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
43
46
|
* @public
|
|
44
47
|
*/
|
|
45
48
|
export declare class ThrottlingException extends __BaseException {
|
|
49
|
+
static readonly shapeId: string;
|
|
46
50
|
readonly name: "ThrottlingException";
|
|
47
51
|
readonly $fault: "client";
|
|
48
52
|
/**
|
|
@@ -55,6 +59,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
55
59
|
* @public
|
|
56
60
|
*/
|
|
57
61
|
export declare class ValidationException extends __BaseException {
|
|
62
|
+
static readonly shapeId: string;
|
|
58
63
|
readonly name: "ValidationException";
|
|
59
64
|
readonly $fault: "client";
|
|
60
65
|
/**
|
|
@@ -77,6 +82,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
77
82
|
* @public
|
|
78
83
|
*/
|
|
79
84
|
export declare class ConflictException extends __BaseException {
|
|
85
|
+
static readonly shapeId: string;
|
|
80
86
|
readonly name: "ConflictException";
|
|
81
87
|
readonly $fault: "client";
|
|
82
88
|
/**
|
|
@@ -89,6 +95,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
89
95
|
* @public
|
|
90
96
|
*/
|
|
91
97
|
export declare class DeviceOfflineException extends __BaseException {
|
|
98
|
+
static readonly shapeId: string;
|
|
92
99
|
readonly name: "DeviceOfflineException";
|
|
93
100
|
readonly $fault: "client";
|
|
94
101
|
/**
|
|
@@ -101,6 +108,7 @@ export declare class DeviceOfflineException extends __BaseException {
|
|
|
101
108
|
* @public
|
|
102
109
|
*/
|
|
103
110
|
export declare class DeviceRetiredException extends __BaseException {
|
|
111
|
+
static readonly shapeId: string;
|
|
104
112
|
readonly name: "DeviceRetiredException";
|
|
105
113
|
readonly $fault: "client";
|
|
106
114
|
/**
|
|
@@ -113,6 +121,7 @@ export declare class DeviceRetiredException extends __BaseException {
|
|
|
113
121
|
* @public
|
|
114
122
|
*/
|
|
115
123
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
124
|
+
static readonly shapeId: string;
|
|
116
125
|
readonly name: "ServiceQuotaExceededException";
|
|
117
126
|
readonly $fault: "client";
|
|
118
127
|
/**
|
|
@@ -3,26 +3,31 @@ import { BraketServiceException as __BaseException } from "./BraketServiceExcept
|
|
|
3
3
|
import { ValidationExceptionReason } from "./enums";
|
|
4
4
|
import { ProgramSetValidationFailure } from "./models_0";
|
|
5
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
static readonly shapeId: string;
|
|
6
7
|
readonly name: "AccessDeniedException";
|
|
7
8
|
readonly $fault: "client";
|
|
8
9
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class InternalServiceException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "InternalServiceException";
|
|
12
14
|
readonly $fault: "server";
|
|
13
15
|
constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "ResourceNotFoundException";
|
|
17
20
|
readonly $fault: "client";
|
|
18
21
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
19
22
|
}
|
|
20
23
|
export declare class ThrottlingException extends __BaseException {
|
|
24
|
+
static readonly shapeId: string;
|
|
21
25
|
readonly name: "ThrottlingException";
|
|
22
26
|
readonly $fault: "client";
|
|
23
27
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
24
28
|
}
|
|
25
29
|
export declare class ValidationException extends __BaseException {
|
|
30
|
+
static readonly shapeId: string;
|
|
26
31
|
readonly name: "ValidationException";
|
|
27
32
|
readonly $fault: "client";
|
|
28
33
|
reason?: ValidationExceptionReason | undefined;
|
|
@@ -30,21 +35,25 @@ export declare class ValidationException extends __BaseException {
|
|
|
30
35
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
31
36
|
}
|
|
32
37
|
export declare class ConflictException extends __BaseException {
|
|
38
|
+
static readonly shapeId: string;
|
|
33
39
|
readonly name: "ConflictException";
|
|
34
40
|
readonly $fault: "client";
|
|
35
41
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
36
42
|
}
|
|
37
43
|
export declare class DeviceOfflineException extends __BaseException {
|
|
44
|
+
static readonly shapeId: string;
|
|
38
45
|
readonly name: "DeviceOfflineException";
|
|
39
46
|
readonly $fault: "client";
|
|
40
47
|
constructor(opts: __ExceptionOptionType<DeviceOfflineException, __BaseException>);
|
|
41
48
|
}
|
|
42
49
|
export declare class DeviceRetiredException extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
43
51
|
readonly name: "DeviceRetiredException";
|
|
44
52
|
readonly $fault: "client";
|
|
45
53
|
constructor(opts: __ExceptionOptionType<DeviceRetiredException, __BaseException>);
|
|
46
54
|
}
|
|
47
55
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
56
|
+
static readonly shapeId: string;
|
|
48
57
|
readonly name: "ServiceQuotaExceededException";
|
|
49
58
|
readonly $fault: "client";
|
|
50
59
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-braket",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Braket Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-braket",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|