@aws-sdk/client-sagemaker-runtime 3.43.0 → 3.44.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/12/01 ([#3078](https://github.com/aws/aws-sdk-js-v3/issues/3078)) ([9c44188](https://github.com/aws/aws-sdk-js-v3/commit/9c44188265ea484d55c50848d7daae5571007ce0))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-sagemaker-runtime
@@ -1,7 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvokeEndpointAsyncOutput = exports.InvokeEndpointAsyncInput = exports.ValidationError = exports.ServiceUnavailable = exports.ModelError = exports.InvokeEndpointOutput = exports.InvokeEndpointInput = exports.InternalFailure = void 0;
3
+ exports.InvokeEndpointAsyncOutput = exports.InvokeEndpointAsyncInput = exports.ValidationError = exports.ServiceUnavailable = exports.ModelNotReadyException = exports.ModelError = exports.InvokeEndpointOutput = exports.InvokeEndpointInput = exports.InternalFailure = exports.InternalDependencyException = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ var InternalDependencyException;
6
+ (function (InternalDependencyException) {
7
+ InternalDependencyException.filterSensitiveLog = (obj) => ({
8
+ ...obj,
9
+ });
10
+ })(InternalDependencyException = exports.InternalDependencyException || (exports.InternalDependencyException = {}));
5
11
  var InternalFailure;
6
12
  (function (InternalFailure) {
7
13
  InternalFailure.filterSensitiveLog = (obj) => ({
@@ -30,6 +36,12 @@ var ModelError;
30
36
  ...obj,
31
37
  });
32
38
  })(ModelError = exports.ModelError || (exports.ModelError = {}));
39
+ var ModelNotReadyException;
40
+ (function (ModelNotReadyException) {
41
+ ModelNotReadyException.filterSensitiveLog = (obj) => ({
42
+ ...obj,
43
+ });
44
+ })(ModelNotReadyException = exports.ModelNotReadyException || (exports.ModelNotReadyException = {}));
33
45
  var ServiceUnavailable;
34
46
  (function (ServiceUnavailable) {
35
47
  ServiceUnavailable.filterSensitiveLog = (obj) => ({
@@ -117,6 +117,14 @@ const deserializeAws_restJson1InvokeEndpointCommandError = async (output, contex
117
117
  let errorCode = "UnknownError";
118
118
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
119
119
  switch (errorCode) {
120
+ case "InternalDependencyException":
121
+ case "com.amazonaws.sagemakerruntime#InternalDependencyException":
122
+ response = {
123
+ ...(await deserializeAws_restJson1InternalDependencyExceptionResponse(parsedOutput, context)),
124
+ name: errorCode,
125
+ $metadata: deserializeMetadata(output),
126
+ };
127
+ break;
120
128
  case "InternalFailure":
121
129
  case "com.amazonaws.sagemakerruntime#InternalFailure":
122
130
  response = {
@@ -133,6 +141,14 @@ const deserializeAws_restJson1InvokeEndpointCommandError = async (output, contex
133
141
  $metadata: deserializeMetadata(output),
134
142
  };
135
143
  break;
144
+ case "ModelNotReadyException":
145
+ case "com.amazonaws.sagemakerruntime#ModelNotReadyException":
146
+ response = {
147
+ ...(await deserializeAws_restJson1ModelNotReadyExceptionResponse(parsedOutput, context)),
148
+ name: errorCode,
149
+ $metadata: deserializeMetadata(output),
150
+ };
151
+ break;
136
152
  case "ServiceUnavailable":
137
153
  case "com.amazonaws.sagemakerruntime#ServiceUnavailable":
138
154
  response = {
@@ -233,6 +249,19 @@ const deserializeAws_restJson1InvokeEndpointAsyncCommandError = async (output, c
233
249
  delete response.Message;
234
250
  return Promise.reject(Object.assign(new Error(message), response));
235
251
  };
252
+ const deserializeAws_restJson1InternalDependencyExceptionResponse = async (parsedOutput, context) => {
253
+ const contents = {
254
+ name: "InternalDependencyException",
255
+ $fault: "server",
256
+ $metadata: deserializeMetadata(parsedOutput),
257
+ Message: undefined,
258
+ };
259
+ const data = parsedOutput.body;
260
+ if (data.Message !== undefined && data.Message !== null) {
261
+ contents.Message = smithy_client_1.expectString(data.Message);
262
+ }
263
+ return contents;
264
+ };
236
265
  const deserializeAws_restJson1InternalFailureResponse = async (parsedOutput, context) => {
237
266
  const contents = {
238
267
  name: "InternalFailure",
@@ -271,6 +300,19 @@ const deserializeAws_restJson1ModelErrorResponse = async (parsedOutput, context)
271
300
  }
272
301
  return contents;
273
302
  };
303
+ const deserializeAws_restJson1ModelNotReadyExceptionResponse = async (parsedOutput, context) => {
304
+ const contents = {
305
+ name: "ModelNotReadyException",
306
+ $fault: "client",
307
+ $metadata: deserializeMetadata(parsedOutput),
308
+ Message: undefined,
309
+ };
310
+ const data = parsedOutput.body;
311
+ if (data.Message !== undefined && data.Message !== null) {
312
+ contents.Message = smithy_client_1.expectString(data.Message);
313
+ }
314
+ return contents;
315
+ };
274
316
  const deserializeAws_restJson1ServiceUnavailableResponse = async (parsedOutput, context) => {
275
317
  const contents = {
276
318
  name: "ServiceUnavailable",
@@ -1,5 +1,9 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ export var InternalDependencyException;
4
+ (function (InternalDependencyException) {
5
+ InternalDependencyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
+ })(InternalDependencyException || (InternalDependencyException = {}));
3
7
  export var InternalFailure;
4
8
  (function (InternalFailure) {
5
9
  InternalFailure.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -16,6 +20,10 @@ export var ModelError;
16
20
  (function (ModelError) {
17
21
  ModelError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
18
22
  })(ModelError || (ModelError = {}));
23
+ export var ModelNotReadyException;
24
+ (function (ModelNotReadyException) {
25
+ ModelNotReadyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
26
+ })(ModelNotReadyException || (ModelNotReadyException = {}));
19
27
  export var ServiceUnavailable;
20
28
  (function (ServiceUnavailable) {
21
29
  ServiceUnavailable.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -108,60 +108,76 @@ export var deserializeAws_restJson1InvokeEndpointCommand = function (output, con
108
108
  });
109
109
  }); };
110
110
  var deserializeAws_restJson1InvokeEndpointCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
111
- var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
112
- var _g;
113
- return __generator(this, function (_h) {
114
- switch (_h.label) {
111
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
112
+ var _j;
113
+ return __generator(this, function (_k) {
114
+ switch (_k.label) {
115
115
  case 0:
116
116
  _a = [__assign({}, output)];
117
- _g = {};
117
+ _j = {};
118
118
  return [4, parseBody(output.body, context)];
119
119
  case 1:
120
- parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
120
+ parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
121
121
  errorCode = "UnknownError";
122
122
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
123
123
  _b = errorCode;
124
124
  switch (_b) {
125
- case "InternalFailure": return [3, 2];
126
- case "com.amazonaws.sagemakerruntime#InternalFailure": return [3, 2];
127
- case "ModelError": return [3, 4];
128
- case "com.amazonaws.sagemakerruntime#ModelError": return [3, 4];
129
- case "ServiceUnavailable": return [3, 6];
130
- case "com.amazonaws.sagemakerruntime#ServiceUnavailable": return [3, 6];
131
- case "ValidationError": return [3, 8];
132
- case "com.amazonaws.sagemakerruntime#ValidationError": return [3, 8];
125
+ case "InternalDependencyException": return [3, 2];
126
+ case "com.amazonaws.sagemakerruntime#InternalDependencyException": return [3, 2];
127
+ case "InternalFailure": return [3, 4];
128
+ case "com.amazonaws.sagemakerruntime#InternalFailure": return [3, 4];
129
+ case "ModelError": return [3, 6];
130
+ case "com.amazonaws.sagemakerruntime#ModelError": return [3, 6];
131
+ case "ModelNotReadyException": return [3, 8];
132
+ case "com.amazonaws.sagemakerruntime#ModelNotReadyException": return [3, 8];
133
+ case "ServiceUnavailable": return [3, 10];
134
+ case "com.amazonaws.sagemakerruntime#ServiceUnavailable": return [3, 10];
135
+ case "ValidationError": return [3, 12];
136
+ case "com.amazonaws.sagemakerruntime#ValidationError": return [3, 12];
133
137
  }
134
- return [3, 10];
138
+ return [3, 14];
135
139
  case 2:
136
140
  _c = [{}];
137
- return [4, deserializeAws_restJson1InternalFailureResponse(parsedOutput, context)];
141
+ return [4, deserializeAws_restJson1InternalDependencyExceptionResponse(parsedOutput, context)];
138
142
  case 3:
139
- response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
140
- return [3, 11];
143
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
144
+ return [3, 15];
141
145
  case 4:
142
146
  _d = [{}];
143
- return [4, deserializeAws_restJson1ModelErrorResponse(parsedOutput, context)];
147
+ return [4, deserializeAws_restJson1InternalFailureResponse(parsedOutput, context)];
144
148
  case 5:
145
- response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
146
- return [3, 11];
149
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
150
+ return [3, 15];
147
151
  case 6:
148
152
  _e = [{}];
149
- return [4, deserializeAws_restJson1ServiceUnavailableResponse(parsedOutput, context)];
153
+ return [4, deserializeAws_restJson1ModelErrorResponse(parsedOutput, context)];
150
154
  case 7:
151
- response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
152
- return [3, 11];
155
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
156
+ return [3, 15];
153
157
  case 8:
154
158
  _f = [{}];
155
- return [4, deserializeAws_restJson1ValidationErrorResponse(parsedOutput, context)];
159
+ return [4, deserializeAws_restJson1ModelNotReadyExceptionResponse(parsedOutput, context)];
156
160
  case 9:
157
- response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
158
- return [3, 11];
161
+ response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
162
+ return [3, 15];
159
163
  case 10:
164
+ _g = [{}];
165
+ return [4, deserializeAws_restJson1ServiceUnavailableResponse(parsedOutput, context)];
166
+ case 11:
167
+ response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
168
+ return [3, 15];
169
+ case 12:
170
+ _h = [{}];
171
+ return [4, deserializeAws_restJson1ValidationErrorResponse(parsedOutput, context)];
172
+ case 13:
173
+ response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
174
+ return [3, 15];
175
+ case 14:
160
176
  parsedBody = parsedOutput.body;
161
177
  errorCode = parsedBody.code || parsedBody.Code || errorCode;
162
178
  response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
163
- _h.label = 11;
164
- case 11:
179
+ _k.label = 15;
180
+ case 15:
165
181
  message = response.message || response.Message || errorCode;
166
182
  response.message = message;
167
183
  delete response.Message;
@@ -251,6 +267,22 @@ var deserializeAws_restJson1InvokeEndpointAsyncCommandError = function (output,
251
267
  }
252
268
  });
253
269
  }); };
270
+ var deserializeAws_restJson1InternalDependencyExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
271
+ var contents, data;
272
+ return __generator(this, function (_a) {
273
+ contents = {
274
+ name: "InternalDependencyException",
275
+ $fault: "server",
276
+ $metadata: deserializeMetadata(parsedOutput),
277
+ Message: undefined,
278
+ };
279
+ data = parsedOutput.body;
280
+ if (data.Message !== undefined && data.Message !== null) {
281
+ contents.Message = __expectString(data.Message);
282
+ }
283
+ return [2, contents];
284
+ });
285
+ }); };
254
286
  var deserializeAws_restJson1InternalFailureResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
255
287
  var contents, data;
256
288
  return __generator(this, function (_a) {
@@ -295,6 +327,22 @@ var deserializeAws_restJson1ModelErrorResponse = function (parsedOutput, context
295
327
  return [2, contents];
296
328
  });
297
329
  }); };
330
+ var deserializeAws_restJson1ModelNotReadyExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
331
+ var contents, data;
332
+ return __generator(this, function (_a) {
333
+ contents = {
334
+ name: "ModelNotReadyException",
335
+ $fault: "client",
336
+ $metadata: deserializeMetadata(parsedOutput),
337
+ Message: undefined,
338
+ };
339
+ data = parsedOutput.body;
340
+ if (data.Message !== undefined && data.Message !== null) {
341
+ contents.Message = __expectString(data.Message);
342
+ }
343
+ return [2, contents];
344
+ });
345
+ }); };
298
346
  var deserializeAws_restJson1ServiceUnavailableResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
299
347
  var contents, data;
300
348
  return __generator(this, function (_a) {
@@ -14,9 +14,9 @@ export declare class SageMakerRuntime extends SageMakerRuntimeClient {
14
14
  * <p>Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add
15
15
  * additional headers. You should not rely on the behavior of headers outside those
16
16
  * enumerated in the request syntax. </p>
17
- * <p>Calls to <code>InvokeEndpoint</code> are authenticated by using AWS Signature Version
17
+ * <p>Calls to <code>InvokeEndpoint</code> are authenticated by using Amazon Web Services Signature Version
18
18
  * 4. For information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating
19
- * Requests (AWS Signature Version 4)</a> in the <i>Amazon S3 API
19
+ * Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon S3 API
20
20
  * Reference</i>.</p>
21
21
  * <p>A customer's model containers must respond to requests within 60 seconds. The model
22
22
  * itself can have a maximum processing time of 60 seconds before responding to
@@ -46,8 +46,8 @@ export declare class SageMakerRuntime extends SageMakerRuntimeClient {
46
46
  * Amazon SageMaker might add additional headers. You should not rely on the behavior
47
47
  * of headers outside those enumerated in the request syntax.</p>
48
48
  *
49
- * <p>Calls to <code>InvokeEndpointAsync</code> are authenticated by using AWS Signature
50
- * Version 4. For information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (AWS Signature Version 4)</a> in the <i>Amazon S3 API
49
+ * <p>Calls to <code>InvokeEndpointAsync</code> are authenticated by using Amazon Web Services Signature
50
+ * Version 4. For information, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon S3 API
51
51
  * Reference</i>.</p>
52
52
  */
53
53
  invokeEndpointAsync(args: InvokeEndpointAsyncCommandInput, options?: __HttpHandlerOptions): Promise<InvokeEndpointAsyncCommandOutput>;
@@ -21,8 +21,8 @@ export interface InvokeEndpointAsyncCommandOutput extends InvokeEndpointAsyncOut
21
21
  * Amazon SageMaker might add additional headers. You should not rely on the behavior
22
22
  * of headers outside those enumerated in the request syntax.</p>
23
23
  *
24
- * <p>Calls to <code>InvokeEndpointAsync</code> are authenticated by using AWS Signature
25
- * Version 4. For information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (AWS Signature Version 4)</a> in the <i>Amazon S3 API
24
+ * <p>Calls to <code>InvokeEndpointAsync</code> are authenticated by using Amazon Web Services Signature
25
+ * Version 4. For information, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon S3 API
26
26
  * Reference</i>.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
@@ -14,9 +14,9 @@ export interface InvokeEndpointCommandOutput extends InvokeEndpointOutput, __Met
14
14
  * <p>Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add
15
15
  * additional headers. You should not rely on the behavior of headers outside those
16
16
  * enumerated in the request syntax. </p>
17
- * <p>Calls to <code>InvokeEndpoint</code> are authenticated by using AWS Signature Version
17
+ * <p>Calls to <code>InvokeEndpoint</code> are authenticated by using Amazon Web Services Signature Version
18
18
  * 4. For information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating
19
- * Requests (AWS Signature Version 4)</a> in the <i>Amazon S3 API
19
+ * Requests (Amazon Web Services Signature Version 4)</a> in the <i>Amazon S3 API
20
20
  * Reference</i>.</p>
21
21
  * <p>A customer's model containers must respond to requests within 60 seconds. The model
22
22
  * itself can have a maximum processing time of 60 seconds before responding to
@@ -1,4 +1,18 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ /**
3
+ * <p>Your request caused an exception with an internal dependency. Contact customer support. </p>
4
+ */
5
+ export interface InternalDependencyException extends __SmithyException, $MetadataBearer {
6
+ name: "InternalDependencyException";
7
+ $fault: "server";
8
+ Message?: string;
9
+ }
10
+ export declare namespace InternalDependencyException {
11
+ /**
12
+ * @internal
13
+ */
14
+ const filterSensitiveLog: (obj: InternalDependencyException) => any;
15
+ }
2
16
  /**
3
17
  * <p> An internal failure occurred. </p>
4
18
  */
@@ -48,7 +62,7 @@ export interface InvokeEndpointInput {
48
62
  * prepend the custom attribute with <code>Trace ID:</code> in your post-processing
49
63
  * function.</p>
50
64
  *
51
- * <p>This feature is currently supported in the AWS SDKs but not in the Amazon SageMaker Python
65
+ * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python
52
66
  * SDK.</p>
53
67
  */
54
68
  CustomAttributes?: string;
@@ -114,7 +128,7 @@ export interface InvokeEndpointOutput {
114
128
  * returned. For example, if a custom attribute represents the trace ID, your model can
115
129
  * prepend the custom attribute with <code>Trace ID:</code> in your post-processing
116
130
  * function.</p>
117
- * <p>This feature is currently supported in the AWS SDKs but not in the Amazon SageMaker Python
131
+ * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python
118
132
  * SDK.</p>
119
133
  */
120
134
  CustomAttributes?: string;
@@ -152,6 +166,20 @@ export declare namespace ModelError {
152
166
  */
153
167
  const filterSensitiveLog: (obj: ModelError) => any;
154
168
  }
169
+ /**
170
+ * <p>Either a serverless endpoint variant's resources are still being provisioned, or a multi-model endpoint is still downloading or loading the target model. Wait and try your request again.</p>
171
+ */
172
+ export interface ModelNotReadyException extends __SmithyException, $MetadataBearer {
173
+ name: "ModelNotReadyException";
174
+ $fault: "client";
175
+ Message?: string;
176
+ }
177
+ export declare namespace ModelNotReadyException {
178
+ /**
179
+ * @internal
180
+ */
181
+ const filterSensitiveLog: (obj: ModelNotReadyException) => any;
182
+ }
155
183
  /**
156
184
  * <p> The service is unavailable. Try your call again. </p>
157
185
  */
@@ -211,7 +239,7 @@ export interface InvokeEndpointAsyncInput {
211
239
  * value is returned. For example, if a custom attribute represents the trace ID,
212
240
  * your model can prepend the custom attribute with <code>Trace ID</code>: in your post-processing function. </p>
213
241
  *
214
- * <p>This feature is currently supported in the AWS SDKs but not in the Amazon SageMaker Python SDK. </p>
242
+ * <p>This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK. </p>
215
243
  */
216
244
  CustomAttributes?: string;
217
245
  /**
@@ -1,5 +1,15 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
 
3
+ export interface InternalDependencyException extends __SmithyException, $MetadataBearer {
4
+ name: "InternalDependencyException";
5
+ $fault: "server";
6
+ Message?: string;
7
+ }
8
+ export declare namespace InternalDependencyException {
9
+
10
+ const filterSensitiveLog: (obj: InternalDependencyException) => any;
11
+ }
12
+
3
13
  export interface InternalFailure extends __SmithyException, $MetadataBearer {
4
14
  name: "InternalFailure";
5
15
  $fault: "server";
@@ -64,6 +74,16 @@ export declare namespace ModelError {
64
74
  const filterSensitiveLog: (obj: ModelError) => any;
65
75
  }
66
76
 
77
+ export interface ModelNotReadyException extends __SmithyException, $MetadataBearer {
78
+ name: "ModelNotReadyException";
79
+ $fault: "client";
80
+ Message?: string;
81
+ }
82
+ export declare namespace ModelNotReadyException {
83
+
84
+ const filterSensitiveLog: (obj: ModelNotReadyException) => any;
85
+ }
86
+
67
87
  export interface ServiceUnavailable extends __SmithyException, $MetadataBearer {
68
88
  name: "ServiceUnavailable";
69
89
  $fault: "server";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-runtime",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.43.0",
4
+ "version": "3.44.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",