@aws-sdk/client-sagemaker-edge 3.1137.0 → 3.1139.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1138.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -211,10 +211,10 @@ const _e = "error";
|
|
|
211
211
|
const _h = "http";
|
|
212
212
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakeredge";
|
|
213
213
|
const n0 = "com.amazonaws.sagemakeredge";
|
|
214
|
-
const _s_registry = TypeRegistry
|
|
214
|
+
const _s_registry = new TypeRegistry(_s);
|
|
215
215
|
var SagemakerEdgeServiceException$ = [-3, _s, "SagemakerEdgeServiceException", 0, [], []];
|
|
216
216
|
_s_registry.registerError(SagemakerEdgeServiceException$, SagemakerEdgeServiceException);
|
|
217
|
-
const n0_registry = TypeRegistry
|
|
217
|
+
const n0_registry = new TypeRegistry(n0);
|
|
218
218
|
var InternalServiceException$ = [-3, n0, _ISE,
|
|
219
219
|
{ [_e]: _c },
|
|
220
220
|
[_M],
|
|
@@ -59,10 +59,10 @@ const n0 = "com.amazonaws.sagemakeredge";
|
|
|
59
59
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
60
60
|
import { InternalServiceException } from "../models/errors";
|
|
61
61
|
import { SagemakerEdgeServiceException } from "../models/SagemakerEdgeServiceException";
|
|
62
|
-
const _s_registry = TypeRegistry
|
|
62
|
+
const _s_registry = new TypeRegistry(_s);
|
|
63
63
|
export var SagemakerEdgeServiceException$ = [-3, _s, "SagemakerEdgeServiceException", 0, [], []];
|
|
64
64
|
_s_registry.registerError(SagemakerEdgeServiceException$, SagemakerEdgeServiceException);
|
|
65
|
-
const n0_registry = TypeRegistry
|
|
65
|
+
const n0_registry = new TypeRegistry(n0);
|
|
66
66
|
export var InternalServiceException$ = [-3, n0, _ISE,
|
|
67
67
|
{ [_e]: _c },
|
|
68
68
|
[_M],
|
|
@@ -1,27 +1,33 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type GetDeploymentsCommandInput, type GetDeploymentsCommandOutput } from "./commands/GetDeploymentsCommand";
|
|
3
3
|
import { type GetDeviceRegistrationCommandInput, type GetDeviceRegistrationCommandOutput } from "./commands/GetDeviceRegistrationCommand";
|
|
4
4
|
import { type SendHeartbeatCommandInput, type SendHeartbeatCommandOutput } from "./commands/SendHeartbeatCommand";
|
|
5
5
|
import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface SagemakerEdgeRequestOptions extends __HttpHandlerOptions {
|
|
10
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
11
|
+
}
|
|
6
12
|
export interface SagemakerEdge {
|
|
7
13
|
/**
|
|
8
14
|
* @see {@link GetDeploymentsCommand}
|
|
9
15
|
*/
|
|
10
|
-
getDeployments(args: GetDeploymentsCommandInput, options?:
|
|
16
|
+
getDeployments(args: GetDeploymentsCommandInput, options?: SagemakerEdgeRequestOptions): Promise<GetDeploymentsCommandOutput>;
|
|
11
17
|
getDeployments(args: GetDeploymentsCommandInput, cb: (err: any, data?: GetDeploymentsCommandOutput) => void): void;
|
|
12
|
-
getDeployments(args: GetDeploymentsCommandInput, options:
|
|
18
|
+
getDeployments(args: GetDeploymentsCommandInput, options: SagemakerEdgeRequestOptions, cb: (err: any, data?: GetDeploymentsCommandOutput) => void): void;
|
|
13
19
|
/**
|
|
14
20
|
* @see {@link GetDeviceRegistrationCommand}
|
|
15
21
|
*/
|
|
16
|
-
getDeviceRegistration(args: GetDeviceRegistrationCommandInput, options?:
|
|
22
|
+
getDeviceRegistration(args: GetDeviceRegistrationCommandInput, options?: SagemakerEdgeRequestOptions): Promise<GetDeviceRegistrationCommandOutput>;
|
|
17
23
|
getDeviceRegistration(args: GetDeviceRegistrationCommandInput, cb: (err: any, data?: GetDeviceRegistrationCommandOutput) => void): void;
|
|
18
|
-
getDeviceRegistration(args: GetDeviceRegistrationCommandInput, options:
|
|
24
|
+
getDeviceRegistration(args: GetDeviceRegistrationCommandInput, options: SagemakerEdgeRequestOptions, cb: (err: any, data?: GetDeviceRegistrationCommandOutput) => void): void;
|
|
19
25
|
/**
|
|
20
26
|
* @see {@link SendHeartbeatCommand}
|
|
21
27
|
*/
|
|
22
|
-
sendHeartbeat(args: SendHeartbeatCommandInput, options?:
|
|
28
|
+
sendHeartbeat(args: SendHeartbeatCommandInput, options?: SagemakerEdgeRequestOptions): Promise<SendHeartbeatCommandOutput>;
|
|
23
29
|
sendHeartbeat(args: SendHeartbeatCommandInput, cb: (err: any, data?: SendHeartbeatCommandOutput) => void): void;
|
|
24
|
-
sendHeartbeat(args: SendHeartbeatCommandInput, options:
|
|
30
|
+
sendHeartbeat(args: SendHeartbeatCommandInput, options: SagemakerEdgeRequestOptions, cb: (err: any, data?: SendHeartbeatCommandOutput) => void): void;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* <p>SageMaker Edge Manager dataplane service for communicating with active agents.</p>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
GetDeploymentsCommandInput,
|
|
4
7
|
GetDeploymentsCommandOutput,
|
|
@@ -12,10 +15,13 @@ import {
|
|
|
12
15
|
SendHeartbeatCommandOutput,
|
|
13
16
|
} from "./commands/SendHeartbeatCommand";
|
|
14
17
|
import { SagemakerEdgeClient } from "./SagemakerEdgeClient";
|
|
18
|
+
export interface SagemakerEdgeRequestOptions extends __HttpHandlerOptions {
|
|
19
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
20
|
+
}
|
|
15
21
|
export interface SagemakerEdge {
|
|
16
22
|
getDeployments(
|
|
17
23
|
args: GetDeploymentsCommandInput,
|
|
18
|
-
options?:
|
|
24
|
+
options?: SagemakerEdgeRequestOptions,
|
|
19
25
|
): Promise<GetDeploymentsCommandOutput>;
|
|
20
26
|
getDeployments(
|
|
21
27
|
args: GetDeploymentsCommandInput,
|
|
@@ -23,12 +29,12 @@ export interface SagemakerEdge {
|
|
|
23
29
|
): void;
|
|
24
30
|
getDeployments(
|
|
25
31
|
args: GetDeploymentsCommandInput,
|
|
26
|
-
options:
|
|
32
|
+
options: SagemakerEdgeRequestOptions,
|
|
27
33
|
cb: (err: any, data?: GetDeploymentsCommandOutput) => void,
|
|
28
34
|
): void;
|
|
29
35
|
getDeviceRegistration(
|
|
30
36
|
args: GetDeviceRegistrationCommandInput,
|
|
31
|
-
options?:
|
|
37
|
+
options?: SagemakerEdgeRequestOptions,
|
|
32
38
|
): Promise<GetDeviceRegistrationCommandOutput>;
|
|
33
39
|
getDeviceRegistration(
|
|
34
40
|
args: GetDeviceRegistrationCommandInput,
|
|
@@ -36,12 +42,12 @@ export interface SagemakerEdge {
|
|
|
36
42
|
): void;
|
|
37
43
|
getDeviceRegistration(
|
|
38
44
|
args: GetDeviceRegistrationCommandInput,
|
|
39
|
-
options:
|
|
45
|
+
options: SagemakerEdgeRequestOptions,
|
|
40
46
|
cb: (err: any, data?: GetDeviceRegistrationCommandOutput) => void,
|
|
41
47
|
): void;
|
|
42
48
|
sendHeartbeat(
|
|
43
49
|
args: SendHeartbeatCommandInput,
|
|
44
|
-
options?:
|
|
50
|
+
options?: SagemakerEdgeRequestOptions,
|
|
45
51
|
): Promise<SendHeartbeatCommandOutput>;
|
|
46
52
|
sendHeartbeat(
|
|
47
53
|
args: SendHeartbeatCommandInput,
|
|
@@ -49,7 +55,7 @@ export interface SagemakerEdge {
|
|
|
49
55
|
): void;
|
|
50
56
|
sendHeartbeat(
|
|
51
57
|
args: SendHeartbeatCommandInput,
|
|
52
|
-
options:
|
|
58
|
+
options: SagemakerEdgeRequestOptions,
|
|
53
59
|
cb: (err: any, data?: SendHeartbeatCommandOutput) => void,
|
|
54
60
|
): void;
|
|
55
61
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-edge",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Sagemaker Edge Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-edge",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|