@aws-sdk/client-sagemaker-runtime 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/SageMakerRuntime.js +17 -10
- package/dist-es/SageMakerRuntimeClient.js +28 -22
- package/dist-es/commands/InvokeEndpointAsyncCommand.js +28 -21
- package/dist-es/commands/InvokeEndpointCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SageMakerRuntimeServiceException.js +10 -5
- package/dist-es/models/models_0.js +80 -92
- package/dist-es/protocols/Aws_restJson1.js +323 -241
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-sagemaker-runtime
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-sagemaker-runtime
|
|
@@ -236,10 +236,10 @@ const deserializeAws_restJson1ValidationErrorResponse = async (parsedOutput, con
|
|
|
236
236
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
237
237
|
};
|
|
238
238
|
const deserializeMetadata = (output) => {
|
|
239
|
-
var _a;
|
|
239
|
+
var _a, _b;
|
|
240
240
|
return ({
|
|
241
241
|
httpStatusCode: output.statusCode,
|
|
242
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
242
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
243
243
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
244
244
|
cfId: output.headers["x-amz-cf-id"],
|
|
245
245
|
});
|
|
@@ -1,33 +1,40 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { InvokeEndpointAsyncCommand, } from "./commands/InvokeEndpointAsyncCommand";
|
|
2
3
|
import { InvokeEndpointCommand, } from "./commands/InvokeEndpointCommand";
|
|
3
4
|
import { SageMakerRuntimeClient } from "./SageMakerRuntimeClient";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
var SageMakerRuntime = (function (_super) {
|
|
6
|
+
__extends(SageMakerRuntime, _super);
|
|
7
|
+
function SageMakerRuntime() {
|
|
8
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
9
|
+
}
|
|
10
|
+
SageMakerRuntime.prototype.invokeEndpoint = function (args, optionsOrCb, cb) {
|
|
11
|
+
var command = new InvokeEndpointCommand(args);
|
|
7
12
|
if (typeof optionsOrCb === "function") {
|
|
8
13
|
this.send(command, optionsOrCb);
|
|
9
14
|
}
|
|
10
15
|
else if (typeof cb === "function") {
|
|
11
16
|
if (typeof optionsOrCb !== "object")
|
|
12
|
-
throw new Error(
|
|
17
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
13
18
|
this.send(command, optionsOrCb || {}, cb);
|
|
14
19
|
}
|
|
15
20
|
else {
|
|
16
21
|
return this.send(command, optionsOrCb);
|
|
17
22
|
}
|
|
18
|
-
}
|
|
19
|
-
invokeEndpointAsync(args, optionsOrCb, cb) {
|
|
20
|
-
|
|
23
|
+
};
|
|
24
|
+
SageMakerRuntime.prototype.invokeEndpointAsync = function (args, optionsOrCb, cb) {
|
|
25
|
+
var command = new InvokeEndpointAsyncCommand(args);
|
|
21
26
|
if (typeof optionsOrCb === "function") {
|
|
22
27
|
this.send(command, optionsOrCb);
|
|
23
28
|
}
|
|
24
29
|
else if (typeof cb === "function") {
|
|
25
30
|
if (typeof optionsOrCb !== "object")
|
|
26
|
-
throw new Error(
|
|
31
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
27
32
|
this.send(command, optionsOrCb || {}, cb);
|
|
28
33
|
}
|
|
29
34
|
else {
|
|
30
35
|
return this.send(command, optionsOrCb);
|
|
31
36
|
}
|
|
32
|
-
}
|
|
33
|
-
|
|
37
|
+
};
|
|
38
|
+
return SageMakerRuntime;
|
|
39
|
+
}(SageMakerRuntimeClient));
|
|
40
|
+
export { SageMakerRuntime };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var SageMakerRuntimeClient = (function (_super) {
|
|
13
|
+
__extends(SageMakerRuntimeClient, _super);
|
|
14
|
+
function SageMakerRuntimeClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
SageMakerRuntimeClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return SageMakerRuntimeClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { SageMakerRuntimeClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { InvokeEndpointAsyncInputFilterSensitiveLog, InvokeEndpointAsyncOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1InvokeEndpointAsyncCommand, serializeAws_restJson1InvokeEndpointAsyncCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var InvokeEndpointAsyncCommand = (function (_super) {
|
|
7
|
+
__extends(InvokeEndpointAsyncCommand, _super);
|
|
8
|
+
function InvokeEndpointAsyncCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
InvokeEndpointAsyncCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SageMakerRuntimeClient";
|
|
18
|
+
var commandName = "InvokeEndpointAsyncCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: InvokeEndpointAsyncInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: InvokeEndpointAsyncOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
InvokeEndpointAsyncCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1InvokeEndpointAsyncCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
InvokeEndpointAsyncCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1InvokeEndpointAsyncCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return InvokeEndpointAsyncCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { InvokeEndpointAsyncCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { InvokeEndpointInputFilterSensitiveLog, InvokeEndpointOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1InvokeEndpointCommand, serializeAws_restJson1InvokeEndpointCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var InvokeEndpointCommand = (function (_super) {
|
|
7
|
+
__extends(InvokeEndpointCommand, _super);
|
|
8
|
+
function InvokeEndpointCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
InvokeEndpointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SageMakerRuntimeClient";
|
|
18
|
+
var commandName = "InvokeEndpointCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: InvokeEndpointInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: InvokeEndpointOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
InvokeEndpointCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1InvokeEndpointCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
InvokeEndpointCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1InvokeEndpointCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return InvokeEndpointCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { InvokeEndpointCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"us-east-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -41,7 +42,7 @@ const regionHash = {
|
|
|
41
42
|
],
|
|
42
43
|
},
|
|
43
44
|
};
|
|
44
|
-
|
|
45
|
+
var partitionHash = {
|
|
45
46
|
aws: {
|
|
46
47
|
regions: [
|
|
47
48
|
"af-south-1",
|
|
@@ -165,9 +166,8 @@ const partitionHash = {
|
|
|
165
166
|
],
|
|
166
167
|
},
|
|
167
168
|
};
|
|
168
|
-
export
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
});
|
|
169
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
170
|
+
return __generator(this, function (_a) {
|
|
171
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "sagemaker", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
172
|
+
});
|
|
173
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var SageMakerRuntimeServiceException = (function (_super) {
|
|
4
|
+
__extends(SageMakerRuntimeServiceException, _super);
|
|
5
|
+
function SageMakerRuntimeServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, SageMakerRuntimeServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return SageMakerRuntimeServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { SageMakerRuntimeServiceException };
|
|
@@ -1,100 +1,88 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { SageMakerRuntimeServiceException as __BaseException } from "./SageMakerRuntimeServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Object.setPrototypeOf(this, InternalDependencyException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
4
|
+
var InternalDependencyException = (function (_super) {
|
|
5
|
+
__extends(InternalDependencyException, _super);
|
|
6
|
+
function InternalDependencyException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "InternalDependencyException", $fault: "server" }, opts)) || this;
|
|
8
|
+
_this.name = "InternalDependencyException";
|
|
9
|
+
_this.$fault = "server";
|
|
10
|
+
Object.setPrototypeOf(_this, InternalDependencyException.prototype);
|
|
11
|
+
_this.Message = opts.Message;
|
|
12
|
+
return _this;
|
|
14
13
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
return InternalDependencyException;
|
|
15
|
+
}(__BaseException));
|
|
16
|
+
export { InternalDependencyException };
|
|
17
|
+
var InternalFailure = (function (_super) {
|
|
18
|
+
__extends(InternalFailure, _super);
|
|
19
|
+
function InternalFailure(opts) {
|
|
20
|
+
var _this = _super.call(this, __assign({ name: "InternalFailure", $fault: "server" }, opts)) || this;
|
|
21
|
+
_this.name = "InternalFailure";
|
|
22
|
+
_this.$fault = "server";
|
|
23
|
+
Object.setPrototypeOf(_this, InternalFailure.prototype);
|
|
24
|
+
_this.Message = opts.Message;
|
|
25
|
+
return _this;
|
|
27
26
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
return InternalFailure;
|
|
28
|
+
}(__BaseException));
|
|
29
|
+
export { InternalFailure };
|
|
30
|
+
var ModelError = (function (_super) {
|
|
31
|
+
__extends(ModelError, _super);
|
|
32
|
+
function ModelError(opts) {
|
|
33
|
+
var _this = _super.call(this, __assign({ name: "ModelError", $fault: "client" }, opts)) || this;
|
|
34
|
+
_this.name = "ModelError";
|
|
35
|
+
_this.$fault = "client";
|
|
36
|
+
Object.setPrototypeOf(_this, ModelError.prototype);
|
|
37
|
+
_this.Message = opts.Message;
|
|
38
|
+
_this.OriginalStatusCode = opts.OriginalStatusCode;
|
|
39
|
+
_this.OriginalMessage = opts.OriginalMessage;
|
|
40
|
+
_this.LogStreamArn = opts.LogStreamArn;
|
|
41
|
+
return _this;
|
|
43
42
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
43
|
+
return ModelError;
|
|
44
|
+
}(__BaseException));
|
|
45
|
+
export { ModelError };
|
|
46
|
+
var ModelNotReadyException = (function (_super) {
|
|
47
|
+
__extends(ModelNotReadyException, _super);
|
|
48
|
+
function ModelNotReadyException(opts) {
|
|
49
|
+
var _this = _super.call(this, __assign({ name: "ModelNotReadyException", $fault: "client" }, opts)) || this;
|
|
50
|
+
_this.name = "ModelNotReadyException";
|
|
51
|
+
_this.$fault = "client";
|
|
52
|
+
Object.setPrototypeOf(_this, ModelNotReadyException.prototype);
|
|
53
|
+
_this.Message = opts.Message;
|
|
54
|
+
return _this;
|
|
56
55
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
56
|
+
return ModelNotReadyException;
|
|
57
|
+
}(__BaseException));
|
|
58
|
+
export { ModelNotReadyException };
|
|
59
|
+
var ServiceUnavailable = (function (_super) {
|
|
60
|
+
__extends(ServiceUnavailable, _super);
|
|
61
|
+
function ServiceUnavailable(opts) {
|
|
62
|
+
var _this = _super.call(this, __assign({ name: "ServiceUnavailable", $fault: "server" }, opts)) || this;
|
|
63
|
+
_this.name = "ServiceUnavailable";
|
|
64
|
+
_this.$fault = "server";
|
|
65
|
+
Object.setPrototypeOf(_this, ServiceUnavailable.prototype);
|
|
66
|
+
_this.Message = opts.Message;
|
|
67
|
+
return _this;
|
|
69
68
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
69
|
+
return ServiceUnavailable;
|
|
70
|
+
}(__BaseException));
|
|
71
|
+
export { ServiceUnavailable };
|
|
72
|
+
var ValidationError = (function (_super) {
|
|
73
|
+
__extends(ValidationError, _super);
|
|
74
|
+
function ValidationError(opts) {
|
|
75
|
+
var _this = _super.call(this, __assign({ name: "ValidationError", $fault: "client" }, opts)) || this;
|
|
76
|
+
_this.name = "ValidationError";
|
|
77
|
+
_this.$fault = "client";
|
|
78
|
+
Object.setPrototypeOf(_this, ValidationError.prototype);
|
|
79
|
+
_this.Message = opts.Message;
|
|
80
|
+
return _this;
|
|
82
81
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
});
|
|
89
|
-
export
|
|
90
|
-
...obj,
|
|
91
|
-
...(obj.Body && { Body: SENSITIVE_STRING }),
|
|
92
|
-
...(obj.CustomAttributes && { CustomAttributes: SENSITIVE_STRING }),
|
|
93
|
-
});
|
|
94
|
-
export const InvokeEndpointAsyncInputFilterSensitiveLog = (obj) => ({
|
|
95
|
-
...obj,
|
|
96
|
-
...(obj.CustomAttributes && { CustomAttributes: SENSITIVE_STRING }),
|
|
97
|
-
});
|
|
98
|
-
export const InvokeEndpointAsyncOutputFilterSensitiveLog = (obj) => ({
|
|
99
|
-
...obj,
|
|
100
|
-
});
|
|
82
|
+
return ValidationError;
|
|
83
|
+
}(__BaseException));
|
|
84
|
+
export { ValidationError };
|
|
85
|
+
export var InvokeEndpointInputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Body && { Body: SENSITIVE_STRING })), (obj.CustomAttributes && { CustomAttributes: SENSITIVE_STRING }))); };
|
|
86
|
+
export var InvokeEndpointOutputFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Body && { Body: SENSITIVE_STRING })), (obj.CustomAttributes && { CustomAttributes: SENSITIVE_STRING }))); };
|
|
87
|
+
export var InvokeEndpointAsyncInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CustomAttributes && { CustomAttributes: SENSITIVE_STRING }))); };
|
|
88
|
+
export var InvokeEndpointAsyncOutputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|