@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 +20 -0
- package/dist-cjs/protocols/Aws_restJson1.js +9 -3
- package/dist-es/SagemakerEdge.js +14 -21
- package/dist-es/SagemakerEdgeClient.js +22 -28
- package/dist-es/commands/GetDeploymentsCommand.js +21 -28
- package/dist-es/commands/GetDeviceRegistrationCommand.js +21 -28
- package/dist-es/commands/SendHeartbeatCommand.js +22 -29
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SagemakerEdgeServiceException.js +5 -10
- package/dist-es/models/models_0.js +48 -25
- package/dist-es/protocols/Aws_restJson1.js +258 -309
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
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
|
|
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
|
|
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
|
|
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) => {
|
package/dist-es/SagemakerEdge.js
CHANGED
|
@@ -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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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(
|
|
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
|
-
|
|
26
|
-
|
|
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(
|
|
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
|
-
|
|
40
|
-
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
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
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetDeploymentsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
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
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetDeviceRegistrationCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
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:
|
|
21
|
+
outputFilterSensitiveLog: (output) => output,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1SendHeartbeatCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { SendHeartbeatCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
4
|
-
|
|
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
|
|
125
|
-
|
|
126
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
|
|
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
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
export
|
|
49
|
-
|
|
50
|
-
|
|
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
|
+
});
|