@aws-sdk/client-sagemaker-runtime 3.1148.0 → 3.1149.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 +10 -1
- package/dist-es/models/SageMakerRuntimeServiceException.js +1 -0
- package/dist-es/models/errors.js +8 -0
- package/dist-types/models/SageMakerRuntimeServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/SageMakerRuntimeServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1148.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -139,6 +139,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
139
139
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
140
140
|
|
|
141
141
|
class SageMakerRuntimeServiceException extends ServiceException {
|
|
142
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakerruntime#SageMakerRuntimeServiceException";
|
|
142
143
|
constructor(options) {
|
|
143
144
|
super(options);
|
|
144
145
|
Object.setPrototypeOf(this, SageMakerRuntimeServiceException.prototype);
|
|
@@ -146,6 +147,7 @@ class SageMakerRuntimeServiceException extends ServiceException {
|
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
class InternalDependencyException extends SageMakerRuntimeServiceException {
|
|
150
|
+
static shapeId = "com.amazonaws.sagemakerruntime#InternalDependencyException";
|
|
149
151
|
name = "InternalDependencyException";
|
|
150
152
|
$fault = "server";
|
|
151
153
|
Message;
|
|
@@ -160,6 +162,7 @@ class InternalDependencyException extends SageMakerRuntimeServiceException {
|
|
|
160
162
|
}
|
|
161
163
|
}
|
|
162
164
|
class InternalFailure extends SageMakerRuntimeServiceException {
|
|
165
|
+
static shapeId = "com.amazonaws.sagemakerruntime#InternalFailure";
|
|
163
166
|
name = "InternalFailure";
|
|
164
167
|
$fault = "server";
|
|
165
168
|
Message;
|
|
@@ -174,6 +177,7 @@ class InternalFailure extends SageMakerRuntimeServiceException {
|
|
|
174
177
|
}
|
|
175
178
|
}
|
|
176
179
|
class ModelError extends SageMakerRuntimeServiceException {
|
|
180
|
+
static shapeId = "com.amazonaws.sagemakerruntime#ModelError";
|
|
177
181
|
name = "ModelError";
|
|
178
182
|
$fault = "client";
|
|
179
183
|
Message;
|
|
@@ -194,6 +198,7 @@ class ModelError extends SageMakerRuntimeServiceException {
|
|
|
194
198
|
}
|
|
195
199
|
}
|
|
196
200
|
class ModelNotReadyException extends SageMakerRuntimeServiceException {
|
|
201
|
+
static shapeId = "com.amazonaws.sagemakerruntime#ModelNotReadyException";
|
|
197
202
|
name = "ModelNotReadyException";
|
|
198
203
|
$fault = "client";
|
|
199
204
|
Message;
|
|
@@ -208,6 +213,7 @@ class ModelNotReadyException extends SageMakerRuntimeServiceException {
|
|
|
208
213
|
}
|
|
209
214
|
}
|
|
210
215
|
class ServiceUnavailable extends SageMakerRuntimeServiceException {
|
|
216
|
+
static shapeId = "com.amazonaws.sagemakerruntime#ServiceUnavailable";
|
|
211
217
|
name = "ServiceUnavailable";
|
|
212
218
|
$fault = "server";
|
|
213
219
|
Message;
|
|
@@ -222,6 +228,7 @@ class ServiceUnavailable extends SageMakerRuntimeServiceException {
|
|
|
222
228
|
}
|
|
223
229
|
}
|
|
224
230
|
class ValidationError extends SageMakerRuntimeServiceException {
|
|
231
|
+
static shapeId = "com.amazonaws.sagemakerruntime#ValidationError";
|
|
225
232
|
name = "ValidationError";
|
|
226
233
|
$fault = "client";
|
|
227
234
|
Message;
|
|
@@ -236,6 +243,7 @@ class ValidationError extends SageMakerRuntimeServiceException {
|
|
|
236
243
|
}
|
|
237
244
|
}
|
|
238
245
|
class InternalStreamFailure extends SageMakerRuntimeServiceException {
|
|
246
|
+
static shapeId = "com.amazonaws.sagemakerruntime#InternalStreamFailure";
|
|
239
247
|
name = "InternalStreamFailure";
|
|
240
248
|
$fault = "server";
|
|
241
249
|
Message;
|
|
@@ -250,6 +258,7 @@ class InternalStreamFailure extends SageMakerRuntimeServiceException {
|
|
|
250
258
|
}
|
|
251
259
|
}
|
|
252
260
|
class ModelStreamError extends SageMakerRuntimeServiceException {
|
|
261
|
+
static shapeId = "com.amazonaws.sagemakerruntime#ModelStreamError";
|
|
253
262
|
name = "ModelStreamError";
|
|
254
263
|
$fault = "client";
|
|
255
264
|
Message;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SageMakerRuntimeServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakerruntime#SageMakerRuntimeServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, SageMakerRuntimeServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SageMakerRuntimeServiceException as __BaseException } from "./SageMakerRuntimeServiceException";
|
|
2
2
|
export class InternalDependencyException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.sagemakerruntime#InternalDependencyException";
|
|
3
4
|
name = "InternalDependencyException";
|
|
4
5
|
$fault = "server";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class InternalDependencyException extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class InternalFailure extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.sagemakerruntime#InternalFailure";
|
|
17
19
|
name = "InternalFailure";
|
|
18
20
|
$fault = "server";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class InternalFailure extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class ModelError extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.sagemakerruntime#ModelError";
|
|
31
34
|
name = "ModelError";
|
|
32
35
|
$fault = "client";
|
|
33
36
|
Message;
|
|
@@ -48,6 +51,7 @@ export class ModelError extends __BaseException {
|
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
export class ModelNotReadyException extends __BaseException {
|
|
54
|
+
static shapeId = "com.amazonaws.sagemakerruntime#ModelNotReadyException";
|
|
51
55
|
name = "ModelNotReadyException";
|
|
52
56
|
$fault = "client";
|
|
53
57
|
Message;
|
|
@@ -62,6 +66,7 @@ export class ModelNotReadyException extends __BaseException {
|
|
|
62
66
|
}
|
|
63
67
|
}
|
|
64
68
|
export class ServiceUnavailable extends __BaseException {
|
|
69
|
+
static shapeId = "com.amazonaws.sagemakerruntime#ServiceUnavailable";
|
|
65
70
|
name = "ServiceUnavailable";
|
|
66
71
|
$fault = "server";
|
|
67
72
|
Message;
|
|
@@ -76,6 +81,7 @@ export class ServiceUnavailable extends __BaseException {
|
|
|
76
81
|
}
|
|
77
82
|
}
|
|
78
83
|
export class ValidationError extends __BaseException {
|
|
84
|
+
static shapeId = "com.amazonaws.sagemakerruntime#ValidationError";
|
|
79
85
|
name = "ValidationError";
|
|
80
86
|
$fault = "client";
|
|
81
87
|
Message;
|
|
@@ -90,6 +96,7 @@ export class ValidationError extends __BaseException {
|
|
|
90
96
|
}
|
|
91
97
|
}
|
|
92
98
|
export class InternalStreamFailure extends __BaseException {
|
|
99
|
+
static shapeId = "com.amazonaws.sagemakerruntime#InternalStreamFailure";
|
|
93
100
|
name = "InternalStreamFailure";
|
|
94
101
|
$fault = "server";
|
|
95
102
|
Message;
|
|
@@ -104,6 +111,7 @@ export class InternalStreamFailure extends __BaseException {
|
|
|
104
111
|
}
|
|
105
112
|
}
|
|
106
113
|
export class ModelStreamError extends __BaseException {
|
|
114
|
+
static shapeId = "com.amazonaws.sagemakerruntime#ModelStreamError";
|
|
107
115
|
name = "ModelStreamError";
|
|
108
116
|
$fault = "client";
|
|
109
117
|
Message;
|
|
@@ -7,6 +7,7 @@ export { __ServiceException };
|
|
|
7
7
|
* Base exception class for all service exceptions from SageMakerRuntime service.
|
|
8
8
|
*/
|
|
9
9
|
export declare class SageMakerRuntimeServiceException extends __ServiceException {
|
|
10
|
+
static readonly shapeId: string;
|
|
10
11
|
/**
|
|
11
12
|
* @internal
|
|
12
13
|
*/
|
|
@@ -6,6 +6,7 @@ import { SageMakerRuntimeServiceException as __BaseException } from "./SageMaker
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class InternalDependencyException extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "InternalDependencyException";
|
|
10
11
|
readonly $fault: "server";
|
|
11
12
|
Message?: string | undefined;
|
|
@@ -19,6 +20,7 @@ export declare class InternalDependencyException extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class InternalFailure extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "InternalFailure";
|
|
23
25
|
readonly $fault: "server";
|
|
24
26
|
Message?: string | undefined;
|
|
@@ -33,6 +35,7 @@ export declare class InternalFailure extends __BaseException {
|
|
|
33
35
|
* @public
|
|
34
36
|
*/
|
|
35
37
|
export declare class ModelError extends __BaseException {
|
|
38
|
+
static readonly shapeId: string;
|
|
36
39
|
readonly name: "ModelError";
|
|
37
40
|
readonly $fault: "client";
|
|
38
41
|
Message?: string | undefined;
|
|
@@ -63,6 +66,7 @@ export declare class ModelError extends __BaseException {
|
|
|
63
66
|
* @public
|
|
64
67
|
*/
|
|
65
68
|
export declare class ModelNotReadyException extends __BaseException {
|
|
69
|
+
static readonly shapeId: string;
|
|
66
70
|
readonly name: "ModelNotReadyException";
|
|
67
71
|
readonly $fault: "client";
|
|
68
72
|
Message?: string | undefined;
|
|
@@ -76,6 +80,7 @@ export declare class ModelNotReadyException extends __BaseException {
|
|
|
76
80
|
* @public
|
|
77
81
|
*/
|
|
78
82
|
export declare class ServiceUnavailable extends __BaseException {
|
|
83
|
+
static readonly shapeId: string;
|
|
79
84
|
readonly name: "ServiceUnavailable";
|
|
80
85
|
readonly $fault: "server";
|
|
81
86
|
Message?: string | undefined;
|
|
@@ -89,6 +94,7 @@ export declare class ServiceUnavailable extends __BaseException {
|
|
|
89
94
|
* @public
|
|
90
95
|
*/
|
|
91
96
|
export declare class ValidationError extends __BaseException {
|
|
97
|
+
static readonly shapeId: string;
|
|
92
98
|
readonly name: "ValidationError";
|
|
93
99
|
readonly $fault: "client";
|
|
94
100
|
Message?: string | undefined;
|
|
@@ -102,6 +108,7 @@ export declare class ValidationError extends __BaseException {
|
|
|
102
108
|
* @public
|
|
103
109
|
*/
|
|
104
110
|
export declare class InternalStreamFailure extends __BaseException {
|
|
111
|
+
static readonly shapeId: string;
|
|
105
112
|
readonly name: "InternalStreamFailure";
|
|
106
113
|
readonly $fault: "server";
|
|
107
114
|
Message?: string | undefined;
|
|
@@ -127,6 +134,7 @@ export declare class InternalStreamFailure extends __BaseException {
|
|
|
127
134
|
* @public
|
|
128
135
|
*/
|
|
129
136
|
export declare class ModelStreamError extends __BaseException {
|
|
137
|
+
static readonly shapeId: string;
|
|
130
138
|
readonly name: "ModelStreamError";
|
|
131
139
|
readonly $fault: "client";
|
|
132
140
|
Message?: string | undefined;
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { SageMakerRuntimeServiceException as __BaseException } from "./SageMakerRuntimeServiceException";
|
|
3
3
|
export declare class InternalDependencyException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "InternalDependencyException";
|
|
5
6
|
readonly $fault: "server";
|
|
6
7
|
Message?: string | undefined;
|
|
7
8
|
constructor(opts: __ExceptionOptionType<InternalDependencyException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
export declare class InternalFailure extends __BaseException {
|
|
11
|
+
static readonly shapeId: string;
|
|
10
12
|
readonly name: "InternalFailure";
|
|
11
13
|
readonly $fault: "server";
|
|
12
14
|
Message?: string | undefined;
|
|
13
15
|
constructor(opts: __ExceptionOptionType<InternalFailure, __BaseException>);
|
|
14
16
|
}
|
|
15
17
|
export declare class ModelError extends __BaseException {
|
|
18
|
+
static readonly shapeId: string;
|
|
16
19
|
readonly name: "ModelError";
|
|
17
20
|
readonly $fault: "client";
|
|
18
21
|
Message?: string | undefined;
|
|
@@ -22,30 +25,35 @@ export declare class ModelError extends __BaseException {
|
|
|
22
25
|
constructor(opts: __ExceptionOptionType<ModelError, __BaseException>);
|
|
23
26
|
}
|
|
24
27
|
export declare class ModelNotReadyException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
25
29
|
readonly name: "ModelNotReadyException";
|
|
26
30
|
readonly $fault: "client";
|
|
27
31
|
Message?: string | undefined;
|
|
28
32
|
constructor(opts: __ExceptionOptionType<ModelNotReadyException, __BaseException>);
|
|
29
33
|
}
|
|
30
34
|
export declare class ServiceUnavailable extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
31
36
|
readonly name: "ServiceUnavailable";
|
|
32
37
|
readonly $fault: "server";
|
|
33
38
|
Message?: string | undefined;
|
|
34
39
|
constructor(opts: __ExceptionOptionType<ServiceUnavailable, __BaseException>);
|
|
35
40
|
}
|
|
36
41
|
export declare class ValidationError extends __BaseException {
|
|
42
|
+
static readonly shapeId: string;
|
|
37
43
|
readonly name: "ValidationError";
|
|
38
44
|
readonly $fault: "client";
|
|
39
45
|
Message?: string | undefined;
|
|
40
46
|
constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
|
|
41
47
|
}
|
|
42
48
|
export declare class InternalStreamFailure extends __BaseException {
|
|
49
|
+
static readonly shapeId: string;
|
|
43
50
|
readonly name: "InternalStreamFailure";
|
|
44
51
|
readonly $fault: "server";
|
|
45
52
|
Message?: string | undefined;
|
|
46
53
|
constructor(opts: __ExceptionOptionType<InternalStreamFailure, __BaseException>);
|
|
47
54
|
}
|
|
48
55
|
export declare class ModelStreamError extends __BaseException {
|
|
56
|
+
static readonly shapeId: string;
|
|
49
57
|
readonly name: "ModelStreamError";
|
|
50
58
|
readonly $fault: "client";
|
|
51
59
|
Message?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-runtime",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sagemaker Runtime Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-runtime",
|
|
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.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
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",
|