@aws-sdk/client-sagemaker-edge 3.32.0 → 3.36.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.
Files changed (98) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/SagemakerEdge.js +1 -2
  3. package/{dist/cjs → dist-cjs}/SagemakerEdgeClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/GetDeviceRegistrationCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/SendHeartbeatCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  7. package/{dist/cjs → dist-cjs}/index.js +0 -1
  8. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  9. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  10. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -3
  11. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  12. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  13. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  15. package/{dist/es → dist-es}/SagemakerEdge.js +2 -6
  16. package/{dist/es → dist-es}/SagemakerEdgeClient.js +2 -11
  17. package/{dist/es → dist-es}/commands/GetDeviceRegistrationCommand.js +4 -30
  18. package/{dist/es → dist-es}/commands/SendHeartbeatCommand.js +4 -30
  19. package/{dist/es → dist-es}/endpoints.js +1 -2
  20. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  21. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  22. package/{dist/es → dist-es}/models/models_0.js +0 -19
  23. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +25 -31
  24. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  25. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  26. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  27. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  28. package/{dist/types → dist-types}/SagemakerEdge.d.ts +2 -2
  29. package/{dist/types → dist-types}/SagemakerEdgeClient.d.ts +3 -3
  30. package/{dist/types → dist-types}/commands/GetDeviceRegistrationCommand.d.ts +3 -3
  31. package/{dist/types → dist-types}/commands/SendHeartbeatCommand.d.ts +3 -3
  32. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  33. package/{index.ts → dist-types/index.d.ts} +0 -0
  34. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  35. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  36. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  37. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  38. package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -1
  39. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  40. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  41. package/{dist/types → dist-types}/ts3.4/SagemakerEdge.d.ts +2 -2
  42. package/{dist/types → dist-types}/ts3.4/SagemakerEdgeClient.d.ts +3 -3
  43. package/{dist/types → dist-types}/ts3.4/commands/GetDeviceRegistrationCommand.d.ts +3 -3
  44. package/{dist/types → dist-types}/ts3.4/commands/SendHeartbeatCommand.d.ts +3 -3
  45. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  46. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  47. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  48. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  49. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  50. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  51. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -1
  52. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  53. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  54. package/package.json +52 -49
  55. package/SagemakerEdge.ts +0 -81
  56. package/SagemakerEdgeClient.ts +0 -240
  57. package/commands/GetDeviceRegistrationCommand.ts +0 -94
  58. package/commands/SendHeartbeatCommand.ts +0 -94
  59. package/dist/cjs/SagemakerEdge.js.map +0 -1
  60. package/dist/cjs/SagemakerEdgeClient.js.map +0 -1
  61. package/dist/cjs/commands/GetDeviceRegistrationCommand.js.map +0 -1
  62. package/dist/cjs/commands/SendHeartbeatCommand.js.map +0 -1
  63. package/dist/cjs/endpoints.js.map +0 -1
  64. package/dist/cjs/index.js.map +0 -1
  65. package/dist/cjs/models/index.js.map +0 -1
  66. package/dist/cjs/models/models_0.js.map +0 -1
  67. package/dist/cjs/package.json +0 -91
  68. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  69. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  70. package/dist/cjs/runtimeConfig.js.map +0 -1
  71. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  72. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  73. package/dist/es/SagemakerEdge.js.map +0 -1
  74. package/dist/es/SagemakerEdgeClient.js.map +0 -1
  75. package/dist/es/commands/GetDeviceRegistrationCommand.js.map +0 -1
  76. package/dist/es/commands/SendHeartbeatCommand.js.map +0 -1
  77. package/dist/es/endpoints.js.map +0 -1
  78. package/dist/es/index.js +0 -6
  79. package/dist/es/index.js.map +0 -1
  80. package/dist/es/models/index.js +0 -2
  81. package/dist/es/models/index.js.map +0 -1
  82. package/dist/es/models/models_0.js.map +0 -1
  83. package/dist/es/package.json +0 -91
  84. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  85. package/dist/es/runtimeConfig.browser.js.map +0 -1
  86. package/dist/es/runtimeConfig.js.map +0 -1
  87. package/dist/es/runtimeConfig.native.js.map +0 -1
  88. package/dist/es/runtimeConfig.shared.js.map +0 -1
  89. package/endpoints.ts +0 -57
  90. package/jest.config.js +0 -4
  91. package/models/models_0.ts +0 -171
  92. package/protocols/Aws_restJson1.ts +0 -316
  93. package/runtimeConfig.browser.ts +0 -40
  94. package/runtimeConfig.native.ts +0 -16
  95. package/runtimeConfig.shared.ts +0 -16
  96. package/runtimeConfig.ts +0 -45
  97. package/tsconfig.es.json +0 -12
  98. package/tsconfig.json +0 -32
@@ -5,7 +5,7 @@ export var serializeAws_restJson1GetDeviceRegistrationCommand = function (input,
5
5
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
6
6
  return __generator(this, function (_c) {
7
7
  switch (_c.label) {
8
- case 0: return [4 /*yield*/, context.endpoint()];
8
+ case 0: return [4, context.endpoint()];
9
9
  case 1:
10
10
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
11
11
  headers = {
@@ -14,7 +14,7 @@ export var serializeAws_restJson1GetDeviceRegistrationCommand = function (input,
14
14
  resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/GetDeviceRegistration";
15
15
  body = JSON.stringify(__assign(__assign({}, (input.DeviceFleetName !== undefined &&
16
16
  input.DeviceFleetName !== null && { DeviceFleetName: input.DeviceFleetName })), (input.DeviceName !== undefined && input.DeviceName !== null && { DeviceName: input.DeviceName })));
17
- return [2 /*return*/, new __HttpRequest({
17
+ return [2, new __HttpRequest({
18
18
  protocol: protocol,
19
19
  hostname: hostname,
20
20
  port: port,
@@ -30,7 +30,7 @@ export var serializeAws_restJson1SendHeartbeatCommand = function (input, context
30
30
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
31
31
  return __generator(this, function (_c) {
32
32
  switch (_c.label) {
33
- case 0: return [4 /*yield*/, context.endpoint()];
33
+ case 0: return [4, context.endpoint()];
34
34
  case 1:
35
35
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
36
36
  headers = {
@@ -41,7 +41,7 @@ export var serializeAws_restJson1SendHeartbeatCommand = function (input, context
41
41
  input.AgentMetrics !== null && { AgentMetrics: serializeAws_restJson1EdgeMetrics(input.AgentMetrics, context) })), (input.AgentVersion !== undefined && input.AgentVersion !== null && { AgentVersion: input.AgentVersion })), (input.DeviceFleetName !== undefined &&
42
42
  input.DeviceFleetName !== null && { DeviceFleetName: input.DeviceFleetName })), (input.DeviceName !== undefined && input.DeviceName !== null && { DeviceName: input.DeviceName })), (input.Models !== undefined &&
43
43
  input.Models !== null && { Models: serializeAws_restJson1Models(input.Models, context) })));
44
- return [2 /*return*/, new __HttpRequest({
44
+ return [2, new __HttpRequest({
45
45
  protocol: protocol,
46
46
  hostname: hostname,
47
47
  port: port,
@@ -59,7 +59,7 @@ export var deserializeAws_restJson1GetDeviceRegistrationCommand = function (outp
59
59
  switch (_c.label) {
60
60
  case 0:
61
61
  if (output.statusCode !== 200 && output.statusCode >= 300) {
62
- return [2 /*return*/, deserializeAws_restJson1GetDeviceRegistrationCommandError(output, context)];
62
+ return [2, deserializeAws_restJson1GetDeviceRegistrationCommandError(output, context)];
63
63
  }
64
64
  contents = {
65
65
  $metadata: deserializeMetadata(output),
@@ -68,7 +68,7 @@ export var deserializeAws_restJson1GetDeviceRegistrationCommand = function (outp
68
68
  };
69
69
  _a = __expectNonNull;
70
70
  _b = __expectObject;
71
- return [4 /*yield*/, parseBody(output.body, context)];
71
+ return [4, parseBody(output.body, context)];
72
72
  case 1:
73
73
  data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
74
74
  if (data.CacheTTL !== undefined && data.CacheTTL !== null) {
@@ -77,7 +77,7 @@ export var deserializeAws_restJson1GetDeviceRegistrationCommand = function (outp
77
77
  if (data.DeviceRegistration !== undefined && data.DeviceRegistration !== null) {
78
78
  contents.DeviceRegistration = __expectString(data.DeviceRegistration);
79
79
  }
80
- return [2 /*return*/, Promise.resolve(contents)];
80
+ return [2, Promise.resolve(contents)];
81
81
  }
82
82
  });
83
83
  }); };
@@ -89,23 +89,23 @@ var deserializeAws_restJson1GetDeviceRegistrationCommandError = function (output
89
89
  case 0:
90
90
  _a = [__assign({}, output)];
91
91
  _d = {};
92
- return [4 /*yield*/, parseBody(output.body, context)];
92
+ return [4, parseBody(output.body, context)];
93
93
  case 1:
94
94
  parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
95
95
  errorCode = "UnknownError";
96
96
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
97
97
  _b = errorCode;
98
98
  switch (_b) {
99
- case "InternalServiceException": return [3 /*break*/, 2];
100
- case "com.amazonaws.sagemakeredge#InternalServiceException": return [3 /*break*/, 2];
99
+ case "InternalServiceException": return [3, 2];
100
+ case "com.amazonaws.sagemakeredge#InternalServiceException": return [3, 2];
101
101
  }
102
- return [3 /*break*/, 4];
102
+ return [3, 4];
103
103
  case 2:
104
104
  _c = [{}];
105
- return [4 /*yield*/, deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context)];
105
+ return [4, deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context)];
106
106
  case 3:
107
107
  response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
108
- return [3 /*break*/, 5];
108
+ return [3, 5];
109
109
  case 4:
110
110
  parsedBody = parsedOutput.body;
111
111
  errorCode = parsedBody.code || parsedBody.Code || errorCode;
@@ -115,7 +115,7 @@ var deserializeAws_restJson1GetDeviceRegistrationCommandError = function (output
115
115
  message = response.message || response.Message || errorCode;
116
116
  response.message = message;
117
117
  delete response.Message;
118
- return [2 /*return*/, Promise.reject(Object.assign(new Error(message), response))];
118
+ return [2, Promise.reject(Object.assign(new Error(message), response))];
119
119
  }
120
120
  });
121
121
  }); };
@@ -125,15 +125,15 @@ export var deserializeAws_restJson1SendHeartbeatCommand = function (output, cont
125
125
  switch (_a.label) {
126
126
  case 0:
127
127
  if (output.statusCode !== 200 && output.statusCode >= 300) {
128
- return [2 /*return*/, deserializeAws_restJson1SendHeartbeatCommandError(output, context)];
128
+ return [2, deserializeAws_restJson1SendHeartbeatCommandError(output, context)];
129
129
  }
130
130
  contents = {
131
131
  $metadata: deserializeMetadata(output),
132
132
  };
133
- return [4 /*yield*/, collectBody(output.body, context)];
133
+ return [4, collectBody(output.body, context)];
134
134
  case 1:
135
135
  _a.sent();
136
- return [2 /*return*/, Promise.resolve(contents)];
136
+ return [2, Promise.resolve(contents)];
137
137
  }
138
138
  });
139
139
  }); };
@@ -145,23 +145,23 @@ var deserializeAws_restJson1SendHeartbeatCommandError = function (output, contex
145
145
  case 0:
146
146
  _a = [__assign({}, output)];
147
147
  _d = {};
148
- return [4 /*yield*/, parseBody(output.body, context)];
148
+ return [4, parseBody(output.body, context)];
149
149
  case 1:
150
150
  parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
151
151
  errorCode = "UnknownError";
152
152
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
153
153
  _b = errorCode;
154
154
  switch (_b) {
155
- case "InternalServiceException": return [3 /*break*/, 2];
156
- case "com.amazonaws.sagemakeredge#InternalServiceException": return [3 /*break*/, 2];
155
+ case "InternalServiceException": return [3, 2];
156
+ case "com.amazonaws.sagemakeredge#InternalServiceException": return [3, 2];
157
157
  }
158
- return [3 /*break*/, 4];
158
+ return [3, 4];
159
159
  case 2:
160
160
  _c = [{}];
161
- return [4 /*yield*/, deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context)];
161
+ return [4, deserializeAws_restJson1InternalServiceExceptionResponse(parsedOutput, context)];
162
162
  case 3:
163
163
  response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
164
- return [3 /*break*/, 5];
164
+ return [3, 5];
165
165
  case 4:
166
166
  parsedBody = parsedOutput.body;
167
167
  errorCode = parsedBody.code || parsedBody.Code || errorCode;
@@ -171,7 +171,7 @@ var deserializeAws_restJson1SendHeartbeatCommandError = function (output, contex
171
171
  message = response.message || response.Message || errorCode;
172
172
  response.message = message;
173
173
  delete response.Message;
174
- return [2 /*return*/, Promise.reject(Object.assign(new Error(message), response))];
174
+ return [2, Promise.reject(Object.assign(new Error(message), response))];
175
175
  }
176
176
  });
177
177
  }); };
@@ -188,7 +188,7 @@ var deserializeAws_restJson1InternalServiceExceptionResponse = function (parsedO
188
188
  if (data.Message !== undefined && data.Message !== null) {
189
189
  contents.Message = __expectString(data.Message);
190
190
  }
191
- return [2 /*return*/, contents];
191
+ return [2, contents];
192
192
  });
193
193
  }); };
194
194
  var serializeAws_restJson1EdgeMetric = function (input, context) {
@@ -230,7 +230,6 @@ var deserializeMetadata = function (output) {
230
230
  cfId: output.headers["x-amz-cf-id"],
231
231
  });
232
232
  };
233
- // Collect low-level response body stream to Uint8Array.
234
233
  var collectBody = function (streamBody, context) {
235
234
  if (streamBody === void 0) { streamBody = new Uint8Array(); }
236
235
  if (streamBody instanceof Uint8Array) {
@@ -238,7 +237,6 @@ var collectBody = function (streamBody, context) {
238
237
  }
239
238
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
240
239
  };
241
- // Encode Uint8Array data into string with utf-8.
242
240
  var collectBodyString = function (streamBody, context) {
243
241
  return collectBody(streamBody, context).then(function (body) { return context.utf8Encoder(body); });
244
242
  };
@@ -257,9 +255,6 @@ var parseBody = function (streamBody, context) {
257
255
  return {};
258
256
  });
259
257
  };
260
- /**
261
- * Load an error code for the aws.rest-json-1.1 protocol.
262
- */
263
258
  var loadRestJsonErrorCode = function (output, data) {
264
259
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
265
260
  var sanitizeErrorCode = function (rawValue) {
@@ -284,4 +279,3 @@ var loadRestJsonErrorCode = function (output, data) {
284
279
  }
285
280
  return "";
286
281
  };
287
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -9,12 +9,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
9
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
- /**
13
- * @internal
14
- */
15
12
  export var getRuntimeConfig = function (config) {
16
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
14
  var clientSharedValues = getSharedRuntimeConfig(config);
18
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
19
16
  };
20
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -13,13 +13,9 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
- /**
17
- * @internal
18
- */
19
16
  export var getRuntimeConfig = function (config) {
20
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
18
  emitWarningIfUnsupportedVersion(process.version);
22
19
  var clientSharedValues = getSharedRuntimeConfig(config);
23
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
24
21
  };
25
- //# sourceMappingURL=runtimeConfig.js.map
@@ -1,12 +1,8 @@
1
1
  import { __assign } from "tslib";
2
2
  import { Sha256 } from "@aws-crypto/sha256-js";
3
3
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
- /**
5
- * @internal
6
- */
7
4
  export var getRuntimeConfig = function (config) {
8
5
  var _a;
9
6
  var browserDefaults = getBrowserRuntimeConfig(config);
10
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
11
8
  };
12
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,5 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { parseUrl } from "@aws-sdk/url-parser";
3
- /**
4
- * @internal
5
- */
2
+ import { defaultRegionInfoProvider } from "./endpoints";
6
3
  export var getRuntimeConfig = function (config) {
7
4
  var _a, _b, _c, _d, _e;
8
5
  return ({
@@ -14,4 +11,3 @@ export var getRuntimeConfig = function (config) {
14
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
15
12
  });
16
13
  };
17
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,7 +1,7 @@
1
- import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "./commands/GetDeviceRegistrationCommand";
3
3
  import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "./commands/SendHeartbeatCommand";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
4
+ import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
5
5
  /**
6
6
  * <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
7
7
  */
@@ -1,5 +1,3 @@
1
- import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "./commands/GetDeviceRegistrationCommand";
2
- import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "./commands/SendHeartbeatCommand";
3
1
  import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
4
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
5
3
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
@@ -7,7 +5,9 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
7
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
8
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
9
7
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
10
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "./commands/GetDeviceRegistrationCommand";
10
+ import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "./commands/SendHeartbeatCommand";
11
11
  export declare type ServiceInputTypes = GetDeviceRegistrationCommandInput | SendHeartbeatCommandInput;
12
12
  export declare type ServiceOutputTypes = GetDeviceRegistrationCommandOutput | SendHeartbeatCommandOutput;
13
13
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
- import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
2
- import { GetDeviceRegistrationRequest, GetDeviceRegistrationResult } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetDeviceRegistrationRequest, GetDeviceRegistrationResult } from "../models/models_0";
4
+ import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
5
5
  export interface GetDeviceRegistrationCommandInput extends GetDeviceRegistrationRequest {
6
6
  }
7
7
  export interface GetDeviceRegistrationCommandOutput extends GetDeviceRegistrationResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
2
- import { SendHeartbeatRequest } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { SendHeartbeatRequest } from "../models/models_0";
4
+ import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
5
5
  export interface SendHeartbeatCommandInput extends SendHeartbeatRequest {
6
6
  }
7
7
  export interface SendHeartbeatCommandOutput extends __MetadataBearer {
File without changes
File without changes
File without changes
@@ -1,7 +1,7 @@
1
- import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "../commands/GetDeviceRegistrationCommand";
2
- import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "../commands/SendHeartbeatCommand";
3
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
4
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "../commands/GetDeviceRegistrationCommand";
4
+ import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "../commands/SendHeartbeatCommand";
5
5
  export declare const serializeAws_restJson1GetDeviceRegistrationCommand: (input: GetDeviceRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
6
6
  export declare const serializeAws_restJson1SendHeartbeatCommand: (input: SendHeartbeatCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
7
  export declare const deserializeAws_restJson1GetDeviceRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDeviceRegistrationCommandOutput>;
@@ -1,36 +1,37 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
- import { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient";
3
- /**
4
- * @internal
5
- */
6
- export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
7
- runtime: string;
8
- base64Decoder: import("@aws-sdk/types").Decoder;
9
- base64Encoder: import("@aws-sdk/types").Encoder;
10
- bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
- region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
- retryMode: string | import("@aws-sdk/types").Provider<string>;
17
- sha256: import("@aws-sdk/types").HashConstructor;
18
- streamCollector: import("@aws-sdk/types").StreamCollector;
19
- utf8Decoder: import("@aws-sdk/types").Decoder;
20
- utf8Encoder: import("@aws-sdk/types").Encoder;
21
- apiVersion: string;
22
- urlParser: import("@aws-sdk/types").UrlParser;
23
- disableHostPrefix: boolean;
24
- logger: import("@aws-sdk/types").Logger;
25
- serviceId: string;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
- tls?: boolean | undefined;
29
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
- signingEscapePath?: boolean | undefined;
33
- systemClockOffset?: number | undefined;
34
- signingRegion?: string | undefined;
35
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
- };
1
+ import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
7
+ runtime: string;
8
+ base64Decoder: import("@aws-sdk/types").Decoder;
9
+ base64Encoder: import("@aws-sdk/types").Encoder;
10
+ bodyLengthChecker: (body: any) => number | undefined;
11
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
+ region: string | import("@aws-sdk/types").Provider<any>;
15
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
17
+ sha256: import("@aws-sdk/types").HashConstructor;
18
+ streamCollector: import("@aws-sdk/types").StreamCollector;
19
+ utf8Decoder: import("@aws-sdk/types").Decoder;
20
+ utf8Encoder: import("@aws-sdk/types").Encoder;
21
+ apiVersion: string;
22
+ urlParser: import("@aws-sdk/types").UrlParser;
23
+ disableHostPrefix: boolean;
24
+ logger: import("@aws-sdk/types").Logger;
25
+ serviceId: string;
26
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
34
  signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
36
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
37
  };
@@ -1,35 +1,36 @@
1
- import { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient";
2
- /**
3
- * @internal
4
- */
5
- export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
6
- runtime: string;
7
- sha256: import("@aws-sdk/types").HashConstructor;
8
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
- urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
12
- streamCollector: import("@aws-sdk/types").StreamCollector;
13
- base64Decoder: import("@aws-sdk/types").Decoder;
14
- base64Encoder: import("@aws-sdk/types").Encoder;
15
- utf8Decoder: import("@aws-sdk/types").Decoder;
16
- utf8Encoder: import("@aws-sdk/types").Encoder;
17
- disableHostPrefix: boolean;
18
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
- retryMode: string | import("@aws-sdk/types").Provider<string>;
20
- logger: import("@aws-sdk/types").Logger;
21
- serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
- tls?: boolean | undefined;
28
- retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
29
- credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
30
- signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
31
- signingEscapePath?: boolean | undefined;
32
- systemClockOffset?: number | undefined;
33
- signingRegion?: string | undefined;
34
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
35
- };
1
+ import { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@aws-sdk/types").HashConstructor;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ bodyLengthChecker: (body: any) => number | undefined;
12
+ streamCollector: import("@aws-sdk/types").StreamCollector;
13
+ base64Decoder: import("@aws-sdk/types").Decoder;
14
+ base64Encoder: import("@aws-sdk/types").Encoder;
15
+ utf8Decoder: import("@aws-sdk/types").Decoder;
16
+ utf8Encoder: import("@aws-sdk/types").Encoder;
17
+ disableHostPrefix: boolean;
18
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
19
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
20
+ logger: import("@aws-sdk/types").Logger;
21
+ serviceId: string;
22
+ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
+ tls?: boolean | undefined;
28
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
29
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
30
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
31
+ signingEscapePath?: boolean | undefined;
32
+ systemClockOffset?: number | undefined;
33
+ signingRegion?: string | undefined;
34
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
35
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
36
+ };
@@ -1,7 +1,7 @@
1
- import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "./commands/GetDeviceRegistrationCommand";
3
3
  import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "./commands/SendHeartbeatCommand";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
4
+ import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
5
5
  /**
6
6
  * <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
7
7
  */
@@ -1,5 +1,3 @@
1
- import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "./commands/GetDeviceRegistrationCommand";
2
- import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "./commands/SendHeartbeatCommand";
3
1
  import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
4
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
5
3
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
@@ -7,7 +5,9 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
7
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
8
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
9
7
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
10
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "./commands/GetDeviceRegistrationCommand";
10
+ import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "./commands/SendHeartbeatCommand";
11
11
  export declare type ServiceInputTypes = GetDeviceRegistrationCommandInput | SendHeartbeatCommandInput;
12
12
  export declare type ServiceOutputTypes = GetDeviceRegistrationCommandOutput | SendHeartbeatCommandOutput;
13
13
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
- import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
2
- import { GetDeviceRegistrationRequest, GetDeviceRegistrationResult } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetDeviceRegistrationRequest, GetDeviceRegistrationResult } from "../models/models_0";
4
+ import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
5
5
  export interface GetDeviceRegistrationCommandInput extends GetDeviceRegistrationRequest {
6
6
  }
7
7
  export interface GetDeviceRegistrationCommandOutput extends GetDeviceRegistrationResult, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
2
- import { SendHeartbeatRequest } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { SendHeartbeatRequest } from "../models/models_0";
4
+ import { SagemakerEdgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SagemakerEdgeClient";
5
5
  export interface SendHeartbeatCommandInput extends SendHeartbeatRequest {
6
6
  }
7
7
  export interface SendHeartbeatCommandOutput extends __MetadataBearer {
File without changes
File without changes
@@ -1,7 +1,7 @@
1
- import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "../commands/GetDeviceRegistrationCommand";
2
- import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "../commands/SendHeartbeatCommand";
3
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
4
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "../commands/GetDeviceRegistrationCommand";
4
+ import { SendHeartbeatCommandInput, SendHeartbeatCommandOutput } from "../commands/SendHeartbeatCommand";
5
5
  export declare const serializeAws_restJson1GetDeviceRegistrationCommand: (input: GetDeviceRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
6
6
  export declare const serializeAws_restJson1SendHeartbeatCommand: (input: SendHeartbeatCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
7
  export declare const deserializeAws_restJson1GetDeviceRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDeviceRegistrationCommandOutput>;