@aws-sdk/client-sagemaker-runtime-http2 3.1147.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 CHANGED
@@ -72,7 +72,7 @@ const commonParams = {
72
72
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
73
73
  };
74
74
 
75
- var version = "3.1146.0";
75
+ var version = "3.1148.0";
76
76
  var packageInfo = {
77
77
  version: version};
78
78
 
@@ -156,6 +156,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
156
156
  customEndpointFunctions.aws = awsEndpointFunctions;
157
157
 
158
158
  class SageMakerRuntimeHTTP2ServiceException extends ServiceException {
159
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakerruntimehttp2#SageMakerRuntimeHTTP2ServiceException";
159
160
  constructor(options) {
160
161
  super(options);
161
162
  Object.setPrototypeOf(this, SageMakerRuntimeHTTP2ServiceException.prototype);
@@ -163,6 +164,7 @@ class SageMakerRuntimeHTTP2ServiceException extends ServiceException {
163
164
  }
164
165
 
165
166
  class InputValidationError extends SageMakerRuntimeHTTP2ServiceException {
167
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#InputValidationError";
166
168
  name = "InputValidationError";
167
169
  $fault = "client";
168
170
  Message;
@@ -179,6 +181,7 @@ class InputValidationError extends SageMakerRuntimeHTTP2ServiceException {
179
181
  }
180
182
  }
181
183
  class InternalServerError extends SageMakerRuntimeHTTP2ServiceException {
184
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#InternalServerError";
182
185
  name = "InternalServerError";
183
186
  $fault = "server";
184
187
  Message;
@@ -195,6 +198,7 @@ class InternalServerError extends SageMakerRuntimeHTTP2ServiceException {
195
198
  }
196
199
  }
197
200
  class InternalStreamFailure extends SageMakerRuntimeHTTP2ServiceException {
201
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#InternalStreamFailure";
198
202
  name = "InternalStreamFailure";
199
203
  $fault = "server";
200
204
  Message;
@@ -209,6 +213,7 @@ class InternalStreamFailure extends SageMakerRuntimeHTTP2ServiceException {
209
213
  }
210
214
  }
211
215
  class ModelStreamError extends SageMakerRuntimeHTTP2ServiceException {
216
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#ModelStreamError";
212
217
  name = "ModelStreamError";
213
218
  $fault = "client";
214
219
  Message;
@@ -225,6 +230,7 @@ class ModelStreamError extends SageMakerRuntimeHTTP2ServiceException {
225
230
  }
226
231
  }
227
232
  class ModelError extends SageMakerRuntimeHTTP2ServiceException {
233
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#ModelError";
228
234
  name = "ModelError";
229
235
  $fault = "client";
230
236
  Message;
@@ -247,6 +253,7 @@ class ModelError extends SageMakerRuntimeHTTP2ServiceException {
247
253
  }
248
254
  }
249
255
  class ServiceUnavailableError extends SageMakerRuntimeHTTP2ServiceException {
256
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#ServiceUnavailableError";
250
257
  name = "ServiceUnavailableError";
251
258
  $fault = "server";
252
259
  Message;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class SageMakerRuntimeHTTP2ServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakerruntimehttp2#SageMakerRuntimeHTTP2ServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, SageMakerRuntimeHTTP2ServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { SageMakerRuntimeHTTP2ServiceException as __BaseException } from "./SageMakerRuntimeHTTP2ServiceException";
2
2
  export class InputValidationError extends __BaseException {
3
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#InputValidationError";
3
4
  name = "InputValidationError";
4
5
  $fault = "client";
5
6
  Message;
@@ -16,6 +17,7 @@ export class InputValidationError extends __BaseException {
16
17
  }
17
18
  }
18
19
  export class InternalServerError extends __BaseException {
20
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#InternalServerError";
19
21
  name = "InternalServerError";
20
22
  $fault = "server";
21
23
  Message;
@@ -32,6 +34,7 @@ export class InternalServerError extends __BaseException {
32
34
  }
33
35
  }
34
36
  export class InternalStreamFailure extends __BaseException {
37
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#InternalStreamFailure";
35
38
  name = "InternalStreamFailure";
36
39
  $fault = "server";
37
40
  Message;
@@ -46,6 +49,7 @@ export class InternalStreamFailure extends __BaseException {
46
49
  }
47
50
  }
48
51
  export class ModelStreamError extends __BaseException {
52
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#ModelStreamError";
49
53
  name = "ModelStreamError";
50
54
  $fault = "client";
51
55
  Message;
@@ -62,6 +66,7 @@ export class ModelStreamError extends __BaseException {
62
66
  }
63
67
  }
64
68
  export class ModelError extends __BaseException {
69
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#ModelError";
65
70
  name = "ModelError";
66
71
  $fault = "client";
67
72
  Message;
@@ -84,6 +89,7 @@ export class ModelError extends __BaseException {
84
89
  }
85
90
  }
86
91
  export class ServiceUnavailableError extends __BaseException {
92
+ static shapeId = "com.amazonaws.sagemakerruntimehttp2#ServiceUnavailableError";
87
93
  name = "ServiceUnavailableError";
88
94
  $fault = "server";
89
95
  Message;
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from SageMakerRuntimeHTTP2 service.
8
8
  */
9
9
  export declare class SageMakerRuntimeHTTP2ServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -5,6 +5,7 @@ import { SageMakerRuntimeHTTP2ServiceException as __BaseException } from "./Sage
5
5
  * @public
6
6
  */
7
7
  export declare class InputValidationError extends __BaseException {
8
+ static readonly shapeId: string;
8
9
  readonly name: "InputValidationError";
9
10
  readonly $fault: "client";
10
11
  /**
@@ -27,6 +28,7 @@ export declare class InputValidationError extends __BaseException {
27
28
  * @public
28
29
  */
29
30
  export declare class InternalServerError extends __BaseException {
31
+ static readonly shapeId: string;
30
32
  readonly name: "InternalServerError";
31
33
  readonly $fault: "server";
32
34
  /**
@@ -49,6 +51,7 @@ export declare class InternalServerError extends __BaseException {
49
51
  * @public
50
52
  */
51
53
  export declare class InternalStreamFailure extends __BaseException {
54
+ static readonly shapeId: string;
52
55
  readonly name: "InternalStreamFailure";
53
56
  readonly $fault: "server";
54
57
  /**
@@ -66,6 +69,7 @@ export declare class InternalStreamFailure extends __BaseException {
66
69
  * @public
67
70
  */
68
71
  export declare class ModelStreamError extends __BaseException {
72
+ static readonly shapeId: string;
69
73
  readonly name: "ModelStreamError";
70
74
  readonly $fault: "client";
71
75
  /**
@@ -88,6 +92,7 @@ export declare class ModelStreamError extends __BaseException {
88
92
  * @public
89
93
  */
90
94
  export declare class ModelError extends __BaseException {
95
+ static readonly shapeId: string;
91
96
  readonly name: "ModelError";
92
97
  readonly $fault: "client";
93
98
  /**
@@ -125,6 +130,7 @@ export declare class ModelError extends __BaseException {
125
130
  * @public
126
131
  */
127
132
  export declare class ServiceUnavailableError extends __BaseException {
133
+ static readonly shapeId: string;
128
134
  readonly name: "ServiceUnavailableError";
129
135
  readonly $fault: "server";
130
136
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class SageMakerRuntimeHTTP2ServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import { SageMakerRuntimeHTTP2ServiceException as __BaseException } from "./SageMakerRuntimeHTTP2ServiceException";
3
3
  export declare class InputValidationError extends __BaseException {
4
+ static readonly shapeId: string;
4
5
  readonly name: "InputValidationError";
5
6
  readonly $fault: "client";
6
7
  Message?: string | undefined;
@@ -8,6 +9,7 @@ export declare class InputValidationError extends __BaseException {
8
9
  constructor(opts: __ExceptionOptionType<InputValidationError, __BaseException>);
9
10
  }
10
11
  export declare class InternalServerError extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "InternalServerError";
12
14
  readonly $fault: "server";
13
15
  Message?: string | undefined;
@@ -15,12 +17,14 @@ export declare class InternalServerError extends __BaseException {
15
17
  constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
16
18
  }
17
19
  export declare class InternalStreamFailure extends __BaseException {
20
+ static readonly shapeId: string;
18
21
  readonly name: "InternalStreamFailure";
19
22
  readonly $fault: "server";
20
23
  Message?: string | undefined;
21
24
  constructor(opts: __ExceptionOptionType<InternalStreamFailure, __BaseException>);
22
25
  }
23
26
  export declare class ModelStreamError extends __BaseException {
27
+ static readonly shapeId: string;
24
28
  readonly name: "ModelStreamError";
25
29
  readonly $fault: "client";
26
30
  Message?: string | undefined;
@@ -28,6 +32,7 @@ export declare class ModelStreamError extends __BaseException {
28
32
  constructor(opts: __ExceptionOptionType<ModelStreamError, __BaseException>);
29
33
  }
30
34
  export declare class ModelError extends __BaseException {
35
+ static readonly shapeId: string;
31
36
  readonly name: "ModelError";
32
37
  readonly $fault: "client";
33
38
  Message?: string | undefined;
@@ -38,6 +43,7 @@ export declare class ModelError extends __BaseException {
38
43
  constructor(opts: __ExceptionOptionType<ModelError, __BaseException>);
39
44
  }
40
45
  export declare class ServiceUnavailableError extends __BaseException {
46
+ static readonly shapeId: string;
41
47
  readonly name: "ServiceUnavailableError";
42
48
  readonly $fault: "server";
43
49
  Message?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-runtime-http2",
3
- "version": "3.1147.0",
3
+ "version": "3.1149.0",
4
4
  "description": "AWS SDK for JavaScript Sagemaker Runtime Http2 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-http2",
6
6
  "license": "Apache-2.0",
@@ -50,12 +50,12 @@
50
50
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
51
51
  },
52
52
  "dependencies": {
53
- "@aws-sdk/core": "^3.978.1",
54
- "@aws-sdk/credential-provider-node": "^3.972.84",
55
- "@aws-sdk/eventstream-handler-node": "^3.972.35",
56
- "@aws-sdk/middleware-eventstream": "^3.972.30",
53
+ "@aws-sdk/core": "^3.978.2",
54
+ "@aws-sdk/credential-provider-node": "^3.972.85",
55
+ "@aws-sdk/eventstream-handler-node": "^3.972.36",
56
+ "@aws-sdk/middleware-eventstream": "^3.972.31",
57
57
  "@aws-sdk/types": "^3.974.6",
58
- "@smithy/core": "^3.35.0",
58
+ "@smithy/core": "^3.35.2",
59
59
  "@smithy/fetch-http-handler": "^5.8.0",
60
60
  "@smithy/node-http-handler": "^4.12.1",
61
61
  "@smithy/types": "^4.19.0",