@aws-sdk/client-sagemaker-edge 3.180.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,26 @@
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-edge
9
+
10
+
11
+
12
+
13
+
14
+ # [3.181.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.180.0...v3.181.0) (2022-09-29)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **clients:** make parseErrorBody async ([#3999](https://github.com/aws/aws-sdk-js-v3/issues/3999)) ([2558c93](https://github.com/aws/aws-sdk-js-v3/commit/2558c93c050357ac6dc47aa0452b15b12ebfd676))
20
+ * **clients:** populate message field when parsing errors ([#3995](https://github.com/aws/aws-sdk-js-v3/issues/3995)) ([02e47f1](https://github.com/aws/aws-sdk-js-v3/commit/02e47f14397ae0a5d2e2883350d038b307fdcdb4))
21
+
22
+
23
+
24
+
25
+
6
26
  # [3.180.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.179.0...v3.180.0) (2022-09-27)
7
27
 
8
28
  **Note:** Version bump only for package @aws-sdk/client-sagemaker-edge
@@ -94,7 +94,7 @@ exports.deserializeAws_restJson1GetDeploymentsCommand = deserializeAws_restJson1
94
94
  const deserializeAws_restJson1GetDeploymentsCommandError = async (output, context) => {
95
95
  const parsedOutput = {
96
96
  ...output,
97
- body: await parseBody(output.body, context),
97
+ body: await parseErrorBody(output.body, context),
98
98
  };
99
99
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
100
100
  switch (errorCode) {
@@ -131,7 +131,7 @@ exports.deserializeAws_restJson1GetDeviceRegistrationCommand = deserializeAws_re
131
131
  const deserializeAws_restJson1GetDeviceRegistrationCommandError = async (output, context) => {
132
132
  const parsedOutput = {
133
133
  ...output,
134
- body: await parseBody(output.body, context),
134
+ body: await parseErrorBody(output.body, context),
135
135
  };
136
136
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
137
137
  switch (errorCode) {
@@ -162,7 +162,7 @@ exports.deserializeAws_restJson1SendHeartbeatCommand = deserializeAws_restJson1S
162
162
  const deserializeAws_restJson1SendHeartbeatCommandError = async (output, context) => {
163
163
  const parsedOutput = {
164
164
  ...output,
165
- body: await parseBody(output.body, context),
165
+ body: await parseErrorBody(output.body, context),
166
166
  };
167
167
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
168
168
  switch (errorCode) {
@@ -327,6 +327,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
327
327
  }
328
328
  return {};
329
329
  });
330
+ const parseErrorBody = async (errorBody, context) => {
331
+ var _a;
332
+ const value = await parseBody(errorBody, context);
333
+ value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
334
+ return value;
335
+ };
330
336
  const loadRestJsonErrorCode = (output, data) => {
331
337
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
332
338
  const sanitizeErrorCode = (rawValue) => {
@@ -1,55 +1,48 @@
1
- import { __extends } from "tslib";
2
1
  import { GetDeploymentsCommand, } from "./commands/GetDeploymentsCommand";
3
2
  import { GetDeviceRegistrationCommand, } from "./commands/GetDeviceRegistrationCommand";
4
3
  import { SendHeartbeatCommand, } from "./commands/SendHeartbeatCommand";
5
4
  import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
6
- var SagemakerEdge = (function (_super) {
7
- __extends(SagemakerEdge, _super);
8
- function SagemakerEdge() {
9
- return _super !== null && _super.apply(this, arguments) || this;
10
- }
11
- SagemakerEdge.prototype.getDeployments = function (args, optionsOrCb, cb) {
12
- var command = new GetDeploymentsCommand(args);
5
+ export class SagemakerEdge extends SagemakerEdgeClient {
6
+ getDeployments(args, optionsOrCb, cb) {
7
+ const command = new GetDeploymentsCommand(args);
13
8
  if (typeof optionsOrCb === "function") {
14
9
  this.send(command, optionsOrCb);
15
10
  }
16
11
  else if (typeof cb === "function") {
17
12
  if (typeof optionsOrCb !== "object")
18
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
13
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
19
14
  this.send(command, optionsOrCb || {}, cb);
20
15
  }
21
16
  else {
22
17
  return this.send(command, optionsOrCb);
23
18
  }
24
- };
25
- SagemakerEdge.prototype.getDeviceRegistration = function (args, optionsOrCb, cb) {
26
- var command = new GetDeviceRegistrationCommand(args);
19
+ }
20
+ getDeviceRegistration(args, optionsOrCb, cb) {
21
+ const command = new GetDeviceRegistrationCommand(args);
27
22
  if (typeof optionsOrCb === "function") {
28
23
  this.send(command, optionsOrCb);
29
24
  }
30
25
  else if (typeof cb === "function") {
31
26
  if (typeof optionsOrCb !== "object")
32
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
27
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
33
28
  this.send(command, optionsOrCb || {}, cb);
34
29
  }
35
30
  else {
36
31
  return this.send(command, optionsOrCb);
37
32
  }
38
- };
39
- SagemakerEdge.prototype.sendHeartbeat = function (args, optionsOrCb, cb) {
40
- var command = new SendHeartbeatCommand(args);
33
+ }
34
+ sendHeartbeat(args, optionsOrCb, cb) {
35
+ const command = new SendHeartbeatCommand(args);
41
36
  if (typeof optionsOrCb === "function") {
42
37
  this.send(command, optionsOrCb);
43
38
  }
44
39
  else if (typeof cb === "function") {
45
40
  if (typeof optionsOrCb !== "object")
46
- throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
41
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
47
42
  this.send(command, optionsOrCb || {}, cb);
48
43
  }
49
44
  else {
50
45
  return this.send(command, optionsOrCb);
51
46
  }
52
- };
53
- return SagemakerEdge;
54
- }(SagemakerEdgeClient));
55
- export { SagemakerEdge };
47
+ }
48
+ }
@@ -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 SagemakerEdgeClient = (function (_super) {
13
- __extends(SagemakerEdgeClient, _super);
14
- function SagemakerEdgeClient(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 SagemakerEdgeClient 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
- SagemakerEdgeClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return SagemakerEdgeClient;
38
- }(__Client));
39
- export { SagemakerEdgeClient };
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 { GetDeploymentsRequestFilterSensitiveLog, GetDeploymentsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetDeploymentsCommand, serializeAws_restJson1GetDeploymentsCommand, } from "../protocols/Aws_restJson1";
6
- var GetDeploymentsCommand = (function (_super) {
7
- __extends(GetDeploymentsCommand, _super);
8
- function GetDeploymentsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetDeploymentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetDeploymentsCommand.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 = "SagemakerEdgeClient";
18
- var commandName = "GetDeploymentsCommand";
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 = "SagemakerEdgeClient";
15
+ const commandName = "GetDeploymentsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetDeploymentsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetDeploymentsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetDeploymentsCommand.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_restJson1GetDeploymentsCommand(input, context);
33
- };
34
- GetDeploymentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetDeploymentsCommand(output, context);
36
- };
37
- return GetDeploymentsCommand;
38
- }($Command));
39
- export { GetDeploymentsCommand };
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 { GetDeviceRegistrationRequestFilterSensitiveLog, GetDeviceRegistrationResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetDeviceRegistrationCommand, serializeAws_restJson1GetDeviceRegistrationCommand, } from "../protocols/Aws_restJson1";
6
- var GetDeviceRegistrationCommand = (function (_super) {
7
- __extends(GetDeviceRegistrationCommand, _super);
8
- function GetDeviceRegistrationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetDeviceRegistrationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetDeviceRegistrationCommand.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 = "SagemakerEdgeClient";
18
- var commandName = "GetDeviceRegistrationCommand";
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 = "SagemakerEdgeClient";
15
+ const commandName = "GetDeviceRegistrationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetDeviceRegistrationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetDeviceRegistrationResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetDeviceRegistrationCommand.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_restJson1GetDeviceRegistrationCommand(input, context);
33
- };
34
- GetDeviceRegistrationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetDeviceRegistrationCommand(output, context);
36
- };
37
- return GetDeviceRegistrationCommand;
38
- }($Command));
39
- export { GetDeviceRegistrationCommand };
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 { SendHeartbeatRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1SendHeartbeatCommand, serializeAws_restJson1SendHeartbeatCommand, } from "../protocols/Aws_restJson1";
6
- var SendHeartbeatCommand = (function (_super) {
7
- __extends(SendHeartbeatCommand, _super);
8
- function SendHeartbeatCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SendHeartbeatCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SendHeartbeatCommand.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 = "SagemakerEdgeClient";
18
- var commandName = "SendHeartbeatCommand";
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 = "SagemakerEdgeClient";
15
+ const commandName = "SendHeartbeatCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SendHeartbeatRequestFilterSensitiveLog,
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
- SendHeartbeatCommand.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_restJson1SendHeartbeatCommand(input, context);
33
- };
34
- SendHeartbeatCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1SendHeartbeatCommand(output, context);
36
- };
37
- return SendHeartbeatCommand;
38
- }($Command));
39
- export { SendHeartbeatCommand };
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 SagemakerEdgeServiceException = (function (_super) {
4
- __extends(SagemakerEdgeServiceException, _super);
5
- function SagemakerEdgeServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, SagemakerEdgeServiceException.prototype);
8
- return _this;
2
+ export class SagemakerEdgeServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, SagemakerEdgeServiceException.prototype);
9
6
  }
10
- return SagemakerEdgeServiceException;
11
- }(__ServiceException));
12
- export { SagemakerEdgeServiceException };
7
+ }
@@ -1,4 +1,3 @@
1
- import { __assign, __extends } from "tslib";
2
1
  import { SagemakerEdgeServiceException as __BaseException } from "./SagemakerEdgeServiceException";
3
2
  export var ChecksumType;
4
3
  (function (ChecksumType) {
@@ -18,33 +17,57 @@ export var DeploymentType;
18
17
  (function (DeploymentType) {
19
18
  DeploymentType["Model"] = "Model";
20
19
  })(DeploymentType || (DeploymentType = {}));
21
- var InternalServiceException = (function (_super) {
22
- __extends(InternalServiceException, _super);
23
- function InternalServiceException(opts) {
24
- var _this = _super.call(this, __assign({ name: "InternalServiceException", $fault: "client" }, opts)) || this;
25
- _this.name = "InternalServiceException";
26
- _this.$fault = "client";
27
- Object.setPrototypeOf(_this, InternalServiceException.prototype);
28
- _this.Message = opts.Message;
29
- return _this;
20
+ export class InternalServiceException extends __BaseException {
21
+ constructor(opts) {
22
+ super({
23
+ name: "InternalServiceException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ this.name = "InternalServiceException";
28
+ this.$fault = "client";
29
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
30
+ this.Message = opts.Message;
30
31
  }
31
- return InternalServiceException;
32
- }(__BaseException));
33
- export { InternalServiceException };
32
+ }
34
33
  export var DeploymentStatus;
35
34
  (function (DeploymentStatus) {
36
35
  DeploymentStatus["Fail"] = "FAIL";
37
36
  DeploymentStatus["Success"] = "SUCCESS";
38
37
  })(DeploymentStatus || (DeploymentStatus = {}));
39
- export var GetDeploymentsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
40
- export var ChecksumFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
- export var DefinitionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
42
- export var EdgeDeploymentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
43
- export var GetDeploymentsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
44
- export var GetDeviceRegistrationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
45
- export var GetDeviceRegistrationResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
46
- export var EdgeMetricFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
47
- export var DeploymentModelFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
48
- export var DeploymentResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
49
- export var ModelFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
50
- export var SendHeartbeatRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
38
+ export const GetDeploymentsRequestFilterSensitiveLog = (obj) => ({
39
+ ...obj,
40
+ });
41
+ export const ChecksumFilterSensitiveLog = (obj) => ({
42
+ ...obj,
43
+ });
44
+ export const DefinitionFilterSensitiveLog = (obj) => ({
45
+ ...obj,
46
+ });
47
+ export const EdgeDeploymentFilterSensitiveLog = (obj) => ({
48
+ ...obj,
49
+ });
50
+ export const GetDeploymentsResultFilterSensitiveLog = (obj) => ({
51
+ ...obj,
52
+ });
53
+ export const GetDeviceRegistrationRequestFilterSensitiveLog = (obj) => ({
54
+ ...obj,
55
+ });
56
+ export const GetDeviceRegistrationResultFilterSensitiveLog = (obj) => ({
57
+ ...obj,
58
+ });
59
+ export const EdgeMetricFilterSensitiveLog = (obj) => ({
60
+ ...obj,
61
+ });
62
+ export const DeploymentModelFilterSensitiveLog = (obj) => ({
63
+ ...obj,
64
+ });
65
+ export const DeploymentResultFilterSensitiveLog = (obj) => ({
66
+ ...obj,
67
+ });
68
+ export const ModelFilterSensitiveLog = (obj) => ({
69
+ ...obj,
70
+ });
71
+ export const SendHeartbeatRequestFilterSensitiveLog = (obj) => ({
72
+ ...obj,
73
+ });