@aws-sdk/client-sagemaker-edge 3.986.0 → 3.988.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
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var SagemakerEdgeServiceException = require('./models/SagemakerEdgeServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,180 +113,6 @@ class SagemakerEdgeClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class SagemakerEdgeServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, SagemakerEdgeServiceException.prototype);
117
- }
118
- }
119
-
120
- class InternalServiceException extends SagemakerEdgeServiceException {
121
- name = "InternalServiceException";
122
- $fault = "client";
123
- Message;
124
- constructor(opts) {
125
- super({
126
- name: "InternalServiceException",
127
- $fault: "client",
128
- ...opts,
129
- });
130
- Object.setPrototypeOf(this, InternalServiceException.prototype);
131
- this.Message = opts.Message;
132
- }
133
- }
134
-
135
- const _AM = "AgentMetrics";
136
- const _AV = "AgentVersion";
137
- const _C = "Checksum";
138
- const _CTTL = "CacheTTL";
139
- const _D = "Definition";
140
- const _DET = "DeploymentEndTime";
141
- const _DFN = "DeviceFleetName";
142
- const _DM = "DeploymentModel";
143
- const _DMe = "DeploymentModels";
144
- const _DN = "DeploymentName";
145
- const _DNe = "DeviceName";
146
- const _DR = "DeploymentResult";
147
- const _DRe = "DeviceRegistration";
148
- const _DS = "DesiredState";
149
- const _DSM = "DeploymentStatusMessage";
150
- const _DST = "DeploymentStartTime";
151
- const _DSe = "DeploymentStatus";
152
- const _De = "Definitions";
153
- const _Dep = "Deployments";
154
- const _Di = "Dimension";
155
- const _ED = "EdgeDeployment";
156
- const _EDd = "EdgeDeployments";
157
- const _EM = "EdgeMetric";
158
- const _EMd = "EdgeMetrics";
159
- const _FHP = "FailureHandlingPolicy";
160
- const _GD = "GetDeployments";
161
- const _GDR = "GetDeploymentsRequest";
162
- const _GDRR = "GetDeviceRegistrationRequest";
163
- const _GDRRe = "GetDeviceRegistrationResult";
164
- const _GDRe = "GetDeploymentsResult";
165
- const _GDRet = "GetDeviceRegistration";
166
- const _ISE = "InternalServiceException";
167
- const _LI = "LatestInference";
168
- const _LST = "LatestSampleTime";
169
- const _M = "Message";
170
- const _MH = "ModelHandle";
171
- const _MM = "ModelMetrics";
172
- const _MN = "ModelName";
173
- const _MNe = "MetricName";
174
- const _MV = "ModelVersion";
175
- const _Mo = "Model";
176
- const _Mod = "Models";
177
- const _RFR = "RollbackFailureReason";
178
- const _S = "Sum";
179
- const _SH = "SendHeartbeat";
180
- const _SHR = "SendHeartbeatRequest";
181
- const _SR = "StatusReason";
182
- const _SU = "S3Url";
183
- const _St = "State";
184
- const _Sta = "Status";
185
- const _T = "Type";
186
- const _Ti = "Timestamp";
187
- const _V = "Value";
188
- const _c = "client";
189
- const _e = "error";
190
- const _h = "http";
191
- const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakeredge";
192
- const n0 = "com.amazonaws.sagemakeredge";
193
- var Checksum$ = [3, n0, _C,
194
- 0,
195
- [_T, _S],
196
- [0, 0]
197
- ];
198
- var Definition$ = [3, n0, _D,
199
- 0,
200
- [_MH, _SU, _C, _St],
201
- [0, 0, () => Checksum$, 0]
202
- ];
203
- var DeploymentModel$ = [3, n0, _DM,
204
- 0,
205
- [_MH, _MN, _MV, _DS, _St, _Sta, _SR, _RFR],
206
- [0, 0, 0, 0, 0, 0, 0, 0]
207
- ];
208
- var DeploymentResult$ = [3, n0, _DR,
209
- 0,
210
- [_DN, _DSe, _DSM, _DST, _DET, _DMe],
211
- [0, 0, 0, 4, 4, () => DeploymentModels]
212
- ];
213
- var EdgeDeployment$ = [3, n0, _ED,
214
- 0,
215
- [_DN, _T, _FHP, _De],
216
- [0, 0, 0, () => Definitions]
217
- ];
218
- var EdgeMetric$ = [3, n0, _EM,
219
- 0,
220
- [_Di, _MNe, _V, _Ti],
221
- [0, 0, 1, 4]
222
- ];
223
- var GetDeploymentsRequest$ = [3, n0, _GDR,
224
- 0,
225
- [_DNe, _DFN],
226
- [0, 0], 2
227
- ];
228
- var GetDeploymentsResult$ = [3, n0, _GDRe,
229
- 0,
230
- [_Dep],
231
- [() => EdgeDeployments]
232
- ];
233
- var GetDeviceRegistrationRequest$ = [3, n0, _GDRR,
234
- 0,
235
- [_DNe, _DFN],
236
- [0, 0], 2
237
- ];
238
- var GetDeviceRegistrationResult$ = [3, n0, _GDRRe,
239
- 0,
240
- [_DRe, _CTTL],
241
- [0, 0]
242
- ];
243
- var InternalServiceException$ = [-3, n0, _ISE,
244
- { [_e]: _c },
245
- [_M],
246
- [0]
247
- ];
248
- schema.TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
249
- var Model$ = [3, n0, _Mo,
250
- 0,
251
- [_MN, _MV, _LST, _LI, _MM],
252
- [0, 0, 4, 4, () => EdgeMetrics]
253
- ];
254
- var SendHeartbeatRequest$ = [3, n0, _SHR,
255
- 0,
256
- [_AV, _DNe, _DFN, _AM, _Mod, _DR],
257
- [0, 0, 0, () => EdgeMetrics, () => Models, () => DeploymentResult$], 3
258
- ];
259
- var __Unit = "unit";
260
- var SagemakerEdgeServiceException$ = [-3, _s, "SagemakerEdgeServiceException", 0, [], []];
261
- schema.TypeRegistry.for(_s).registerError(SagemakerEdgeServiceException$, SagemakerEdgeServiceException);
262
- var Definitions = [1, n0, _De,
263
- 0, () => Definition$
264
- ];
265
- var DeploymentModels = [1, n0, _DMe,
266
- 0, () => DeploymentModel$
267
- ];
268
- var EdgeDeployments = [1, n0, _EDd,
269
- 0, () => EdgeDeployment$
270
- ];
271
- var EdgeMetrics = [1, n0, _EMd,
272
- 0, () => EdgeMetric$
273
- ];
274
- var Models = [1, n0, _Mod,
275
- 0, () => Model$
276
- ];
277
- var GetDeployments$ = [9, n0, _GD,
278
- { [_h]: ["POST", "/GetDeployments", 200] }, () => GetDeploymentsRequest$, () => GetDeploymentsResult$
279
- ];
280
- var GetDeviceRegistration$ = [9, n0, _GDRet,
281
- { [_h]: ["POST", "/GetDeviceRegistration", 200] }, () => GetDeviceRegistrationRequest$, () => GetDeviceRegistrationResult$
282
- ];
283
- var SendHeartbeat$ = [9, n0, _SH,
284
- { [_h]: ["POST", "/SendHeartbeat", 200] }, () => SendHeartbeatRequest$, () => __Unit
285
- ];
286
-
287
116
  class GetDeploymentsCommand extends smithyClient.Command
288
117
  .classBuilder()
289
118
  .ep(commonParams)
@@ -292,7 +121,7 @@ class GetDeploymentsCommand extends smithyClient.Command
292
121
  })
293
122
  .s("AmazonSageMakerEdge", "GetDeployments", {})
294
123
  .n("SagemakerEdgeClient", "GetDeploymentsCommand")
295
- .sc(GetDeployments$)
124
+ .sc(schemas_0.GetDeployments$)
296
125
  .build() {
297
126
  }
298
127
 
@@ -304,7 +133,7 @@ class GetDeviceRegistrationCommand extends smithyClient.Command
304
133
  })
305
134
  .s("AmazonSageMakerEdge", "GetDeviceRegistration", {})
306
135
  .n("SagemakerEdgeClient", "GetDeviceRegistrationCommand")
307
- .sc(GetDeviceRegistration$)
136
+ .sc(schemas_0.GetDeviceRegistration$)
308
137
  .build() {
309
138
  }
310
139
 
@@ -316,7 +145,7 @@ class SendHeartbeatCommand extends smithyClient.Command
316
145
  })
317
146
  .s("AmazonSageMakerEdge", "SendHeartbeat", {})
318
147
  .n("SagemakerEdgeClient", "SendHeartbeatCommand")
319
- .sc(SendHeartbeat$)
148
+ .sc(schemas_0.SendHeartbeat$)
320
149
  .build() {
321
150
  }
322
151
 
@@ -356,32 +185,29 @@ Object.defineProperty(exports, "__Client", {
356
185
  enumerable: true,
357
186
  get: function () { return smithyClient.Client; }
358
187
  });
359
- exports.Checksum$ = Checksum$;
188
+ Object.defineProperty(exports, "SagemakerEdgeServiceException", {
189
+ enumerable: true,
190
+ get: function () { return SagemakerEdgeServiceException.SagemakerEdgeServiceException; }
191
+ });
360
192
  exports.ChecksumType = ChecksumType;
361
- exports.Definition$ = Definition$;
362
- exports.DeploymentModel$ = DeploymentModel$;
363
- exports.DeploymentResult$ = DeploymentResult$;
364
193
  exports.DeploymentStatus = DeploymentStatus;
365
194
  exports.DeploymentType = DeploymentType;
366
- exports.EdgeDeployment$ = EdgeDeployment$;
367
- exports.EdgeMetric$ = EdgeMetric$;
368
195
  exports.FailureHandlingPolicy = FailureHandlingPolicy;
369
- exports.GetDeployments$ = GetDeployments$;
370
196
  exports.GetDeploymentsCommand = GetDeploymentsCommand;
371
- exports.GetDeploymentsRequest$ = GetDeploymentsRequest$;
372
- exports.GetDeploymentsResult$ = GetDeploymentsResult$;
373
- exports.GetDeviceRegistration$ = GetDeviceRegistration$;
374
197
  exports.GetDeviceRegistrationCommand = GetDeviceRegistrationCommand;
375
- exports.GetDeviceRegistrationRequest$ = GetDeviceRegistrationRequest$;
376
- exports.GetDeviceRegistrationResult$ = GetDeviceRegistrationResult$;
377
- exports.InternalServiceException = InternalServiceException;
378
- exports.InternalServiceException$ = InternalServiceException$;
379
- exports.Model$ = Model$;
380
198
  exports.ModelState = ModelState;
381
199
  exports.SagemakerEdge = SagemakerEdge;
382
200
  exports.SagemakerEdgeClient = SagemakerEdgeClient;
383
- exports.SagemakerEdgeServiceException = SagemakerEdgeServiceException;
384
- exports.SagemakerEdgeServiceException$ = SagemakerEdgeServiceException$;
385
- exports.SendHeartbeat$ = SendHeartbeat$;
386
201
  exports.SendHeartbeatCommand = SendHeartbeatCommand;
387
- exports.SendHeartbeatRequest$ = SendHeartbeatRequest$;
202
+ Object.keys(schemas_0).forEach(function (k) {
203
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
204
+ enumerable: true,
205
+ get: function () { return schemas_0[k]; }
206
+ });
207
+ });
208
+ Object.keys(errors).forEach(function (k) {
209
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
210
+ enumerable: true,
211
+ get: function () { return errors[k]; }
212
+ });
213
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SagemakerEdgeServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class SagemakerEdgeServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, SagemakerEdgeServiceException.prototype);
10
+ }
11
+ }
12
+ exports.SagemakerEdgeServiceException = SagemakerEdgeServiceException;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InternalServiceException = void 0;
4
+ const SagemakerEdgeServiceException_1 = require("./SagemakerEdgeServiceException");
5
+ class InternalServiceException extends SagemakerEdgeServiceException_1.SagemakerEdgeServiceException {
6
+ name = "InternalServiceException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "InternalServiceException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.InternalServiceException = InternalServiceException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2020-09-23",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.sagemakeredge",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2020-09-23",
33
35
  serviceTarget: "AmazonSageMakerEdge",
34
36
  },
@@ -0,0 +1,163 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendHeartbeat$ = exports.GetDeviceRegistration$ = exports.GetDeployments$ = exports.SendHeartbeatRequest$ = exports.Model$ = exports.GetDeviceRegistrationResult$ = exports.GetDeviceRegistrationRequest$ = exports.GetDeploymentsResult$ = exports.GetDeploymentsRequest$ = exports.EdgeMetric$ = exports.EdgeDeployment$ = exports.DeploymentResult$ = exports.DeploymentModel$ = exports.Definition$ = exports.Checksum$ = exports.errorTypeRegistries = exports.InternalServiceException$ = exports.SagemakerEdgeServiceException$ = void 0;
4
+ const _AM = "AgentMetrics";
5
+ const _AV = "AgentVersion";
6
+ const _C = "Checksum";
7
+ const _CTTL = "CacheTTL";
8
+ const _D = "Definition";
9
+ const _DET = "DeploymentEndTime";
10
+ const _DFN = "DeviceFleetName";
11
+ const _DM = "DeploymentModel";
12
+ const _DMe = "DeploymentModels";
13
+ const _DN = "DeploymentName";
14
+ const _DNe = "DeviceName";
15
+ const _DR = "DeploymentResult";
16
+ const _DRe = "DeviceRegistration";
17
+ const _DS = "DesiredState";
18
+ const _DSM = "DeploymentStatusMessage";
19
+ const _DST = "DeploymentStartTime";
20
+ const _DSe = "DeploymentStatus";
21
+ const _De = "Definitions";
22
+ const _Dep = "Deployments";
23
+ const _Di = "Dimension";
24
+ const _ED = "EdgeDeployment";
25
+ const _EDd = "EdgeDeployments";
26
+ const _EM = "EdgeMetric";
27
+ const _EMd = "EdgeMetrics";
28
+ const _FHP = "FailureHandlingPolicy";
29
+ const _GD = "GetDeployments";
30
+ const _GDR = "GetDeploymentsRequest";
31
+ const _GDRR = "GetDeviceRegistrationRequest";
32
+ const _GDRRe = "GetDeviceRegistrationResult";
33
+ const _GDRe = "GetDeploymentsResult";
34
+ const _GDRet = "GetDeviceRegistration";
35
+ const _ISE = "InternalServiceException";
36
+ const _LI = "LatestInference";
37
+ const _LST = "LatestSampleTime";
38
+ const _M = "Message";
39
+ const _MH = "ModelHandle";
40
+ const _MM = "ModelMetrics";
41
+ const _MN = "ModelName";
42
+ const _MNe = "MetricName";
43
+ const _MV = "ModelVersion";
44
+ const _Mo = "Model";
45
+ const _Mod = "Models";
46
+ const _RFR = "RollbackFailureReason";
47
+ const _S = "Sum";
48
+ const _SH = "SendHeartbeat";
49
+ const _SHR = "SendHeartbeatRequest";
50
+ const _SR = "StatusReason";
51
+ const _SU = "S3Url";
52
+ const _St = "State";
53
+ const _Sta = "Status";
54
+ const _T = "Type";
55
+ const _Ti = "Timestamp";
56
+ const _V = "Value";
57
+ const _c = "client";
58
+ const _e = "error";
59
+ const _h = "http";
60
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakeredge";
61
+ const n0 = "com.amazonaws.sagemakeredge";
62
+ const schema_1 = require("@smithy/core/schema");
63
+ const errors_1 = require("../models/errors");
64
+ const SagemakerEdgeServiceException_1 = require("../models/SagemakerEdgeServiceException");
65
+ const _s_registry = schema_1.TypeRegistry.for(_s);
66
+ exports.SagemakerEdgeServiceException$ = [-3, _s, "SagemakerEdgeServiceException", 0, [], []];
67
+ _s_registry.registerError(exports.SagemakerEdgeServiceException$, SagemakerEdgeServiceException_1.SagemakerEdgeServiceException);
68
+ const n0_registry = schema_1.TypeRegistry.for(n0);
69
+ exports.InternalServiceException$ = [-3, n0, _ISE,
70
+ { [_e]: _c },
71
+ [_M],
72
+ [0]
73
+ ];
74
+ n0_registry.registerError(exports.InternalServiceException$, errors_1.InternalServiceException);
75
+ exports.errorTypeRegistries = [
76
+ _s_registry,
77
+ n0_registry,
78
+ ];
79
+ exports.Checksum$ = [3, n0, _C,
80
+ 0,
81
+ [_T, _S],
82
+ [0, 0]
83
+ ];
84
+ exports.Definition$ = [3, n0, _D,
85
+ 0,
86
+ [_MH, _SU, _C, _St],
87
+ [0, 0, () => exports.Checksum$, 0]
88
+ ];
89
+ exports.DeploymentModel$ = [3, n0, _DM,
90
+ 0,
91
+ [_MH, _MN, _MV, _DS, _St, _Sta, _SR, _RFR],
92
+ [0, 0, 0, 0, 0, 0, 0, 0]
93
+ ];
94
+ exports.DeploymentResult$ = [3, n0, _DR,
95
+ 0,
96
+ [_DN, _DSe, _DSM, _DST, _DET, _DMe],
97
+ [0, 0, 0, 4, 4, () => DeploymentModels]
98
+ ];
99
+ exports.EdgeDeployment$ = [3, n0, _ED,
100
+ 0,
101
+ [_DN, _T, _FHP, _De],
102
+ [0, 0, 0, () => Definitions]
103
+ ];
104
+ exports.EdgeMetric$ = [3, n0, _EM,
105
+ 0,
106
+ [_Di, _MNe, _V, _Ti],
107
+ [0, 0, 1, 4]
108
+ ];
109
+ exports.GetDeploymentsRequest$ = [3, n0, _GDR,
110
+ 0,
111
+ [_DNe, _DFN],
112
+ [0, 0], 2
113
+ ];
114
+ exports.GetDeploymentsResult$ = [3, n0, _GDRe,
115
+ 0,
116
+ [_Dep],
117
+ [() => EdgeDeployments]
118
+ ];
119
+ exports.GetDeviceRegistrationRequest$ = [3, n0, _GDRR,
120
+ 0,
121
+ [_DNe, _DFN],
122
+ [0, 0], 2
123
+ ];
124
+ exports.GetDeviceRegistrationResult$ = [3, n0, _GDRRe,
125
+ 0,
126
+ [_DRe, _CTTL],
127
+ [0, 0]
128
+ ];
129
+ exports.Model$ = [3, n0, _Mo,
130
+ 0,
131
+ [_MN, _MV, _LST, _LI, _MM],
132
+ [0, 0, 4, 4, () => EdgeMetrics]
133
+ ];
134
+ exports.SendHeartbeatRequest$ = [3, n0, _SHR,
135
+ 0,
136
+ [_AV, _DNe, _DFN, _AM, _Mod, _DR],
137
+ [0, 0, 0, () => EdgeMetrics, () => Models, () => exports.DeploymentResult$], 3
138
+ ];
139
+ var __Unit = "unit";
140
+ var Definitions = [1, n0, _De,
141
+ 0, () => exports.Definition$
142
+ ];
143
+ var DeploymentModels = [1, n0, _DMe,
144
+ 0, () => exports.DeploymentModel$
145
+ ];
146
+ var EdgeDeployments = [1, n0, _EDd,
147
+ 0, () => exports.EdgeDeployment$
148
+ ];
149
+ var EdgeMetrics = [1, n0, _EMd,
150
+ 0, () => exports.EdgeMetric$
151
+ ];
152
+ var Models = [1, n0, _Mod,
153
+ 0, () => exports.Model$
154
+ ];
155
+ exports.GetDeployments$ = [9, n0, _GD,
156
+ { [_h]: ["POST", "/GetDeployments", 200] }, () => exports.GetDeploymentsRequest$, () => exports.GetDeploymentsResult$
157
+ ];
158
+ exports.GetDeviceRegistration$ = [9, n0, _GDRet,
159
+ { [_h]: ["POST", "/GetDeviceRegistration", 200] }, () => exports.GetDeviceRegistrationRequest$, () => exports.GetDeviceRegistrationResult$
160
+ ];
161
+ exports.SendHeartbeat$ = [9, n0, _SH,
162
+ { [_h]: ["POST", "/SendHeartbeat", 200] }, () => exports.SendHeartbeatRequest$, () => __Unit
163
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultSagemakerEdgeHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2020-09-23",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.sagemakeredge",
30
+ errorTypeRegistries,
29
31
  version: "2020-09-23",
30
32
  serviceTarget: "AmazonSageMakerEdge",
31
33
  },
@@ -59,6 +59,20 @@ 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.for(_s);
63
+ export var SagemakerEdgeServiceException$ = [-3, _s, "SagemakerEdgeServiceException", 0, [], []];
64
+ _s_registry.registerError(SagemakerEdgeServiceException$, SagemakerEdgeServiceException);
65
+ const n0_registry = TypeRegistry.for(n0);
66
+ export var InternalServiceException$ = [-3, n0, _ISE,
67
+ { [_e]: _c },
68
+ [_M],
69
+ [0]
70
+ ];
71
+ n0_registry.registerError(InternalServiceException$, InternalServiceException);
72
+ export const errorTypeRegistries = [
73
+ _s_registry,
74
+ n0_registry,
75
+ ];
62
76
  export var Checksum$ = [3, n0, _C,
63
77
  0,
64
78
  [_T, _S],
@@ -109,12 +123,6 @@ export var GetDeviceRegistrationResult$ = [3, n0, _GDRRe,
109
123
  [_DRe, _CTTL],
110
124
  [0, 0]
111
125
  ];
112
- export var InternalServiceException$ = [-3, n0, _ISE,
113
- { [_e]: _c },
114
- [_M],
115
- [0]
116
- ];
117
- TypeRegistry.for(n0).registerError(InternalServiceException$, InternalServiceException);
118
126
  export var Model$ = [3, n0, _Mo,
119
127
  0,
120
128
  [_MN, _MV, _LST, _LI, _MM],
@@ -126,8 +134,6 @@ export var SendHeartbeatRequest$ = [3, n0, _SHR,
126
134
  [0, 0, 0, () => EdgeMetrics, () => Models, () => DeploymentResult$], 3
127
135
  ];
128
136
  var __Unit = "unit";
129
- export var SagemakerEdgeServiceException$ = [-3, _s, "SagemakerEdgeServiceException", 0, [], []];
130
- TypeRegistry.for(_s).registerError(SagemakerEdgeServiceException$, SagemakerEdgeServiceException);
131
137
  var Definitions = [1, n0, _De,
132
138
  0, () => Definition$
133
139
  ];
@@ -1,4 +1,13 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var SagemakerEdgeServiceException$: StaticErrorSchema;
4
+ export declare var InternalServiceException$: StaticErrorSchema;
5
+ /**
6
+ * TypeRegistry instances containing modeled errors.
7
+ * @internal
8
+ *
9
+ */
10
+ export declare const errorTypeRegistries: TypeRegistry[];
2
11
  export declare var Checksum$: StaticStructureSchema;
3
12
  export declare var Definition$: StaticStructureSchema;
4
13
  export declare var DeploymentModel$: StaticStructureSchema;
@@ -9,10 +18,8 @@ export declare var GetDeploymentsRequest$: StaticStructureSchema;
9
18
  export declare var GetDeploymentsResult$: StaticStructureSchema;
10
19
  export declare var GetDeviceRegistrationRequest$: StaticStructureSchema;
11
20
  export declare var GetDeviceRegistrationResult$: StaticStructureSchema;
12
- export declare var InternalServiceException$: StaticErrorSchema;
13
21
  export declare var Model$: StaticStructureSchema;
14
22
  export declare var SendHeartbeatRequest$: StaticStructureSchema;
15
- export declare var SagemakerEdgeServiceException$: StaticErrorSchema;
16
23
  export declare var GetDeployments$: StaticOperationSchema;
17
24
  export declare var GetDeviceRegistration$: StaticOperationSchema;
18
25
  export declare var SendHeartbeat$: StaticOperationSchema;
@@ -1,8 +1,12 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var SagemakerEdgeServiceException$: StaticErrorSchema;
8
+ export declare var InternalServiceException$: StaticErrorSchema;
9
+ export declare const errorTypeRegistries: TypeRegistry[];
6
10
  export declare var Checksum$: StaticStructureSchema;
7
11
  export declare var Definition$: StaticStructureSchema;
8
12
  export declare var DeploymentModel$: StaticStructureSchema;
@@ -13,10 +17,8 @@ export declare var GetDeploymentsRequest$: StaticStructureSchema;
13
17
  export declare var GetDeploymentsResult$: StaticStructureSchema;
14
18
  export declare var GetDeviceRegistrationRequest$: StaticStructureSchema;
15
19
  export declare var GetDeviceRegistrationResult$: StaticStructureSchema;
16
- export declare var InternalServiceException$: StaticErrorSchema;
17
20
  export declare var Model$: StaticStructureSchema;
18
21
  export declare var SendHeartbeatRequest$: StaticStructureSchema;
19
- export declare var SagemakerEdgeServiceException$: StaticErrorSchema;
20
22
  export declare var GetDeployments$: StaticOperationSchema;
21
23
  export declare var GetDeviceRegistration$: StaticOperationSchema;
22
24
  export declare var SendHeartbeat$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.986.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker-edge",
@@ -21,38 +21,38 @@
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.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.986.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
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.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",