@aws-sdk/client-sagemaker-featurestore-runtime 3.181.0 → 3.183.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,14 @@
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.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-sagemaker-featurestore-runtime
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
7
15
 
8
16
 
@@ -1,70 +1,63 @@
1
- import { __extends } from "tslib";
2
1
  import { BatchGetRecordCommand, } from "./commands/BatchGetRecordCommand";
3
2
  import { DeleteRecordCommand, } from "./commands/DeleteRecordCommand";
4
3
  import { GetRecordCommand } from "./commands/GetRecordCommand";
5
4
  import { PutRecordCommand } from "./commands/PutRecordCommand";
6
5
  import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRuntimeClient";
7
- var SageMakerFeatureStoreRuntime = (function (_super) {
8
- __extends(SageMakerFeatureStoreRuntime, _super);
9
- function SageMakerFeatureStoreRuntime() {
10
- return _super !== null && _super.apply(this, arguments) || this;
11
- }
12
- SageMakerFeatureStoreRuntime.prototype.batchGetRecord = function (args, optionsOrCb, cb) {
13
- var command = new BatchGetRecordCommand(args);
6
+ export class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient {
7
+ batchGetRecord(args, optionsOrCb, cb) {
8
+ const command = new BatchGetRecordCommand(args);
14
9
  if (typeof optionsOrCb === "function") {
15
10
  this.send(command, optionsOrCb);
16
11
  }
17
12
  else if (typeof cb === "function") {
18
13
  if (typeof optionsOrCb !== "object")
19
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
14
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
20
15
  this.send(command, optionsOrCb || {}, cb);
21
16
  }
22
17
  else {
23
18
  return this.send(command, optionsOrCb);
24
19
  }
25
- };
26
- SageMakerFeatureStoreRuntime.prototype.deleteRecord = function (args, optionsOrCb, cb) {
27
- var command = new DeleteRecordCommand(args);
20
+ }
21
+ deleteRecord(args, optionsOrCb, cb) {
22
+ const command = new DeleteRecordCommand(args);
28
23
  if (typeof optionsOrCb === "function") {
29
24
  this.send(command, optionsOrCb);
30
25
  }
31
26
  else if (typeof cb === "function") {
32
27
  if (typeof optionsOrCb !== "object")
33
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
28
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
34
29
  this.send(command, optionsOrCb || {}, cb);
35
30
  }
36
31
  else {
37
32
  return this.send(command, optionsOrCb);
38
33
  }
39
- };
40
- SageMakerFeatureStoreRuntime.prototype.getRecord = function (args, optionsOrCb, cb) {
41
- var command = new GetRecordCommand(args);
34
+ }
35
+ getRecord(args, optionsOrCb, cb) {
36
+ const command = new GetRecordCommand(args);
42
37
  if (typeof optionsOrCb === "function") {
43
38
  this.send(command, optionsOrCb);
44
39
  }
45
40
  else if (typeof cb === "function") {
46
41
  if (typeof optionsOrCb !== "object")
47
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
42
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
48
43
  this.send(command, optionsOrCb || {}, cb);
49
44
  }
50
45
  else {
51
46
  return this.send(command, optionsOrCb);
52
47
  }
53
- };
54
- SageMakerFeatureStoreRuntime.prototype.putRecord = function (args, optionsOrCb, cb) {
55
- var command = new PutRecordCommand(args);
48
+ }
49
+ putRecord(args, optionsOrCb, cb) {
50
+ const command = new PutRecordCommand(args);
56
51
  if (typeof optionsOrCb === "function") {
57
52
  this.send(command, optionsOrCb);
58
53
  }
59
54
  else if (typeof cb === "function") {
60
55
  if (typeof optionsOrCb !== "object")
61
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
56
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
62
57
  this.send(command, optionsOrCb || {}, cb);
63
58
  }
64
59
  else {
65
60
  return this.send(command, optionsOrCb);
66
61
  }
67
- };
68
- return SageMakerFeatureStoreRuntime;
69
- }(SageMakerFeatureStoreRuntimeClient));
70
- export { SageMakerFeatureStoreRuntime };
62
+ }
63
+ }
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var SageMakerFeatureStoreRuntimeClient = (function (_super) {
13
- __extends(SageMakerFeatureStoreRuntimeClient, _super);
14
- function SageMakerFeatureStoreRuntimeClient(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;
11
+ export class SageMakerFeatureStoreRuntimeClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- SageMakerFeatureStoreRuntimeClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return SageMakerFeatureStoreRuntimeClient;
38
- }(__Client));
39
- export { SageMakerFeatureStoreRuntimeClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
33
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { BatchGetRecordRequestFilterSensitiveLog, BatchGetRecordResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1BatchGetRecordCommand, serializeAws_restJson1BatchGetRecordCommand, } from "../protocols/Aws_restJson1";
6
- var BatchGetRecordCommand = (function (_super) {
7
- __extends(BatchGetRecordCommand, _super);
8
- function BatchGetRecordCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGetRecordCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGetRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SageMakerFeatureStoreRuntimeClient";
18
- var commandName = "BatchGetRecordCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SageMakerFeatureStoreRuntimeClient";
15
+ const commandName = "BatchGetRecordCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGetRecordRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGetRecordResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGetRecordCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1BatchGetRecordCommand(input, context);
33
- };
34
- BatchGetRecordCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchGetRecordCommand(output, context);
36
- };
37
- return BatchGetRecordCommand;
38
- }($Command));
39
- export { BatchGetRecordCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteRecordRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteRecordCommand, serializeAws_restJson1DeleteRecordCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteRecordCommand = (function (_super) {
7
- __extends(DeleteRecordCommand, _super);
8
- function DeleteRecordCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteRecordCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SageMakerFeatureStoreRuntimeClient";
18
- var commandName = "DeleteRecordCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SageMakerFeatureStoreRuntimeClient";
15
+ const commandName = "DeleteRecordCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteRecordRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteRecordCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteRecordCommand(input, context);
33
- };
34
- DeleteRecordCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteRecordCommand(output, context);
36
- };
37
- return DeleteRecordCommand;
38
- }($Command));
39
- export { DeleteRecordCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetRecordRequestFilterSensitiveLog, GetRecordResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetRecordCommand, serializeAws_restJson1GetRecordCommand, } from "../protocols/Aws_restJson1";
6
- var GetRecordCommand = (function (_super) {
7
- __extends(GetRecordCommand, _super);
8
- function GetRecordCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetRecordCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SageMakerFeatureStoreRuntimeClient";
18
- var commandName = "GetRecordCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SageMakerFeatureStoreRuntimeClient";
15
+ const commandName = "GetRecordCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetRecordRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetRecordResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetRecordCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetRecordCommand(input, context);
33
- };
34
- GetRecordCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetRecordCommand(output, context);
36
- };
37
- return GetRecordCommand;
38
- }($Command));
39
- export { GetRecordCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutRecordRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PutRecordCommand, serializeAws_restJson1PutRecordCommand, } from "../protocols/Aws_restJson1";
6
- var PutRecordCommand = (function (_super) {
7
- __extends(PutRecordCommand, _super);
8
- function PutRecordCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutRecordCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutRecordCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "SageMakerFeatureStoreRuntimeClient";
18
- var commandName = "PutRecordCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "SageMakerFeatureStoreRuntimeClient";
15
+ const commandName = "PutRecordCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutRecordRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutRecordCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PutRecordCommand(input, context);
33
- };
34
- PutRecordCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PutRecordCommand(output, context);
36
- };
37
- return PutRecordCommand;
38
- }($Command));
39
- export { PutRecordCommand };
31
+ }
32
+ }
@@ -1,7 +1,6 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {};
4
- var partitionHash = {
2
+ const regionHash = {};
3
+ const partitionHash = {
5
4
  aws: {
6
5
  regions: [
7
6
  "af-south-1",
@@ -121,8 +120,9 @@ var partitionHash = {
121
120
  ],
122
121
  },
123
122
  };
124
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
125
- return __generator(this, function (_a) {
126
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "sagemaker", regionHash: regionHash, partitionHash: partitionHash }))];
127
- });
128
- }); };
123
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
+ ...options,
125
+ signingService: "sagemaker",
126
+ regionHash,
127
+ partitionHash,
128
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var SageMakerFeatureStoreRuntimeServiceException = (function (_super) {
4
- __extends(SageMakerFeatureStoreRuntimeServiceException, _super);
5
- function SageMakerFeatureStoreRuntimeServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, SageMakerFeatureStoreRuntimeServiceException.prototype);
8
- return _this;
2
+ export class SageMakerFeatureStoreRuntimeServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, SageMakerFeatureStoreRuntimeServiceException.prototype);
9
6
  }
10
- return SageMakerFeatureStoreRuntimeServiceException;
11
- }(__ServiceException));
12
- export { SageMakerFeatureStoreRuntimeServiceException };
7
+ }
@@ -1,77 +1,96 @@
1
- import { __assign, __extends } from "tslib";
2
1
  import { SageMakerFeatureStoreRuntimeServiceException as __BaseException } from "./SageMakerFeatureStoreRuntimeServiceException";
3
- var AccessForbidden = (function (_super) {
4
- __extends(AccessForbidden, _super);
5
- function AccessForbidden(opts) {
6
- var _this = _super.call(this, __assign({ name: "AccessForbidden", $fault: "client" }, opts)) || this;
7
- _this.name = "AccessForbidden";
8
- _this.$fault = "client";
9
- Object.setPrototypeOf(_this, AccessForbidden.prototype);
10
- _this.Message = opts.Message;
11
- return _this;
2
+ export class AccessForbidden extends __BaseException {
3
+ constructor(opts) {
4
+ super({
5
+ name: "AccessForbidden",
6
+ $fault: "client",
7
+ ...opts,
8
+ });
9
+ this.name = "AccessForbidden";
10
+ this.$fault = "client";
11
+ Object.setPrototypeOf(this, AccessForbidden.prototype);
12
+ this.Message = opts.Message;
12
13
  }
13
- return AccessForbidden;
14
- }(__BaseException));
15
- export { AccessForbidden };
16
- var InternalFailure = (function (_super) {
17
- __extends(InternalFailure, _super);
18
- function InternalFailure(opts) {
19
- var _this = _super.call(this, __assign({ name: "InternalFailure", $fault: "server" }, opts)) || this;
20
- _this.name = "InternalFailure";
21
- _this.$fault = "server";
22
- Object.setPrototypeOf(_this, InternalFailure.prototype);
23
- _this.Message = opts.Message;
24
- return _this;
14
+ }
15
+ export class InternalFailure extends __BaseException {
16
+ constructor(opts) {
17
+ super({
18
+ name: "InternalFailure",
19
+ $fault: "server",
20
+ ...opts,
21
+ });
22
+ this.name = "InternalFailure";
23
+ this.$fault = "server";
24
+ Object.setPrototypeOf(this, InternalFailure.prototype);
25
+ this.Message = opts.Message;
25
26
  }
26
- return InternalFailure;
27
- }(__BaseException));
28
- export { InternalFailure };
29
- var ServiceUnavailable = (function (_super) {
30
- __extends(ServiceUnavailable, _super);
31
- function ServiceUnavailable(opts) {
32
- var _this = _super.call(this, __assign({ name: "ServiceUnavailable", $fault: "server" }, opts)) || this;
33
- _this.name = "ServiceUnavailable";
34
- _this.$fault = "server";
35
- Object.setPrototypeOf(_this, ServiceUnavailable.prototype);
36
- _this.Message = opts.Message;
37
- return _this;
27
+ }
28
+ export class ServiceUnavailable extends __BaseException {
29
+ constructor(opts) {
30
+ super({
31
+ name: "ServiceUnavailable",
32
+ $fault: "server",
33
+ ...opts,
34
+ });
35
+ this.name = "ServiceUnavailable";
36
+ this.$fault = "server";
37
+ Object.setPrototypeOf(this, ServiceUnavailable.prototype);
38
+ this.Message = opts.Message;
38
39
  }
39
- return ServiceUnavailable;
40
- }(__BaseException));
41
- export { ServiceUnavailable };
42
- var ValidationError = (function (_super) {
43
- __extends(ValidationError, _super);
44
- function ValidationError(opts) {
45
- var _this = _super.call(this, __assign({ name: "ValidationError", $fault: "client" }, opts)) || this;
46
- _this.name = "ValidationError";
47
- _this.$fault = "client";
48
- Object.setPrototypeOf(_this, ValidationError.prototype);
49
- _this.Message = opts.Message;
50
- return _this;
40
+ }
41
+ export class ValidationError extends __BaseException {
42
+ constructor(opts) {
43
+ super({
44
+ name: "ValidationError",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ this.name = "ValidationError";
49
+ this.$fault = "client";
50
+ Object.setPrototypeOf(this, ValidationError.prototype);
51
+ this.Message = opts.Message;
51
52
  }
52
- return ValidationError;
53
- }(__BaseException));
54
- export { ValidationError };
55
- var ResourceNotFound = (function (_super) {
56
- __extends(ResourceNotFound, _super);
57
- function ResourceNotFound(opts) {
58
- var _this = _super.call(this, __assign({ name: "ResourceNotFound", $fault: "client" }, opts)) || this;
59
- _this.name = "ResourceNotFound";
60
- _this.$fault = "client";
61
- Object.setPrototypeOf(_this, ResourceNotFound.prototype);
62
- _this.Message = opts.Message;
63
- return _this;
53
+ }
54
+ export class ResourceNotFound extends __BaseException {
55
+ constructor(opts) {
56
+ super({
57
+ name: "ResourceNotFound",
58
+ $fault: "client",
59
+ ...opts,
60
+ });
61
+ this.name = "ResourceNotFound";
62
+ this.$fault = "client";
63
+ Object.setPrototypeOf(this, ResourceNotFound.prototype);
64
+ this.Message = opts.Message;
64
65
  }
65
- return ResourceNotFound;
66
- }(__BaseException));
67
- export { ResourceNotFound };
68
- export var BatchGetRecordIdentifierFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
69
- export var BatchGetRecordRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
70
- export var BatchGetRecordErrorFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
71
- export var FeatureValueFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
72
- export var BatchGetRecordResultDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
73
- export var BatchGetRecordResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
74
- export var DeleteRecordRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
75
- export var GetRecordRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
76
- export var GetRecordResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
77
- export var PutRecordRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
66
+ }
67
+ export const BatchGetRecordIdentifierFilterSensitiveLog = (obj) => ({
68
+ ...obj,
69
+ });
70
+ export const BatchGetRecordRequestFilterSensitiveLog = (obj) => ({
71
+ ...obj,
72
+ });
73
+ export const BatchGetRecordErrorFilterSensitiveLog = (obj) => ({
74
+ ...obj,
75
+ });
76
+ export const FeatureValueFilterSensitiveLog = (obj) => ({
77
+ ...obj,
78
+ });
79
+ export const BatchGetRecordResultDetailFilterSensitiveLog = (obj) => ({
80
+ ...obj,
81
+ });
82
+ export const BatchGetRecordResponseFilterSensitiveLog = (obj) => ({
83
+ ...obj,
84
+ });
85
+ export const DeleteRecordRequestFilterSensitiveLog = (obj) => ({
86
+ ...obj,
87
+ });
88
+ export const GetRecordRequestFilterSensitiveLog = (obj) => ({
89
+ ...obj,
90
+ });
91
+ export const GetRecordResponseFilterSensitiveLog = (obj) => ({
92
+ ...obj,
93
+ });
94
+ export const PutRecordRequestFilterSensitiveLog = (obj) => ({
95
+ ...obj,
96
+ });