@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
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.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * 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))
12
+ * **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))
13
+ * **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))
14
+
15
+
16
+
17
+
18
+
19
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
20
+
21
+
22
+ ### Features
23
+
24
+ * **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))
25
+ * **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))
26
+
27
+
28
+
29
+
30
+
31
+ # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
32
+
33
+
34
+ ### Features
35
+
36
+ * **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
43
+
44
+ **Note:** Version bump only for package @aws-sdk/client-sagemaker-edge
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
51
 
8
52
  **Note:** Version bump only for package @aws-sdk/client-sagemaker-edge
@@ -1,9 +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");
6
+ const SagemakerEdgeClient_1 = require("./SagemakerEdgeClient");
7
7
  /**
8
8
  * <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
9
9
  */
@@ -38,4 +38,3 @@ class SagemakerEdge extends SagemakerEdgeClient_1.SagemakerEdgeClient {
38
38
  }
39
39
  }
40
40
  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,19 @@ 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");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
13
  /**
14
14
  * <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
15
15
  */
16
16
  class SagemakerEdgeClient extends smithy_client_1.Client {
17
17
  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);
18
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
19
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
20
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
21
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
22
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
23
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
24
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
25
25
  super(_config_6);
26
26
  this.config = _config_6;
27
27
  this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
@@ -41,4 +41,3 @@ class SagemakerEdgeClient extends smithy_client_1.Client {
41
41
  }
42
42
  }
43
43
  exports.SagemakerEdgeClient = SagemakerEdgeClient;
44
- //# sourceMappingURL=SagemakerEdgeClient.js.map
@@ -1,10 +1,10 @@
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");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Use to check if a device is registered with SageMaker Edge Manager.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class GetDeviceRegistrationCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.GetDeviceRegistrationCommand = GetDeviceRegistrationCommand;
61
- //# sourceMappingURL=GetDeviceRegistrationCommand.js.map
@@ -1,10 +1,10 @@
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");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  /**
9
9
  * <p>Use to get the current status of devices registered on SageMaker Edge Manager.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class SendHeartbeatCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.SendHeartbeatCommand = SendHeartbeatCommand;
61
- //# sourceMappingURL=SendHeartbeatCommand.js.map
@@ -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
@@ -55,4 +55,3 @@ var SendHeartbeatRequest;
55
55
  ...obj,
56
56
  });
57
57
  })(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 &&
@@ -260,4 +260,3 @@ const loadRestJsonErrorCode = (output, data) => {
260
260
  }
261
261
  return "";
262
262
  };
263
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -2,7 +2,8 @@
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
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
38
39
  };
39
40
  };
40
41
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,8 @@
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
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +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");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,11 +1,8 @@
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";
5
- /**
6
- * <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
7
- */
8
- var SagemakerEdge = /** @class */ (function (_super) {
4
+ import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
5
+ var SagemakerEdge = (function (_super) {
9
6
  __extends(SagemakerEdge, _super);
10
7
  function SagemakerEdge() {
11
8
  return _super !== null && _super.apply(this, arguments) || this;
@@ -41,4 +38,3 @@ var SagemakerEdge = /** @class */ (function (_super) {
41
38
  return SagemakerEdge;
42
39
  }(SagemakerEdgeClient));
43
40
  export { SagemakerEdge };
44
- //# 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,10 +7,8 @@ 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";
11
- /**
12
- * <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
13
- */
14
- var SagemakerEdgeClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var SagemakerEdgeClient = (function (_super) {
15
12
  __extends(SagemakerEdgeClient, _super);
16
13
  function SagemakerEdgeClient(configuration) {
17
14
  var _this = this;
@@ -32,15 +29,9 @@ var SagemakerEdgeClient = /** @class */ (function (_super) {
32
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
33
30
  return _this;
34
31
  }
35
- /**
36
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
37
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
38
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
39
- */
40
32
  SagemakerEdgeClient.prototype.destroy = function () {
41
33
  _super.prototype.destroy.call(this);
42
34
  };
43
35
  return SagemakerEdgeClient;
44
36
  }(__Client));
45
37
  export { SagemakerEdgeClient };
46
- //# sourceMappingURL=SagemakerEdgeClient.js.map
@@ -1,40 +1,15 @@
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";
6
- /**
7
- * <p>Use to check if a device is registered with SageMaker Edge Manager.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { SagemakerEdgeClient, GetDeviceRegistrationCommand } from "@aws-sdk/client-sagemaker-edge"; // ES Modules import
12
- * // const { SagemakerEdgeClient, GetDeviceRegistrationCommand } = require("@aws-sdk/client-sagemaker-edge"); // CommonJS import
13
- * const client = new SagemakerEdgeClient(config);
14
- * const command = new GetDeviceRegistrationCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link GetDeviceRegistrationCommandInput} for command's `input` shape.
19
- * @see {@link GetDeviceRegistrationCommandOutput} for command's `response` shape.
20
- * @see {@link SagemakerEdgeClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var GetDeviceRegistrationCommand = /** @class */ (function (_super) {
4
+ import { GetDeviceRegistrationRequest, GetDeviceRegistrationResult } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetDeviceRegistrationCommand, serializeAws_restJson1GetDeviceRegistrationCommand, } from "../protocols/Aws_restJson1";
6
+ var GetDeviceRegistrationCommand = (function (_super) {
24
7
  __extends(GetDeviceRegistrationCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function GetDeviceRegistrationCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  GetDeviceRegistrationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var GetDeviceRegistrationCommand = /** @class */ (function (_super) {
62
37
  return GetDeviceRegistrationCommand;
63
38
  }($Command));
64
39
  export { GetDeviceRegistrationCommand };
65
- //# sourceMappingURL=GetDeviceRegistrationCommand.js.map
@@ -1,40 +1,15 @@
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";
6
- /**
7
- * <p>Use to get the current status of devices registered on SageMaker Edge Manager.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { SagemakerEdgeClient, SendHeartbeatCommand } from "@aws-sdk/client-sagemaker-edge"; // ES Modules import
12
- * // const { SagemakerEdgeClient, SendHeartbeatCommand } = require("@aws-sdk/client-sagemaker-edge"); // CommonJS import
13
- * const client = new SagemakerEdgeClient(config);
14
- * const command = new SendHeartbeatCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link SendHeartbeatCommandInput} for command's `input` shape.
19
- * @see {@link SendHeartbeatCommandOutput} for command's `response` shape.
20
- * @see {@link SagemakerEdgeClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var SendHeartbeatCommand = /** @class */ (function (_super) {
4
+ import { SendHeartbeatRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1SendHeartbeatCommand, serializeAws_restJson1SendHeartbeatCommand, } from "../protocols/Aws_restJson1";
6
+ var SendHeartbeatCommand = (function (_super) {
24
7
  __extends(SendHeartbeatCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function SendHeartbeatCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  SendHeartbeatCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var SendHeartbeatCommand = /** @class */ (function (_super) {
62
37
  return SendHeartbeatCommand;
63
38
  }($Command));
64
39
  export { SendHeartbeatCommand };
65
- //# sourceMappingURL=SendHeartbeatCommand.js.map
@@ -47,7 +47,6 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "sagemaker", regionHash: regionHash, partitionHash: partitionHash }))];
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
@@ -1,44 +1,25 @@
1
1
  import { __assign } from "tslib";
2
2
  export var GetDeviceRegistrationRequest;
3
3
  (function (GetDeviceRegistrationRequest) {
4
- /**
5
- * @internal
6
- */
7
4
  GetDeviceRegistrationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
8
5
  })(GetDeviceRegistrationRequest || (GetDeviceRegistrationRequest = {}));
9
6
  export var GetDeviceRegistrationResult;
10
7
  (function (GetDeviceRegistrationResult) {
11
- /**
12
- * @internal
13
- */
14
8
  GetDeviceRegistrationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
15
9
  })(GetDeviceRegistrationResult || (GetDeviceRegistrationResult = {}));
16
10
  export var InternalServiceException;
17
11
  (function (InternalServiceException) {
18
- /**
19
- * @internal
20
- */
21
12
  InternalServiceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
22
13
  })(InternalServiceException || (InternalServiceException = {}));
23
14
  export var EdgeMetric;
24
15
  (function (EdgeMetric) {
25
- /**
26
- * @internal
27
- */
28
16
  EdgeMetric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
17
  })(EdgeMetric || (EdgeMetric = {}));
30
18
  export var Model;
31
19
  (function (Model) {
32
- /**
33
- * @internal
34
- */
35
20
  Model.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
36
21
  })(Model || (Model = {}));
37
22
  export var SendHeartbeatRequest;
38
23
  (function (SendHeartbeatRequest) {
39
- /**
40
- * @internal
41
- */
42
24
  SendHeartbeatRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
43
25
  })(SendHeartbeatRequest || (SendHeartbeatRequest = {}));
44
- //# sourceMappingURL=models_0.js.map