@aws-sdk/client-sagemaker-edge 3.34.0 → 3.37.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 (102) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/SagemakerEdge.js +1 -5
  3. package/{dist/cjs → dist-cjs}/SagemakerEdgeClient.js +8 -17
  4. package/{dist/cjs → dist-cjs}/commands/GetDeviceRegistrationCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/SendHeartbeatCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  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 -19
  10. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -8
  11. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  12. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  13. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  15. package/{dist/es → dist-es}/SagemakerEdge.js +1 -2
  16. package/{dist/es → dist-es}/SagemakerEdgeClient.js +1 -2
  17. package/{dist/es → dist-es}/commands/GetDeviceRegistrationCommand.js +2 -3
  18. package/{dist/es → dist-es}/commands/SendHeartbeatCommand.js +2 -3
  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 -1
  23. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
  24. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  25. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  26. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  27. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  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 → dist-types}/runtimeConfig.browser.d.ts +0 -0
  38. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  39. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  40. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  41. package/{dist/types → dist-types}/ts3.4/SagemakerEdge.d.ts +5 -11
  42. package/dist-types/ts3.4/SagemakerEdgeClient.d.ts +69 -0
  43. package/{dist/types → dist-types}/ts3.4/commands/GetDeviceRegistrationCommand.d.ts +5 -23
  44. package/dist-types/ts3.4/commands/SendHeartbeatCommand.d.ts +17 -0
  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/ts3.4/models/models_0.d.ts +79 -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 +1 -3
  51. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  52. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  53. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  54. package/package.json +45 -42
  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/dist/types/ts3.4/SagemakerEdgeClient.d.ts +0 -134
  90. package/dist/types/ts3.4/commands/SendHeartbeatCommand.d.ts +0 -35
  91. package/dist/types/ts3.4/models/models_0.d.ts +0 -134
  92. package/endpoints.ts +0 -57
  93. package/jest.config.js +0 -4
  94. package/models/models_0.ts +0 -171
  95. package/protocols/Aws_restJson1.ts +0 -316
  96. package/runtimeConfig.browser.ts +0 -40
  97. package/runtimeConfig.native.ts +0 -16
  98. package/runtimeConfig.shared.ts +0 -16
  99. package/runtimeConfig.ts +0 -45
  100. package/tsconfig.es.json +0 -10
  101. package/tsconfig.json +0 -31
  102. package/tsconfig.types.json +0 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
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.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
29
+
30
+
31
+ ### Features
32
+
33
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
34
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
35
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
42
+
43
+
44
+ ### Features
45
+
46
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
47
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
7
54
 
8
55
 
@@ -1,12 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SagemakerEdge = void 0;
4
- const SagemakerEdgeClient_1 = require("./SagemakerEdgeClient");
5
4
  const GetDeviceRegistrationCommand_1 = require("./commands/GetDeviceRegistrationCommand");
6
5
  const SendHeartbeatCommand_1 = require("./commands/SendHeartbeatCommand");
7
- /**
8
- * <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
9
- */
6
+ const SagemakerEdgeClient_1 = require("./SagemakerEdgeClient");
10
7
  class SagemakerEdge extends SagemakerEdgeClient_1.SagemakerEdgeClient {
11
8
  getDeviceRegistration(args, optionsOrCb, cb) {
12
9
  const command = new GetDeviceRegistrationCommand_1.GetDeviceRegistrationCommand(args);
@@ -38,4 +35,3 @@ class SagemakerEdge extends SagemakerEdgeClient_1.SagemakerEdgeClient {
38
35
  }
39
36
  }
40
37
  exports.SagemakerEdge = SagemakerEdge;
41
- //# sourceMappingURL=SagemakerEdge.js.map
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SagemakerEdgeClient = void 0;
4
- const runtimeConfig_1 = require("./runtimeConfig");
5
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
6
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
7
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
@@ -10,18 +9,16 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
9
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
11
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
12
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
13
- /**
14
- * <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
15
- */
12
+ const runtimeConfig_1 = require("./runtimeConfig");
16
13
  class SagemakerEdgeClient extends smithy_client_1.Client {
17
14
  constructor(configuration) {
18
- let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
19
- let _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
20
- let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
21
- let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
22
- let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
23
- let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
24
- let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
25
22
  super(_config_6);
26
23
  this.config = _config_6;
27
24
  this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
@@ -31,14 +28,8 @@ class SagemakerEdgeClient extends smithy_client_1.Client {
31
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
32
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
33
30
  }
34
- /**
35
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
36
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
37
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
38
- */
39
31
  destroy() {
40
32
  super.destroy();
41
33
  }
42
34
  }
43
35
  exports.SagemakerEdgeClient = SagemakerEdgeClient;
44
- //# sourceMappingURL=SagemakerEdgeClient.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetDeviceRegistrationCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Use to check if a device is registered with SageMaker Edge Manager.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SagemakerEdgeClient, GetDeviceRegistrationCommand } from "@aws-sdk/client-sagemaker-edge"; // ES Modules import
14
- * // const { SagemakerEdgeClient, GetDeviceRegistrationCommand } = require("@aws-sdk/client-sagemaker-edge"); // CommonJS import
15
- * const client = new SagemakerEdgeClient(config);
16
- * const command = new GetDeviceRegistrationCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetDeviceRegistrationCommandInput} for command's `input` shape.
21
- * @see {@link GetDeviceRegistrationCommandOutput} for command's `response` shape.
22
- * @see {@link SagemakerEdgeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class GetDeviceRegistrationCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetDeviceRegistrationCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetDeviceRegistrationCommand = GetDeviceRegistrationCommand;
61
- //# sourceMappingURL=GetDeviceRegistrationCommand.js.map
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SendHeartbeatCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Use to get the current status of devices registered on SageMaker Edge Manager.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { SagemakerEdgeClient, SendHeartbeatCommand } from "@aws-sdk/client-sagemaker-edge"; // ES Modules import
14
- * // const { SagemakerEdgeClient, SendHeartbeatCommand } = require("@aws-sdk/client-sagemaker-edge"); // CommonJS import
15
- * const client = new SagemakerEdgeClient(config);
16
- * const command = new SendHeartbeatCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link SendHeartbeatCommandInput} for command's `input` shape.
21
- * @see {@link SendHeartbeatCommandOutput} for command's `response` shape.
22
- * @see {@link SagemakerEdgeClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
25
8
  class SendHeartbeatCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class SendHeartbeatCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.SendHeartbeatCommand = SendHeartbeatCommand;
61
- //# sourceMappingURL=SendHeartbeatCommand.js.map
@@ -35,7 +35,7 @@ const partitionHash = {
35
35
  hostname: "edge.sagemaker.{region}.amazonaws.com.cn",
36
36
  },
37
37
  "aws-iso": {
38
- regions: ["us-iso-east-1"],
38
+ regions: ["us-iso-east-1", "us-iso-west-1"],
39
39
  hostname: "edge.sagemaker.{region}.c2s.ic.gov",
40
40
  },
41
41
  "aws-iso-b": {
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
54
54
  partitionHash,
55
55
  });
56
56
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
57
- //# sourceMappingURL=endpoints.js.map
@@ -6,4 +6,3 @@ tslib_1.__exportStar(require("./SagemakerEdge"), exports);
6
6
  tslib_1.__exportStar(require("./commands/GetDeviceRegistrationCommand"), exports);
7
7
  tslib_1.__exportStar(require("./commands/SendHeartbeatCommand"), exports);
8
8
  tslib_1.__exportStar(require("./models/index"), exports);
9
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -3,56 +3,37 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SendHeartbeatRequest = exports.Model = exports.EdgeMetric = exports.InternalServiceException = exports.GetDeviceRegistrationResult = exports.GetDeviceRegistrationRequest = void 0;
4
4
  var GetDeviceRegistrationRequest;
5
5
  (function (GetDeviceRegistrationRequest) {
6
- /**
7
- * @internal
8
- */
9
6
  GetDeviceRegistrationRequest.filterSensitiveLog = (obj) => ({
10
7
  ...obj,
11
8
  });
12
9
  })(GetDeviceRegistrationRequest = exports.GetDeviceRegistrationRequest || (exports.GetDeviceRegistrationRequest = {}));
13
10
  var GetDeviceRegistrationResult;
14
11
  (function (GetDeviceRegistrationResult) {
15
- /**
16
- * @internal
17
- */
18
12
  GetDeviceRegistrationResult.filterSensitiveLog = (obj) => ({
19
13
  ...obj,
20
14
  });
21
15
  })(GetDeviceRegistrationResult = exports.GetDeviceRegistrationResult || (exports.GetDeviceRegistrationResult = {}));
22
16
  var InternalServiceException;
23
17
  (function (InternalServiceException) {
24
- /**
25
- * @internal
26
- */
27
18
  InternalServiceException.filterSensitiveLog = (obj) => ({
28
19
  ...obj,
29
20
  });
30
21
  })(InternalServiceException = exports.InternalServiceException || (exports.InternalServiceException = {}));
31
22
  var EdgeMetric;
32
23
  (function (EdgeMetric) {
33
- /**
34
- * @internal
35
- */
36
24
  EdgeMetric.filterSensitiveLog = (obj) => ({
37
25
  ...obj,
38
26
  });
39
27
  })(EdgeMetric = exports.EdgeMetric || (exports.EdgeMetric = {}));
40
28
  var Model;
41
29
  (function (Model) {
42
- /**
43
- * @internal
44
- */
45
30
  Model.filterSensitiveLog = (obj) => ({
46
31
  ...obj,
47
32
  });
48
33
  })(Model = exports.Model || (exports.Model = {}));
49
34
  var SendHeartbeatRequest;
50
35
  (function (SendHeartbeatRequest) {
51
- /**
52
- * @internal
53
- */
54
36
  SendHeartbeatRequest.filterSensitiveLog = (obj) => ({
55
37
  ...obj,
56
38
  });
57
39
  })(SendHeartbeatRequest = exports.SendHeartbeatRequest || (exports.SendHeartbeatRequest = {}));
58
- //# sourceMappingURL=models_0.js.map
@@ -8,7 +8,7 @@ const serializeAws_restJson1GetDeviceRegistrationCommand = async (input, context
8
8
  const headers = {
9
9
  "content-type": "application/json",
10
10
  };
11
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/GetDeviceRegistration";
11
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/GetDeviceRegistration";
12
12
  let body;
13
13
  body = JSON.stringify({
14
14
  ...(input.DeviceFleetName !== undefined &&
@@ -31,7 +31,7 @@ const serializeAws_restJson1SendHeartbeatCommand = async (input, context) => {
31
31
  const headers = {
32
32
  "content-type": "application/json",
33
33
  };
34
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/SendHeartbeat";
34
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/SendHeartbeat";
35
35
  let body;
36
36
  body = JSON.stringify({
37
37
  ...(input.AgentMetrics !== undefined &&
@@ -213,14 +213,12 @@ const deserializeMetadata = (output) => {
213
213
  cfId: output.headers["x-amz-cf-id"],
214
214
  });
215
215
  };
216
- // Collect low-level response body stream to Uint8Array.
217
216
  const collectBody = (streamBody = new Uint8Array(), context) => {
218
217
  if (streamBody instanceof Uint8Array) {
219
218
  return Promise.resolve(streamBody);
220
219
  }
221
220
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
222
221
  };
223
- // Encode Uint8Array data into string with utf-8.
224
222
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
225
223
  const isSerializableHeaderValue = (value) => value !== undefined &&
226
224
  value !== null &&
@@ -233,9 +231,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
233
231
  }
234
232
  return {};
235
233
  });
236
- /**
237
- * Load an error code for the aws.rest-json-1.1 protocol.
238
- */
239
234
  const loadRestJsonErrorCode = (output, data) => {
240
235
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
241
236
  const sanitizeErrorCode = (rawValue) => {
@@ -260,4 +255,3 @@ const loadRestJsonErrorCode = (output, data) => {
260
255
  }
261
256
  return "";
262
257
  };
263
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
12
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
- /**
16
- * @internal
17
- */
18
15
  const getRuntimeConfig = (config) => {
19
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
38
35
  };
39
36
  };
40
37
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
- /**
20
- * @internal
21
- */
22
19
  const getRuntimeConfig = (config) => {
23
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
24
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
43
40
  };
44
41
  };
45
42
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
17
14
  };
18
15
  };
19
16
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
6
- /**
7
- * @internal
8
- */
5
+ const endpoints_1 = require("./endpoints");
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
- import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
3
2
  import { GetDeviceRegistrationCommand, } from "./commands/GetDeviceRegistrationCommand";
4
3
  import { SendHeartbeatCommand, } from "./commands/SendHeartbeatCommand";
4
+ import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
5
5
  var SagemakerEdge = (function (_super) {
6
6
  __extends(SagemakerEdge, _super);
7
7
  function SagemakerEdge() {
@@ -38,4 +38,3 @@ var SagemakerEdge = (function (_super) {
38
38
  return SagemakerEdge;
39
39
  }(SagemakerEdgeClient));
40
40
  export { SagemakerEdge };
41
- //# sourceMappingURL=SagemakerEdge.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,6 +7,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
11
  var SagemakerEdgeClient = (function (_super) {
12
12
  __extends(SagemakerEdgeClient, _super);
13
13
  function SagemakerEdgeClient(configuration) {
@@ -35,4 +35,3 @@ var SagemakerEdgeClient = (function (_super) {
35
35
  return SagemakerEdgeClient;
36
36
  }(__Client));
37
37
  export { SagemakerEdgeClient };
38
- //# sourceMappingURL=SagemakerEdgeClient.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { GetDeviceRegistrationRequest, GetDeviceRegistrationResult } from "../models/models_0";
3
- import { deserializeAws_restJson1GetDeviceRegistrationCommand, serializeAws_restJson1GetDeviceRegistrationCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetDeviceRegistrationRequest, GetDeviceRegistrationResult } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetDeviceRegistrationCommand, serializeAws_restJson1GetDeviceRegistrationCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetDeviceRegistrationCommand = (function (_super) {
7
7
  __extends(GetDeviceRegistrationCommand, _super);
8
8
  function GetDeviceRegistrationCommand(input) {
@@ -37,4 +37,3 @@ var GetDeviceRegistrationCommand = (function (_super) {
37
37
  return GetDeviceRegistrationCommand;
38
38
  }($Command));
39
39
  export { GetDeviceRegistrationCommand };
40
- //# sourceMappingURL=GetDeviceRegistrationCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { SendHeartbeatRequest } from "../models/models_0";
3
- import { deserializeAws_restJson1SendHeartbeatCommand, serializeAws_restJson1SendHeartbeatCommand, } from "../protocols/Aws_restJson1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { SendHeartbeatRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1SendHeartbeatCommand, serializeAws_restJson1SendHeartbeatCommand, } from "../protocols/Aws_restJson1";
6
6
  var SendHeartbeatCommand = (function (_super) {
7
7
  __extends(SendHeartbeatCommand, _super);
8
8
  function SendHeartbeatCommand(input) {
@@ -37,4 +37,3 @@ var SendHeartbeatCommand = (function (_super) {
37
37
  return SendHeartbeatCommand;
38
38
  }($Command));
39
39
  export { SendHeartbeatCommand };
40
- //# sourceMappingURL=SendHeartbeatCommand.js.map
@@ -33,7 +33,7 @@ var partitionHash = {
33
33
  hostname: "edge.sagemaker.{region}.amazonaws.com.cn",
34
34
  },
35
35
  "aws-iso": {
36
- regions: ["us-iso-east-1"],
36
+ regions: ["us-iso-east-1", "us-iso-west-1"],
37
37
  hostname: "edge.sagemaker.{region}.c2s.ic.gov",
38
38
  },
39
39
  "aws-iso-b": {
@@ -50,4 +50,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
50
50
  return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "sagemaker", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
File without changes
@@ -23,4 +23,3 @@ export var SendHeartbeatRequest;
23
23
  (function (SendHeartbeatRequest) {
24
24
  SendHeartbeatRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
25
  })(SendHeartbeatRequest || (SendHeartbeatRequest = {}));
26
- //# sourceMappingURL=models_0.js.map
@@ -279,4 +279,3 @@ var loadRestJsonErrorCode = function (output, data) {
279
279
  }
280
280
  return "";
281
281
  };
282
- //# 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";
@@ -14,4 +14,3 @@ export var getRuntimeConfig = function (config) {
14
14
  var clientSharedValues = getSharedRuntimeConfig(config);
15
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 });
16
16
  };
17
- //# 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";
@@ -19,4 +19,3 @@ export var getRuntimeConfig = function (config) {
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
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 });
21
21
  };
22
- //# sourceMappingURL=runtimeConfig.js.map
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
6
6
  var browserDefaults = getBrowserRuntimeConfig(config);
7
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 });
8
8
  };
9
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,5 +1,5 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
3
  export var getRuntimeConfig = function (config) {
4
4
  var _a, _b, _c, _d, _e;
5
5
  return ({
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
11
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
12
  });
13
13
  };
14
- //# 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 {