@aws-sdk/client-sagemaker-edge 3.948.0 → 3.953.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 +56 -39
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/GetDeploymentsCommand.js +2 -2
- package/dist-es/commands/GetDeviceRegistrationCommand.js +2 -2
- package/dist-es/commands/SendHeartbeatCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +33 -33
- package/dist-types/SagemakerEdgeClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +18 -24
- package/dist-types/ts3.4/SagemakerEdgeClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -24
- package/package.json +34 -34
package/dist-cjs/index.js
CHANGED
|
@@ -110,14 +110,14 @@ class SagemakerEdgeClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
class SagemakerEdgeServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, SagemakerEdgeServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
class InternalServiceException extends SagemakerEdgeServiceException {
|
|
121
121
|
name = "InternalServiceException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
Message;
|
|
@@ -130,7 +130,7 @@ let InternalServiceException$1 = class InternalServiceException extends Sagemake
|
|
|
130
130
|
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
|
-
}
|
|
133
|
+
}
|
|
134
134
|
|
|
135
135
|
const _AM = "AgentMetrics";
|
|
136
136
|
const _AV = "AgentVersion";
|
|
@@ -190,9 +190,9 @@ const _e = "error";
|
|
|
190
190
|
const _h = "http";
|
|
191
191
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakeredge";
|
|
192
192
|
const n0 = "com.amazonaws.sagemakeredge";
|
|
193
|
-
var Checksum = [3, n0, _C, 0, [_T, _S], [0, 0]];
|
|
194
|
-
var Definition = [3, n0, _D, 0, [_MH, _SU, _C, _St], [0, 0, () => Checksum
|
|
195
|
-
var DeploymentModel = [
|
|
193
|
+
var Checksum$ = [3, n0, _C, 0, [_T, _S], [0, 0]];
|
|
194
|
+
var Definition$ = [3, n0, _D, 0, [_MH, _SU, _C, _St], [0, 0, () => Checksum$, 0]];
|
|
195
|
+
var DeploymentModel$ = [
|
|
196
196
|
3,
|
|
197
197
|
n0,
|
|
198
198
|
_DM,
|
|
@@ -200,7 +200,7 @@ var DeploymentModel = [
|
|
|
200
200
|
[_MH, _MN, _MV, _DS, _St, _Sta, _SR, _RFR],
|
|
201
201
|
[0, 0, 0, 0, 0, 0, 0, 0],
|
|
202
202
|
];
|
|
203
|
-
var DeploymentResult = [
|
|
203
|
+
var DeploymentResult$ = [
|
|
204
204
|
3,
|
|
205
205
|
n0,
|
|
206
206
|
_DR,
|
|
@@ -208,53 +208,53 @@ var DeploymentResult = [
|
|
|
208
208
|
[_DN, _DSe, _DSM, _DST, _DET, _DMe],
|
|
209
209
|
[0, 0, 0, 4, 4, () => DeploymentModels],
|
|
210
210
|
];
|
|
211
|
-
var EdgeDeployment = [3, n0, _ED, 0, [_DN, _T, _FHP, _De], [0, 0, 0, () => Definitions]];
|
|
212
|
-
var EdgeMetric = [3, n0, _EM, 0, [_Di, _MNe, _V, _Ti], [0, 0, 1, 4]];
|
|
213
|
-
var GetDeploymentsRequest = [3, n0, _GDR, 0, [_DNe, _DFN], [0, 0]];
|
|
214
|
-
var GetDeploymentsResult = [3, n0, _GDRe, 0, [_Dep], [() => EdgeDeployments]];
|
|
215
|
-
var GetDeviceRegistrationRequest = [3, n0, _GDRR, 0, [_DNe, _DFN], [0, 0]];
|
|
216
|
-
var GetDeviceRegistrationResult = [3, n0, _GDRRe, 0, [_DRe, _CTTL], [0, 0]];
|
|
217
|
-
var InternalServiceException = [-3, n0, _ISE, { [_e]: _c }, [_M], [0]];
|
|
218
|
-
schema.TypeRegistry.for(n0).registerError(InternalServiceException
|
|
219
|
-
var Model = [3, n0, _Mo, 0, [_MN, _MV, _LST, _LI, _MM], [0, 0, 4, 4, () => EdgeMetrics]];
|
|
220
|
-
var SendHeartbeatRequest = [
|
|
211
|
+
var EdgeDeployment$ = [3, n0, _ED, 0, [_DN, _T, _FHP, _De], [0, 0, 0, () => Definitions]];
|
|
212
|
+
var EdgeMetric$ = [3, n0, _EM, 0, [_Di, _MNe, _V, _Ti], [0, 0, 1, 4]];
|
|
213
|
+
var GetDeploymentsRequest$ = [3, n0, _GDR, 0, [_DNe, _DFN], [0, 0]];
|
|
214
|
+
var GetDeploymentsResult$ = [3, n0, _GDRe, 0, [_Dep], [() => EdgeDeployments]];
|
|
215
|
+
var GetDeviceRegistrationRequest$ = [3, n0, _GDRR, 0, [_DNe, _DFN], [0, 0]];
|
|
216
|
+
var GetDeviceRegistrationResult$ = [3, n0, _GDRRe, 0, [_DRe, _CTTL], [0, 0]];
|
|
217
|
+
var InternalServiceException$ = [-3, n0, _ISE, { [_e]: _c }, [_M], [0]];
|
|
218
|
+
schema.TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
|
|
219
|
+
var Model$ = [3, n0, _Mo, 0, [_MN, _MV, _LST, _LI, _MM], [0, 0, 4, 4, () => EdgeMetrics]];
|
|
220
|
+
var SendHeartbeatRequest$ = [
|
|
221
221
|
3,
|
|
222
222
|
n0,
|
|
223
223
|
_SHR,
|
|
224
224
|
0,
|
|
225
225
|
[_AM, _Mod, _AV, _DNe, _DFN, _DR],
|
|
226
|
-
[() => EdgeMetrics, () => Models, 0, 0, 0, () => DeploymentResult],
|
|
226
|
+
[() => EdgeMetrics, () => Models, 0, 0, 0, () => DeploymentResult$],
|
|
227
227
|
];
|
|
228
228
|
var __Unit = "unit";
|
|
229
|
-
var SagemakerEdgeServiceException = [-3, _s, "SagemakerEdgeServiceException", 0, [], []];
|
|
230
|
-
schema.TypeRegistry.for(_s).registerError(SagemakerEdgeServiceException
|
|
231
|
-
var Definitions = [1, n0, _De, 0, () => Definition];
|
|
232
|
-
var DeploymentModels = [1, n0, _DMe, 0, () => DeploymentModel];
|
|
233
|
-
var EdgeDeployments = [1, n0, _EDd, 0, () => EdgeDeployment];
|
|
234
|
-
var EdgeMetrics = [1, n0, _EMd, 0, () => EdgeMetric];
|
|
235
|
-
var Models = [1, n0, _Mod, 0, () => Model];
|
|
236
|
-
var GetDeployments = [
|
|
229
|
+
var SagemakerEdgeServiceException$ = [-3, _s, "SagemakerEdgeServiceException", 0, [], []];
|
|
230
|
+
schema.TypeRegistry.for(_s).registerError(SagemakerEdgeServiceException$, SagemakerEdgeServiceException);
|
|
231
|
+
var Definitions = [1, n0, _De, 0, () => Definition$];
|
|
232
|
+
var DeploymentModels = [1, n0, _DMe, 0, () => DeploymentModel$];
|
|
233
|
+
var EdgeDeployments = [1, n0, _EDd, 0, () => EdgeDeployment$];
|
|
234
|
+
var EdgeMetrics = [1, n0, _EMd, 0, () => EdgeMetric$];
|
|
235
|
+
var Models = [1, n0, _Mod, 0, () => Model$];
|
|
236
|
+
var GetDeployments$ = [
|
|
237
237
|
9,
|
|
238
238
|
n0,
|
|
239
239
|
_GD,
|
|
240
240
|
{ [_h]: ["POST", "/GetDeployments", 200] },
|
|
241
|
-
() => GetDeploymentsRequest
|
|
242
|
-
() => GetDeploymentsResult
|
|
241
|
+
() => GetDeploymentsRequest$,
|
|
242
|
+
() => GetDeploymentsResult$,
|
|
243
243
|
];
|
|
244
|
-
var GetDeviceRegistration = [
|
|
244
|
+
var GetDeviceRegistration$ = [
|
|
245
245
|
9,
|
|
246
246
|
n0,
|
|
247
247
|
_GDRet,
|
|
248
248
|
{ [_h]: ["POST", "/GetDeviceRegistration", 200] },
|
|
249
|
-
() => GetDeviceRegistrationRequest
|
|
250
|
-
() => GetDeviceRegistrationResult
|
|
249
|
+
() => GetDeviceRegistrationRequest$,
|
|
250
|
+
() => GetDeviceRegistrationResult$,
|
|
251
251
|
];
|
|
252
|
-
var SendHeartbeat = [
|
|
252
|
+
var SendHeartbeat$ = [
|
|
253
253
|
9,
|
|
254
254
|
n0,
|
|
255
255
|
_SH,
|
|
256
256
|
{ [_h]: ["POST", "/SendHeartbeat", 200] },
|
|
257
|
-
() => SendHeartbeatRequest
|
|
257
|
+
() => SendHeartbeatRequest$,
|
|
258
258
|
() => __Unit,
|
|
259
259
|
];
|
|
260
260
|
|
|
@@ -266,7 +266,7 @@ class GetDeploymentsCommand extends smithyClient.Command
|
|
|
266
266
|
})
|
|
267
267
|
.s("AmazonSageMakerEdge", "GetDeployments", {})
|
|
268
268
|
.n("SagemakerEdgeClient", "GetDeploymentsCommand")
|
|
269
|
-
.sc(GetDeployments)
|
|
269
|
+
.sc(GetDeployments$)
|
|
270
270
|
.build() {
|
|
271
271
|
}
|
|
272
272
|
|
|
@@ -278,7 +278,7 @@ class GetDeviceRegistrationCommand extends smithyClient.Command
|
|
|
278
278
|
})
|
|
279
279
|
.s("AmazonSageMakerEdge", "GetDeviceRegistration", {})
|
|
280
280
|
.n("SagemakerEdgeClient", "GetDeviceRegistrationCommand")
|
|
281
|
-
.sc(GetDeviceRegistration)
|
|
281
|
+
.sc(GetDeviceRegistration$)
|
|
282
282
|
.build() {
|
|
283
283
|
}
|
|
284
284
|
|
|
@@ -290,7 +290,7 @@ class SendHeartbeatCommand extends smithyClient.Command
|
|
|
290
290
|
})
|
|
291
291
|
.s("AmazonSageMakerEdge", "SendHeartbeat", {})
|
|
292
292
|
.n("SagemakerEdgeClient", "SendHeartbeatCommand")
|
|
293
|
-
.sc(SendHeartbeat)
|
|
293
|
+
.sc(SendHeartbeat$)
|
|
294
294
|
.build() {
|
|
295
295
|
}
|
|
296
296
|
|
|
@@ -330,15 +330,32 @@ Object.defineProperty(exports, "__Client", {
|
|
|
330
330
|
enumerable: true,
|
|
331
331
|
get: function () { return smithyClient.Client; }
|
|
332
332
|
});
|
|
333
|
+
exports.Checksum$ = Checksum$;
|
|
333
334
|
exports.ChecksumType = ChecksumType;
|
|
335
|
+
exports.Definition$ = Definition$;
|
|
336
|
+
exports.DeploymentModel$ = DeploymentModel$;
|
|
337
|
+
exports.DeploymentResult$ = DeploymentResult$;
|
|
334
338
|
exports.DeploymentStatus = DeploymentStatus;
|
|
335
339
|
exports.DeploymentType = DeploymentType;
|
|
340
|
+
exports.EdgeDeployment$ = EdgeDeployment$;
|
|
341
|
+
exports.EdgeMetric$ = EdgeMetric$;
|
|
336
342
|
exports.FailureHandlingPolicy = FailureHandlingPolicy;
|
|
343
|
+
exports.GetDeployments$ = GetDeployments$;
|
|
337
344
|
exports.GetDeploymentsCommand = GetDeploymentsCommand;
|
|
345
|
+
exports.GetDeploymentsRequest$ = GetDeploymentsRequest$;
|
|
346
|
+
exports.GetDeploymentsResult$ = GetDeploymentsResult$;
|
|
347
|
+
exports.GetDeviceRegistration$ = GetDeviceRegistration$;
|
|
338
348
|
exports.GetDeviceRegistrationCommand = GetDeviceRegistrationCommand;
|
|
339
|
-
exports.
|
|
349
|
+
exports.GetDeviceRegistrationRequest$ = GetDeviceRegistrationRequest$;
|
|
350
|
+
exports.GetDeviceRegistrationResult$ = GetDeviceRegistrationResult$;
|
|
351
|
+
exports.InternalServiceException = InternalServiceException;
|
|
352
|
+
exports.InternalServiceException$ = InternalServiceException$;
|
|
353
|
+
exports.Model$ = Model$;
|
|
340
354
|
exports.ModelState = ModelState;
|
|
341
355
|
exports.SagemakerEdge = SagemakerEdge;
|
|
342
356
|
exports.SagemakerEdgeClient = SagemakerEdgeClient;
|
|
343
|
-
exports.SagemakerEdgeServiceException = SagemakerEdgeServiceException
|
|
357
|
+
exports.SagemakerEdgeServiceException = SagemakerEdgeServiceException;
|
|
358
|
+
exports.SagemakerEdgeServiceException$ = SagemakerEdgeServiceException$;
|
|
359
|
+
exports.SendHeartbeat$ = SendHeartbeat$;
|
|
344
360
|
exports.SendHeartbeatCommand = SendHeartbeatCommand;
|
|
361
|
+
exports.SendHeartbeatRequest$ = SendHeartbeatRequest$;
|
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.sagemakeredge",
|
|
32
|
+
version: "2020-09-23",
|
|
33
|
+
serviceTarget: "AmazonSageMakerEdge",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "Sagemaker Edge",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetDeployments } from "../schemas/schemas_0";
|
|
4
|
+
import { GetDeployments$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetDeploymentsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetDeploymentsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonSageMakerEdge", "GetDeployments", {})
|
|
13
13
|
.n("SagemakerEdgeClient", "GetDeploymentsCommand")
|
|
14
|
-
.sc(GetDeployments)
|
|
14
|
+
.sc(GetDeployments$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetDeviceRegistration } from "../schemas/schemas_0";
|
|
4
|
+
import { GetDeviceRegistration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetDeviceRegistrationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetDeviceRegistrationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonSageMakerEdge", "GetDeviceRegistration", {})
|
|
13
13
|
.n("SagemakerEdgeClient", "GetDeviceRegistrationCommand")
|
|
14
|
-
.sc(GetDeviceRegistration)
|
|
14
|
+
.sc(GetDeviceRegistration$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { SendHeartbeat } from "../schemas/schemas_0";
|
|
4
|
+
import { SendHeartbeat$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SendHeartbeatCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class SendHeartbeatCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AmazonSageMakerEdge", "SendHeartbeat", {})
|
|
13
13
|
.n("SagemakerEdgeClient", "SendHeartbeatCommand")
|
|
14
|
-
.sc(SendHeartbeat)
|
|
14
|
+
.sc(SendHeartbeat$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./SagemakerEdgeClient";
|
|
2
2
|
export * from "./SagemakerEdge";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { SagemakerEdgeServiceException } from "./models/SagemakerEdgeServiceException";
|
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.sagemakeredge",
|
|
29
|
+
version: "2020-09-23",
|
|
30
|
+
serviceTarget: "AmazonSageMakerEdge",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "Sagemaker Edge",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -57,11 +57,11 @@ const _h = "http";
|
|
|
57
57
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakeredge";
|
|
58
58
|
const n0 = "com.amazonaws.sagemakeredge";
|
|
59
59
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
60
|
-
import { InternalServiceException
|
|
61
|
-
import { SagemakerEdgeServiceException
|
|
62
|
-
export var Checksum = [3, n0, _C, 0, [_T, _S], [0, 0]];
|
|
63
|
-
export var Definition = [3, n0, _D, 0, [_MH, _SU, _C, _St], [0, 0, () => Checksum
|
|
64
|
-
export var DeploymentModel = [
|
|
60
|
+
import { InternalServiceException } from "../models/errors";
|
|
61
|
+
import { SagemakerEdgeServiceException } from "../models/SagemakerEdgeServiceException";
|
|
62
|
+
export var Checksum$ = [3, n0, _C, 0, [_T, _S], [0, 0]];
|
|
63
|
+
export var Definition$ = [3, n0, _D, 0, [_MH, _SU, _C, _St], [0, 0, () => Checksum$, 0]];
|
|
64
|
+
export var DeploymentModel$ = [
|
|
65
65
|
3,
|
|
66
66
|
n0,
|
|
67
67
|
_DM,
|
|
@@ -69,7 +69,7 @@ export var DeploymentModel = [
|
|
|
69
69
|
[_MH, _MN, _MV, _DS, _St, _Sta, _SR, _RFR],
|
|
70
70
|
[0, 0, 0, 0, 0, 0, 0, 0],
|
|
71
71
|
];
|
|
72
|
-
export var DeploymentResult = [
|
|
72
|
+
export var DeploymentResult$ = [
|
|
73
73
|
3,
|
|
74
74
|
n0,
|
|
75
75
|
_DR,
|
|
@@ -77,52 +77,52 @@ export var DeploymentResult = [
|
|
|
77
77
|
[_DN, _DSe, _DSM, _DST, _DET, _DMe],
|
|
78
78
|
[0, 0, 0, 4, 4, () => DeploymentModels],
|
|
79
79
|
];
|
|
80
|
-
export var EdgeDeployment = [3, n0, _ED, 0, [_DN, _T, _FHP, _De], [0, 0, 0, () => Definitions]];
|
|
81
|
-
export var EdgeMetric = [3, n0, _EM, 0, [_Di, _MNe, _V, _Ti], [0, 0, 1, 4]];
|
|
82
|
-
export var GetDeploymentsRequest = [3, n0, _GDR, 0, [_DNe, _DFN], [0, 0]];
|
|
83
|
-
export var GetDeploymentsResult = [3, n0, _GDRe, 0, [_Dep], [() => EdgeDeployments]];
|
|
84
|
-
export var GetDeviceRegistrationRequest = [3, n0, _GDRR, 0, [_DNe, _DFN], [0, 0]];
|
|
85
|
-
export var GetDeviceRegistrationResult = [3, n0, _GDRRe, 0, [_DRe, _CTTL], [0, 0]];
|
|
86
|
-
export var InternalServiceException = [-3, n0, _ISE, { [_e]: _c }, [_M], [0]];
|
|
87
|
-
TypeRegistry.for(n0).registerError(InternalServiceException
|
|
88
|
-
export var Model = [3, n0, _Mo, 0, [_MN, _MV, _LST, _LI, _MM], [0, 0, 4, 4, () => EdgeMetrics]];
|
|
89
|
-
export var SendHeartbeatRequest = [
|
|
80
|
+
export var EdgeDeployment$ = [3, n0, _ED, 0, [_DN, _T, _FHP, _De], [0, 0, 0, () => Definitions]];
|
|
81
|
+
export var EdgeMetric$ = [3, n0, _EM, 0, [_Di, _MNe, _V, _Ti], [0, 0, 1, 4]];
|
|
82
|
+
export var GetDeploymentsRequest$ = [3, n0, _GDR, 0, [_DNe, _DFN], [0, 0]];
|
|
83
|
+
export var GetDeploymentsResult$ = [3, n0, _GDRe, 0, [_Dep], [() => EdgeDeployments]];
|
|
84
|
+
export var GetDeviceRegistrationRequest$ = [3, n0, _GDRR, 0, [_DNe, _DFN], [0, 0]];
|
|
85
|
+
export var GetDeviceRegistrationResult$ = [3, n0, _GDRRe, 0, [_DRe, _CTTL], [0, 0]];
|
|
86
|
+
export var InternalServiceException$ = [-3, n0, _ISE, { [_e]: _c }, [_M], [0]];
|
|
87
|
+
TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
|
|
88
|
+
export var Model$ = [3, n0, _Mo, 0, [_MN, _MV, _LST, _LI, _MM], [0, 0, 4, 4, () => EdgeMetrics]];
|
|
89
|
+
export var SendHeartbeatRequest$ = [
|
|
90
90
|
3,
|
|
91
91
|
n0,
|
|
92
92
|
_SHR,
|
|
93
93
|
0,
|
|
94
94
|
[_AM, _Mod, _AV, _DNe, _DFN, _DR],
|
|
95
|
-
[() => EdgeMetrics, () => Models, 0, 0, 0, () => DeploymentResult],
|
|
95
|
+
[() => EdgeMetrics, () => Models, 0, 0, 0, () => DeploymentResult$],
|
|
96
96
|
];
|
|
97
|
-
|
|
98
|
-
export var SagemakerEdgeServiceException = [-3, _s, "SagemakerEdgeServiceException", 0, [], []];
|
|
99
|
-
TypeRegistry.for(_s).registerError(SagemakerEdgeServiceException
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
export var GetDeployments = [
|
|
97
|
+
var __Unit = "unit";
|
|
98
|
+
export var SagemakerEdgeServiceException$ = [-3, _s, "SagemakerEdgeServiceException", 0, [], []];
|
|
99
|
+
TypeRegistry.for(_s).registerError(SagemakerEdgeServiceException$, SagemakerEdgeServiceException);
|
|
100
|
+
var Definitions = [1, n0, _De, 0, () => Definition$];
|
|
101
|
+
var DeploymentModels = [1, n0, _DMe, 0, () => DeploymentModel$];
|
|
102
|
+
var EdgeDeployments = [1, n0, _EDd, 0, () => EdgeDeployment$];
|
|
103
|
+
var EdgeMetrics = [1, n0, _EMd, 0, () => EdgeMetric$];
|
|
104
|
+
var Models = [1, n0, _Mod, 0, () => Model$];
|
|
105
|
+
export var GetDeployments$ = [
|
|
106
106
|
9,
|
|
107
107
|
n0,
|
|
108
108
|
_GD,
|
|
109
109
|
{ [_h]: ["POST", "/GetDeployments", 200] },
|
|
110
|
-
() => GetDeploymentsRequest
|
|
111
|
-
() => GetDeploymentsResult
|
|
110
|
+
() => GetDeploymentsRequest$,
|
|
111
|
+
() => GetDeploymentsResult$,
|
|
112
112
|
];
|
|
113
|
-
export var GetDeviceRegistration = [
|
|
113
|
+
export var GetDeviceRegistration$ = [
|
|
114
114
|
9,
|
|
115
115
|
n0,
|
|
116
116
|
_GDRet,
|
|
117
117
|
{ [_h]: ["POST", "/GetDeviceRegistration", 200] },
|
|
118
|
-
() => GetDeviceRegistrationRequest
|
|
119
|
-
() => GetDeviceRegistrationResult
|
|
118
|
+
() => GetDeviceRegistrationRequest$,
|
|
119
|
+
() => GetDeviceRegistrationResult$,
|
|
120
120
|
];
|
|
121
|
-
export var SendHeartbeat = [
|
|
121
|
+
export var SendHeartbeat$ = [
|
|
122
122
|
9,
|
|
123
123
|
n0,
|
|
124
124
|
_SH,
|
|
125
125
|
{ [_h]: ["POST", "/SendHeartbeat", 200] },
|
|
126
|
-
() => SendHeartbeatRequest
|
|
126
|
+
() => SendHeartbeatRequest$,
|
|
127
127
|
() => __Unit,
|
|
128
128
|
];
|
|
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { GetDeploymentsCommandInput, GetDeploymentsCommandOutput } from "./commands/GetDeploymentsCommand";
|
|
11
11
|
import { GetDeviceRegistrationCommandInput, GetDeviceRegistrationCommandOutput } from "./commands/GetDeviceRegistrationCommand";
|
|
@@ -144,15 +144,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
144
144
|
* Optional extensions
|
|
145
145
|
*/
|
|
146
146
|
extensions?: RuntimeExtension[];
|
|
147
|
-
/**
|
|
148
|
-
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
149
|
-
* may be overridden. A default will always be set by the client.
|
|
150
|
-
* Available options depend on the service's supported protocols and will not be validated by
|
|
151
|
-
* the client.
|
|
152
|
-
* @alpha
|
|
153
|
-
*
|
|
154
|
-
*/
|
|
155
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
156
147
|
/**
|
|
157
148
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
158
149
|
*/
|
package/dist-types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
9
9
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
10
|
export type { SagemakerEdgeExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
|
+
export * from "./schemas/schemas_0";
|
|
12
13
|
export * from "./models/enums";
|
|
13
14
|
export * from "./models/errors";
|
|
14
15
|
export type * from "./models/models_0";
|
|
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
19
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
-
apiVersion: string;
|
|
21
20
|
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
29
34
|
profile?: string;
|
|
30
35
|
logger: import("@smithy/types").Logger;
|
|
31
36
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
33
37
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
38
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
35
39
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
22
|
-
apiVersion: string;
|
|
23
22
|
cacheMiddleware?: boolean | undefined;
|
|
23
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
24
|
+
protocolSettings: {
|
|
25
|
+
defaultNamespace?: string;
|
|
26
|
+
[setting: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
apiVersion: string;
|
|
24
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
31
36
|
profile?: string;
|
|
32
37
|
logger: import("@smithy/types").Logger;
|
|
33
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
35
39
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
40
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
37
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
|
-
apiVersion: string;
|
|
10
9
|
cacheMiddleware?: boolean;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
11
|
+
protocolSettings: {
|
|
12
|
+
defaultNamespace?: string;
|
|
13
|
+
[setting: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
apiVersion: string;
|
|
11
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
27
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
33
|
logger: import("@smithy/types").Logger;
|
|
29
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
31
35
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import type { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SagemakerEdgeHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").
|
|
18
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
|
|
19
|
+
protocolSettings: {
|
|
20
|
+
[setting: string]: unknown;
|
|
21
|
+
defaultNamespace?: string;
|
|
22
|
+
};
|
|
18
23
|
serviceId: string;
|
|
19
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
20
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,24 +1,18 @@
|
|
|
1
|
-
import type { StaticErrorSchema,
|
|
2
|
-
export declare var Checksum
|
|
3
|
-
export declare var Definition
|
|
4
|
-
export declare var DeploymentModel
|
|
5
|
-
export declare var DeploymentResult
|
|
6
|
-
export declare var EdgeDeployment
|
|
7
|
-
export declare var EdgeMetric
|
|
8
|
-
export declare var GetDeploymentsRequest
|
|
9
|
-
export declare var GetDeploymentsResult
|
|
10
|
-
export declare var GetDeviceRegistrationRequest
|
|
11
|
-
export declare var GetDeviceRegistrationResult
|
|
12
|
-
export declare var InternalServiceException
|
|
13
|
-
export declare var Model
|
|
14
|
-
export declare var SendHeartbeatRequest
|
|
15
|
-
export declare var
|
|
16
|
-
export declare var
|
|
17
|
-
export declare var
|
|
18
|
-
export declare var
|
|
19
|
-
export declare var EdgeDeployments: StaticListSchema;
|
|
20
|
-
export declare var EdgeMetrics: StaticListSchema;
|
|
21
|
-
export declare var Models: StaticListSchema;
|
|
22
|
-
export declare var GetDeployments: StaticOperationSchema;
|
|
23
|
-
export declare var GetDeviceRegistration: StaticOperationSchema;
|
|
24
|
-
export declare var SendHeartbeat: StaticOperationSchema;
|
|
1
|
+
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var Checksum$: StaticStructureSchema;
|
|
3
|
+
export declare var Definition$: StaticStructureSchema;
|
|
4
|
+
export declare var DeploymentModel$: StaticStructureSchema;
|
|
5
|
+
export declare var DeploymentResult$: StaticStructureSchema;
|
|
6
|
+
export declare var EdgeDeployment$: StaticStructureSchema;
|
|
7
|
+
export declare var EdgeMetric$: StaticStructureSchema;
|
|
8
|
+
export declare var GetDeploymentsRequest$: StaticStructureSchema;
|
|
9
|
+
export declare var GetDeploymentsResult$: StaticStructureSchema;
|
|
10
|
+
export declare var GetDeviceRegistrationRequest$: StaticStructureSchema;
|
|
11
|
+
export declare var GetDeviceRegistrationResult$: StaticStructureSchema;
|
|
12
|
+
export declare var InternalServiceException$: StaticErrorSchema;
|
|
13
|
+
export declare var Model$: StaticStructureSchema;
|
|
14
|
+
export declare var SendHeartbeatRequest$: StaticStructureSchema;
|
|
15
|
+
export declare var SagemakerEdgeServiceException$: StaticErrorSchema;
|
|
16
|
+
export declare var GetDeployments$: StaticOperationSchema;
|
|
17
|
+
export declare var GetDeviceRegistration$: StaticOperationSchema;
|
|
18
|
+
export declare var SendHeartbeat$: StaticOperationSchema;
|
|
@@ -29,13 +29,10 @@ import {
|
|
|
29
29
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
30
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
31
|
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
-
ClientProtocol,
|
|
33
32
|
Decoder as __Decoder,
|
|
34
33
|
Encoder as __Encoder,
|
|
35
34
|
HashConstructor as __HashConstructor,
|
|
36
35
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
-
HttpRequest,
|
|
38
|
-
HttpResponse,
|
|
39
36
|
Logger as __Logger,
|
|
40
37
|
Provider as __Provider,
|
|
41
38
|
StreamCollector as __StreamCollector,
|
|
@@ -99,7 +96,6 @@ export interface ClientDefaults
|
|
|
99
96
|
retryMode?: string | __Provider<string>;
|
|
100
97
|
logger?: __Logger;
|
|
101
98
|
extensions?: RuntimeExtension[];
|
|
102
|
-
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
103
99
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
104
100
|
}
|
|
105
101
|
export type SagemakerEdgeClientConfigType = Partial<
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { SagemakerEdgeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export * from "./schemas/schemas_0";
|
|
7
8
|
export * from "./models/enums";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
26
26
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
28
28
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
userAgentAppId?:
|
|
47
51
|
| string
|
|
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
26
26
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
27
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
29
|
-
apiVersion: string;
|
|
30
29
|
cacheMiddleware?: boolean | undefined;
|
|
30
|
+
protocol:
|
|
31
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
32
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
33
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
34
|
+
protocolSettings: {
|
|
35
|
+
defaultNamespace?: string;
|
|
36
|
+
[setting: string]: unknown;
|
|
37
|
+
};
|
|
38
|
+
apiVersion: string;
|
|
31
39
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
40
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
41
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
38
46
|
profile?: string;
|
|
39
47
|
logger: import("@smithy/types").Logger;
|
|
40
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
-
import("@smithy/types").HttpRequest,
|
|
43
|
-
import("@smithy/types").HttpResponse
|
|
44
|
-
>;
|
|
45
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
46
50
|
retryStrategy?:
|
|
47
51
|
| import("@smithy/types").RetryStrategy
|
|
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
8
8
|
| Record<string, unknown>
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean;
|
|
12
|
+
protocol:
|
|
13
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
14
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
15
|
+
| typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
16
|
+
protocolSettings: {
|
|
17
|
+
defaultNamespace?: string;
|
|
18
|
+
[setting: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
apiVersion: string;
|
|
13
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
23
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
37
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
46
|
logger: import("@smithy/types").Logger;
|
|
39
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
-
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
-
import("@smithy/types").HttpRequest,
|
|
42
|
-
import("@smithy/types").HttpResponse
|
|
43
|
-
>;
|
|
44
48
|
defaultsMode:
|
|
45
49
|
| import("@smithy/smithy-client").DefaultsMode
|
|
46
50
|
| import("@smithy/types").Provider<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
1
2
|
import { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient";
|
|
2
3
|
export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
3
4
|
apiVersion: string;
|
|
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: SagemakerEdgeClientConfig) => {
|
|
|
14
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SagemakerEdgeHttpAuthSchemeProvider;
|
|
15
16
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
17
|
logger: import("@smithy/types").Logger;
|
|
17
|
-
protocol:
|
|
18
|
-
import("@smithy/types").
|
|
19
|
-
import("@smithy/types").
|
|
20
|
-
|
|
18
|
+
protocol:
|
|
19
|
+
| import("@smithy/types").ClientProtocol<any, any>
|
|
20
|
+
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
21
|
+
| typeof AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string;
|
|
25
|
+
};
|
|
21
26
|
serviceId: string;
|
|
22
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
28
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -1,29 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StaticErrorSchema,
|
|
3
|
-
StaticListSchema,
|
|
4
3
|
StaticOperationSchema,
|
|
5
4
|
StaticStructureSchema,
|
|
6
5
|
} from "@smithy/types";
|
|
7
|
-
export declare var Checksum
|
|
8
|
-
export declare var Definition
|
|
9
|
-
export declare var DeploymentModel
|
|
10
|
-
export declare var DeploymentResult
|
|
11
|
-
export declare var EdgeDeployment
|
|
12
|
-
export declare var EdgeMetric
|
|
13
|
-
export declare var GetDeploymentsRequest
|
|
14
|
-
export declare var GetDeploymentsResult
|
|
15
|
-
export declare var GetDeviceRegistrationRequest
|
|
16
|
-
export declare var GetDeviceRegistrationResult
|
|
17
|
-
export declare var InternalServiceException
|
|
18
|
-
export declare var Model
|
|
19
|
-
export declare var SendHeartbeatRequest
|
|
20
|
-
export declare var
|
|
21
|
-
export declare var
|
|
22
|
-
export declare var
|
|
23
|
-
export declare var
|
|
24
|
-
export declare var EdgeDeployments: StaticListSchema;
|
|
25
|
-
export declare var EdgeMetrics: StaticListSchema;
|
|
26
|
-
export declare var Models: StaticListSchema;
|
|
27
|
-
export declare var GetDeployments: StaticOperationSchema;
|
|
28
|
-
export declare var GetDeviceRegistration: StaticOperationSchema;
|
|
29
|
-
export declare var SendHeartbeat: StaticOperationSchema;
|
|
6
|
+
export declare var Checksum$: StaticStructureSchema;
|
|
7
|
+
export declare var Definition$: StaticStructureSchema;
|
|
8
|
+
export declare var DeploymentModel$: StaticStructureSchema;
|
|
9
|
+
export declare var DeploymentResult$: StaticStructureSchema;
|
|
10
|
+
export declare var EdgeDeployment$: StaticStructureSchema;
|
|
11
|
+
export declare var EdgeMetric$: StaticStructureSchema;
|
|
12
|
+
export declare var GetDeploymentsRequest$: StaticStructureSchema;
|
|
13
|
+
export declare var GetDeploymentsResult$: StaticStructureSchema;
|
|
14
|
+
export declare var GetDeviceRegistrationRequest$: StaticStructureSchema;
|
|
15
|
+
export declare var GetDeviceRegistrationResult$: StaticStructureSchema;
|
|
16
|
+
export declare var InternalServiceException$: StaticErrorSchema;
|
|
17
|
+
export declare var Model$: StaticStructureSchema;
|
|
18
|
+
export declare var SendHeartbeatRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var SagemakerEdgeServiceException$: StaticErrorSchema;
|
|
20
|
+
export declare var GetDeployments$: StaticOperationSchema;
|
|
21
|
+
export declare var GetDeviceRegistration$: StaticOperationSchema;
|
|
22
|
+
export declare var SendHeartbeat$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-edge",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Edge Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.953.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "concurrently 'yarn:build:
|
|
6
|
+
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sagemaker-edge",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
-
"@smithy/types": "^4.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "3.953.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.953.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.953.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.953.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.953.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.953.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.953.0",
|
|
31
|
+
"@aws-sdk/types": "3.953.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.953.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.953.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.953.0",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
36
|
+
"@smithy/core": "^3.19.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
38
|
+
"@smithy/hash-node": "^4.2.6",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.6",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.6",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.3.15",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.15",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.7",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
48
|
+
"@smithy/smithy-client": "^4.10.0",
|
|
49
|
+
"@smithy/types": "^4.10.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.6",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
-
"@smithy/util-endpoints": "^3.2.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.14",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.17",
|
|
56
|
+
"@smithy/util-endpoints": "^3.2.6",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
58
|
+
"@smithy/util-retry": "^4.2.6",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.0",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|