@aws-sdk/client-iotdeviceadvisor 3.987.0 → 3.989.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IotDeviceAdvisorServiceException = 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 IotDeviceAdvisorServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, IotDeviceAdvisorServiceException.prototype);
10
+ }
11
+ }
12
+ exports.IotDeviceAdvisorServiceException = IotDeviceAdvisorServiceException;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceNotFoundException = exports.ValidationException = exports.InternalServerException = exports.ConflictException = void 0;
4
+ const IotDeviceAdvisorServiceException_1 = require("./IotDeviceAdvisorServiceException");
5
+ class ConflictException extends IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException {
6
+ name = "ConflictException";
7
+ $fault = "client";
8
+ constructor(opts) {
9
+ super({
10
+ name: "ConflictException",
11
+ $fault: "client",
12
+ ...opts,
13
+ });
14
+ Object.setPrototypeOf(this, ConflictException.prototype);
15
+ }
16
+ }
17
+ exports.ConflictException = ConflictException;
18
+ class InternalServerException extends IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException {
19
+ name = "InternalServerException";
20
+ $fault = "server";
21
+ constructor(opts) {
22
+ super({
23
+ name: "InternalServerException",
24
+ $fault: "server",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, InternalServerException.prototype);
28
+ }
29
+ }
30
+ exports.InternalServerException = InternalServerException;
31
+ class ValidationException extends IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException {
32
+ name = "ValidationException";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "ValidationException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ValidationException.prototype);
41
+ }
42
+ }
43
+ exports.ValidationException = ValidationException;
44
+ class ResourceNotFoundException extends IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException {
45
+ name = "ResourceNotFoundException";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "ResourceNotFoundException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
54
+ }
55
+ }
56
+ exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -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-18",
@@ -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.iotdeviceadvisor",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2020-09-18",
33
35
  serviceTarget: "IotSenateService",
34
36
  },
@@ -0,0 +1,416 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListSuiteDefinitions$ = exports.GetSuiteRunReport$ = exports.GetSuiteRun$ = exports.GetSuiteDefinition$ = exports.GetEndpoint$ = exports.DeleteSuiteDefinition$ = exports.CreateSuiteDefinition$ = exports.UpdateSuiteDefinitionResponse$ = exports.UpdateSuiteDefinitionRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TestResult$ = exports.TestCaseScenario$ = exports.TestCaseRun$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.SuiteRunInformation$ = exports.SuiteRunConfiguration$ = exports.SuiteDefinitionInformation$ = exports.SuiteDefinitionConfiguration$ = exports.StopSuiteRunResponse$ = exports.StopSuiteRunRequest$ = exports.StartSuiteRunResponse$ = exports.StartSuiteRunRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSuiteRunsResponse$ = exports.ListSuiteRunsRequest$ = exports.ListSuiteDefinitionsResponse$ = exports.ListSuiteDefinitionsRequest$ = exports.GroupResult$ = exports.GetSuiteRunResponse$ = exports.GetSuiteRunRequest$ = exports.GetSuiteRunReportResponse$ = exports.GetSuiteRunReportRequest$ = exports.GetSuiteDefinitionResponse$ = exports.GetSuiteDefinitionRequest$ = exports.GetEndpointResponse$ = exports.GetEndpointRequest$ = exports.DeviceUnderTest$ = exports.DeleteSuiteDefinitionResponse$ = exports.DeleteSuiteDefinitionRequest$ = exports.CreateSuiteDefinitionResponse$ = exports.CreateSuiteDefinitionRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.IotDeviceAdvisorServiceException$ = void 0;
4
+ exports.UpdateSuiteDefinition$ = exports.UntagResource$ = exports.TagResource$ = exports.StopSuiteRun$ = exports.StartSuiteRun$ = exports.ListTagsForResource$ = exports.ListSuiteRuns$ = void 0;
5
+ const _CE = "ConflictException";
6
+ const _CSD = "CreateSuiteDefinition";
7
+ const _CSDR = "CreateSuiteDefinitionRequest";
8
+ const _CSDRr = "CreateSuiteDefinitionResponse";
9
+ const _DSD = "DeleteSuiteDefinition";
10
+ const _DSDR = "DeleteSuiteDefinitionRequest";
11
+ const _DSDRe = "DeleteSuiteDefinitionResponse";
12
+ const _DUT = "DeviceUnderTest";
13
+ const _DUTL = "DeviceUnderTestList";
14
+ const _GE = "GetEndpoint";
15
+ const _GER = "GetEndpointRequest";
16
+ const _GERe = "GetEndpointResponse";
17
+ const _GR = "GroupResult";
18
+ const _GRL = "GroupResultList";
19
+ const _GSD = "GetSuiteDefinition";
20
+ const _GSDR = "GetSuiteDefinitionRequest";
21
+ const _GSDRe = "GetSuiteDefinitionResponse";
22
+ const _GSR = "GetSuiteRun";
23
+ const _GSRR = "GetSuiteRunRequest";
24
+ const _GSRRR = "GetSuiteRunReportRequest";
25
+ const _GSRRRe = "GetSuiteRunReportResponse";
26
+ const _GSRRe = "GetSuiteRunResponse";
27
+ const _GSRRet = "GetSuiteRunReport";
28
+ const _ISE = "InternalServerException";
29
+ const _LSD = "ListSuiteDefinitions";
30
+ const _LSDR = "ListSuiteDefinitionsRequest";
31
+ const _LSDRi = "ListSuiteDefinitionsResponse";
32
+ const _LSR = "ListSuiteRuns";
33
+ const _LSRR = "ListSuiteRunsRequest";
34
+ const _LSRRi = "ListSuiteRunsResponse";
35
+ const _LTFR = "ListTagsForResource";
36
+ const _LTFRR = "ListTagsForResourceRequest";
37
+ const _LTFRRi = "ListTagsForResourceResponse";
38
+ const _RNFE = "ResourceNotFoundException";
39
+ const _SDC = "SuiteDefinitionConfiguration";
40
+ const _SDI = "SuiteDefinitionInformation";
41
+ const _SDIL = "SuiteDefinitionInformationList";
42
+ const _SRC = "SuiteRunConfiguration";
43
+ const _SRI = "SuiteRunInformation";
44
+ const _SRL = "SuiteRunsList";
45
+ const _SSR = "StartSuiteRun";
46
+ const _SSRR = "StartSuiteRunRequest";
47
+ const _SSRRt = "StartSuiteRunResponse";
48
+ const _SSRRto = "StopSuiteRunRequest";
49
+ const _SSRRtop = "StopSuiteRunResponse";
50
+ const _SSRt = "StopSuiteRun";
51
+ const _TCR = "TestCaseRun";
52
+ const _TCRe = "TestCaseRuns";
53
+ const _TCS = "TestCaseScenario";
54
+ const _TCSL = "TestCaseScenariosList";
55
+ const _TR = "TestResult";
56
+ const _TRR = "TagResourceRequest";
57
+ const _TRRa = "TagResourceResponse";
58
+ const _TRa = "TagResource";
59
+ const _UR = "UntagResource";
60
+ const _URR = "UntagResourceRequest";
61
+ const _URRn = "UntagResourceResponse";
62
+ const _USD = "UpdateSuiteDefinition";
63
+ const _USDR = "UpdateSuiteDefinitionRequest";
64
+ const _USDRp = "UpdateSuiteDefinitionResponse";
65
+ const _VE = "ValidationException";
66
+ const _aM = "authenticationMethod";
67
+ const _c = "client";
68
+ const _cA = "createdAt";
69
+ const _cAe = "certificateArn";
70
+ const _cT = "clientToken";
71
+ const _d = "devices";
72
+ const _dD = "defaultDevices";
73
+ const _dPRA = "devicePermissionRoleArn";
74
+ const _dRA = "deviceRoleArn";
75
+ const _e = "error";
76
+ const _eA = "endAt";
77
+ const _eR = "errorReason";
78
+ const _eT = "endTime";
79
+ const _en = "endpoint";
80
+ const _f = "failed";
81
+ const _fa = "failure";
82
+ const _g = "groups";
83
+ const _gI = "groupId";
84
+ const _gN = "groupName";
85
+ const _h = "http";
86
+ const _hE = "httpError";
87
+ const _hQ = "httpQuery";
88
+ const _iFQ = "intendedForQualification";
89
+ const _iLDT = "isLongDurationTest";
90
+ const _lMA = "lastModifiedAt";
91
+ const _lU = "logUrl";
92
+ const _lUA = "lastUpdatedAt";
93
+ const _lV = "latestVersion";
94
+ const _m = "message";
95
+ const _mR = "maxResults";
96
+ const _nT = "nextToken";
97
+ const _p = "protocol";
98
+ const _pD = "primaryDevice";
99
+ const _pR = "parallelRun";
100
+ const _pa = "passed";
101
+ const _qRDU = "qualificationReportDownloadUrl";
102
+ const _rA = "resourceArn";
103
+ const _rG = "rootGroup";
104
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.iotdeviceadvisor";
105
+ const _sA = "startedAt";
106
+ const _sDA = "suiteDefinitionArn";
107
+ const _sDC = "suiteDefinitionConfiguration";
108
+ const _sDI = "suiteDefinitionId";
109
+ const _sDIL = "suiteDefinitionInformationList";
110
+ const _sDN = "suiteDefinitionName";
111
+ const _sDV = "suiteDefinitionVersion";
112
+ const _sM = "systemMessage";
113
+ const _sRA = "suiteRunArn";
114
+ const _sRC = "suiteRunConfiguration";
115
+ const _sRI = "suiteRunId";
116
+ const _sRL = "suiteRunsList";
117
+ const _sT = "startTime";
118
+ const _sTL = "selectedTestList";
119
+ const _se = "server";
120
+ const _st = "status";
121
+ const _t = "tags";
122
+ const _tA = "thingArn";
123
+ const _tCDI = "testCaseDefinitionId";
124
+ const _tCDN = "testCaseDefinitionName";
125
+ const _tCRI = "testCaseRunId";
126
+ const _tCSI = "testCaseScenarioId";
127
+ const _tCST = "testCaseScenarioType";
128
+ const _tK = "tagKeys";
129
+ const _tR = "testResult";
130
+ const _tS = "testScenarios";
131
+ const _te = "tests";
132
+ const _w = "warnings";
133
+ const n0 = "com.amazonaws.iotdeviceadvisor";
134
+ const schema_1 = require("@smithy/core/schema");
135
+ const errors_1 = require("../models/errors");
136
+ const IotDeviceAdvisorServiceException_1 = require("../models/IotDeviceAdvisorServiceException");
137
+ const _s_registry = schema_1.TypeRegistry.for(_s);
138
+ exports.IotDeviceAdvisorServiceException$ = [-3, _s, "IotDeviceAdvisorServiceException", 0, [], []];
139
+ _s_registry.registerError(exports.IotDeviceAdvisorServiceException$, IotDeviceAdvisorServiceException_1.IotDeviceAdvisorServiceException);
140
+ const n0_registry = schema_1.TypeRegistry.for(n0);
141
+ exports.ConflictException$ = [-3, n0, _CE,
142
+ { [_e]: _c, [_hE]: 400 },
143
+ [_m],
144
+ [0]
145
+ ];
146
+ n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
147
+ exports.InternalServerException$ = [-3, n0, _ISE,
148
+ { [_e]: _se, [_hE]: 500 },
149
+ [_m],
150
+ [0]
151
+ ];
152
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
153
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
154
+ { [_e]: _c, [_hE]: 404 },
155
+ [_m],
156
+ [0]
157
+ ];
158
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
159
+ exports.ValidationException$ = [-3, n0, _VE,
160
+ { [_e]: _c, [_hE]: 400 },
161
+ [_m],
162
+ [0]
163
+ ];
164
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
165
+ exports.errorTypeRegistries = [
166
+ _s_registry,
167
+ n0_registry,
168
+ ];
169
+ exports.CreateSuiteDefinitionRequest$ = [3, n0, _CSDR,
170
+ 0,
171
+ [_sDC, _t, _cT],
172
+ [() => exports.SuiteDefinitionConfiguration$, 128 | 0, [0, 4]], 1
173
+ ];
174
+ exports.CreateSuiteDefinitionResponse$ = [3, n0, _CSDRr,
175
+ 0,
176
+ [_sDI, _sDA, _sDN, _cA],
177
+ [0, 0, 0, 4]
178
+ ];
179
+ exports.DeleteSuiteDefinitionRequest$ = [3, n0, _DSDR,
180
+ 0,
181
+ [_sDI],
182
+ [[0, 1]], 1
183
+ ];
184
+ exports.DeleteSuiteDefinitionResponse$ = [3, n0, _DSDRe,
185
+ 0,
186
+ [],
187
+ []
188
+ ];
189
+ exports.DeviceUnderTest$ = [3, n0, _DUT,
190
+ 0,
191
+ [_tA, _cAe, _dRA],
192
+ [0, 0, 0]
193
+ ];
194
+ exports.GetEndpointRequest$ = [3, n0, _GER,
195
+ 0,
196
+ [_tA, _cAe, _dRA, _aM],
197
+ [[0, { [_hQ]: _tA }], [0, { [_hQ]: _cAe }], [0, { [_hQ]: _dRA }], [0, { [_hQ]: _aM }]]
198
+ ];
199
+ exports.GetEndpointResponse$ = [3, n0, _GERe,
200
+ 0,
201
+ [_en],
202
+ [0]
203
+ ];
204
+ exports.GetSuiteDefinitionRequest$ = [3, n0, _GSDR,
205
+ 0,
206
+ [_sDI, _sDV],
207
+ [[0, 1], [0, { [_hQ]: _sDV }]], 1
208
+ ];
209
+ exports.GetSuiteDefinitionResponse$ = [3, n0, _GSDRe,
210
+ 0,
211
+ [_sDI, _sDA, _sDV, _lV, _sDC, _cA, _lMA, _t],
212
+ [0, 0, 0, 0, () => exports.SuiteDefinitionConfiguration$, 4, 4, 128 | 0]
213
+ ];
214
+ exports.GetSuiteRunReportRequest$ = [3, n0, _GSRRR,
215
+ 0,
216
+ [_sDI, _sRI],
217
+ [[0, 1], [0, 1]], 2
218
+ ];
219
+ exports.GetSuiteRunReportResponse$ = [3, n0, _GSRRRe,
220
+ 0,
221
+ [_qRDU],
222
+ [0]
223
+ ];
224
+ exports.GetSuiteRunRequest$ = [3, n0, _GSRR,
225
+ 0,
226
+ [_sDI, _sRI],
227
+ [[0, 1], [0, 1]], 2
228
+ ];
229
+ exports.GetSuiteRunResponse$ = [3, n0, _GSRRe,
230
+ 0,
231
+ [_sDI, _sDV, _sRI, _sRA, _sRC, _tR, _sT, _eT, _st, _eR, _t],
232
+ [0, 0, 0, 0, () => exports.SuiteRunConfiguration$, () => exports.TestResult$, 4, 4, 0, 0, 128 | 0]
233
+ ];
234
+ exports.GroupResult$ = [3, n0, _GR,
235
+ 0,
236
+ [_gI, _gN, _te],
237
+ [0, 0, () => TestCaseRuns]
238
+ ];
239
+ exports.ListSuiteDefinitionsRequest$ = [3, n0, _LSDR,
240
+ 0,
241
+ [_mR, _nT],
242
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
243
+ ];
244
+ exports.ListSuiteDefinitionsResponse$ = [3, n0, _LSDRi,
245
+ 0,
246
+ [_sDIL, _nT],
247
+ [() => SuiteDefinitionInformationList, 0]
248
+ ];
249
+ exports.ListSuiteRunsRequest$ = [3, n0, _LSRR,
250
+ 0,
251
+ [_sDI, _sDV, _mR, _nT],
252
+ [[0, { [_hQ]: _sDI }], [0, { [_hQ]: _sDV }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
253
+ ];
254
+ exports.ListSuiteRunsResponse$ = [3, n0, _LSRRi,
255
+ 0,
256
+ [_sRL, _nT],
257
+ [() => SuiteRunsList, 0]
258
+ ];
259
+ exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
260
+ 0,
261
+ [_rA],
262
+ [[0, 1]], 1
263
+ ];
264
+ exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
265
+ 0,
266
+ [_t],
267
+ [128 | 0]
268
+ ];
269
+ exports.StartSuiteRunRequest$ = [3, n0, _SSRR,
270
+ 0,
271
+ [_sDI, _sRC, _sDV, _t],
272
+ [[0, 1], () => exports.SuiteRunConfiguration$, 0, 128 | 0], 2
273
+ ];
274
+ exports.StartSuiteRunResponse$ = [3, n0, _SSRRt,
275
+ 0,
276
+ [_sRI, _sRA, _cA, _en],
277
+ [0, 0, 4, 0]
278
+ ];
279
+ exports.StopSuiteRunRequest$ = [3, n0, _SSRRto,
280
+ 0,
281
+ [_sDI, _sRI],
282
+ [[0, 1], [0, 1]], 2
283
+ ];
284
+ exports.StopSuiteRunResponse$ = [3, n0, _SSRRtop,
285
+ 0,
286
+ [],
287
+ []
288
+ ];
289
+ exports.SuiteDefinitionConfiguration$ = [3, n0, _SDC,
290
+ 0,
291
+ [_sDN, _rG, _dPRA, _d, _iFQ, _iLDT, _p],
292
+ [0, 0, 0, () => DeviceUnderTestList, 2, 2, 0], 3
293
+ ];
294
+ exports.SuiteDefinitionInformation$ = [3, n0, _SDI,
295
+ 0,
296
+ [_sDI, _sDN, _dD, _iFQ, _iLDT, _p, _cA],
297
+ [0, 0, () => DeviceUnderTestList, 2, 2, 0, 4]
298
+ ];
299
+ exports.SuiteRunConfiguration$ = [3, n0, _SRC,
300
+ 0,
301
+ [_pD, _sTL, _pR],
302
+ [() => exports.DeviceUnderTest$, 64 | 0, 2], 1
303
+ ];
304
+ exports.SuiteRunInformation$ = [3, n0, _SRI,
305
+ 0,
306
+ [_sDI, _sDV, _sDN, _sRI, _cA, _sA, _eA, _st, _pa, _f],
307
+ [0, 0, 0, 0, 4, 4, 4, 0, 1, 1]
308
+ ];
309
+ exports.TagResourceRequest$ = [3, n0, _TRR,
310
+ 0,
311
+ [_rA, _t],
312
+ [[0, 1], 128 | 0], 2
313
+ ];
314
+ exports.TagResourceResponse$ = [3, n0, _TRRa,
315
+ 0,
316
+ [],
317
+ []
318
+ ];
319
+ exports.TestCaseRun$ = [3, n0, _TCR,
320
+ 0,
321
+ [_tCRI, _tCDI, _tCDN, _st, _sT, _eT, _lU, _w, _fa, _tS],
322
+ [0, 0, 0, 0, 4, 4, 0, 0, 0, () => TestCaseScenariosList]
323
+ ];
324
+ exports.TestCaseScenario$ = [3, n0, _TCS,
325
+ 0,
326
+ [_tCSI, _tCST, _st, _fa, _sM],
327
+ [0, 0, 0, 0, 0]
328
+ ];
329
+ exports.TestResult$ = [3, n0, _TR,
330
+ 0,
331
+ [_g],
332
+ [() => GroupResultList]
333
+ ];
334
+ exports.UntagResourceRequest$ = [3, n0, _URR,
335
+ 0,
336
+ [_rA, _tK],
337
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
338
+ ];
339
+ exports.UntagResourceResponse$ = [3, n0, _URRn,
340
+ 0,
341
+ [],
342
+ []
343
+ ];
344
+ exports.UpdateSuiteDefinitionRequest$ = [3, n0, _USDR,
345
+ 0,
346
+ [_sDI, _sDC],
347
+ [[0, 1], () => exports.SuiteDefinitionConfiguration$], 2
348
+ ];
349
+ exports.UpdateSuiteDefinitionResponse$ = [3, n0, _USDRp,
350
+ 0,
351
+ [_sDI, _sDA, _sDN, _sDV, _cA, _lUA],
352
+ [0, 0, 0, 0, 4, 4]
353
+ ];
354
+ var DeviceUnderTestList = [1, n0, _DUTL,
355
+ 0, () => exports.DeviceUnderTest$
356
+ ];
357
+ var GroupResultList = [1, n0, _GRL,
358
+ 0, () => exports.GroupResult$
359
+ ];
360
+ var SelectedTestList = 64 | 0;
361
+ var SuiteDefinitionInformationList = [1, n0, _SDIL,
362
+ 0, () => exports.SuiteDefinitionInformation$
363
+ ];
364
+ var SuiteRunsList = [1, n0, _SRL,
365
+ 0, () => exports.SuiteRunInformation$
366
+ ];
367
+ var TagKeyList = 64 | 0;
368
+ var TestCaseRuns = [1, n0, _TCRe,
369
+ 0, () => exports.TestCaseRun$
370
+ ];
371
+ var TestCaseScenariosList = [1, n0, _TCSL,
372
+ 0, () => exports.TestCaseScenario$
373
+ ];
374
+ var TagMap = 128 | 0;
375
+ exports.CreateSuiteDefinition$ = [9, n0, _CSD,
376
+ { [_h]: ["POST", "/suiteDefinitions", 200] }, () => exports.CreateSuiteDefinitionRequest$, () => exports.CreateSuiteDefinitionResponse$
377
+ ];
378
+ exports.DeleteSuiteDefinition$ = [9, n0, _DSD,
379
+ { [_h]: ["DELETE", "/suiteDefinitions/{suiteDefinitionId}", 200] }, () => exports.DeleteSuiteDefinitionRequest$, () => exports.DeleteSuiteDefinitionResponse$
380
+ ];
381
+ exports.GetEndpoint$ = [9, n0, _GE,
382
+ { [_h]: ["GET", "/endpoint", 200] }, () => exports.GetEndpointRequest$, () => exports.GetEndpointResponse$
383
+ ];
384
+ exports.GetSuiteDefinition$ = [9, n0, _GSD,
385
+ { [_h]: ["GET", "/suiteDefinitions/{suiteDefinitionId}", 200] }, () => exports.GetSuiteDefinitionRequest$, () => exports.GetSuiteDefinitionResponse$
386
+ ];
387
+ exports.GetSuiteRun$ = [9, n0, _GSR,
388
+ { [_h]: ["GET", "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}", 200] }, () => exports.GetSuiteRunRequest$, () => exports.GetSuiteRunResponse$
389
+ ];
390
+ exports.GetSuiteRunReport$ = [9, n0, _GSRRet,
391
+ { [_h]: ["GET", "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/report", 200] }, () => exports.GetSuiteRunReportRequest$, () => exports.GetSuiteRunReportResponse$
392
+ ];
393
+ exports.ListSuiteDefinitions$ = [9, n0, _LSD,
394
+ { [_h]: ["GET", "/suiteDefinitions", 200] }, () => exports.ListSuiteDefinitionsRequest$, () => exports.ListSuiteDefinitionsResponse$
395
+ ];
396
+ exports.ListSuiteRuns$ = [9, n0, _LSR,
397
+ { [_h]: ["GET", "/suiteRuns", 200] }, () => exports.ListSuiteRunsRequest$, () => exports.ListSuiteRunsResponse$
398
+ ];
399
+ exports.ListTagsForResource$ = [9, n0, _LTFR,
400
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
401
+ ];
402
+ exports.StartSuiteRun$ = [9, n0, _SSR,
403
+ { [_h]: ["POST", "/suiteDefinitions/{suiteDefinitionId}/suiteRuns", 200] }, () => exports.StartSuiteRunRequest$, () => exports.StartSuiteRunResponse$
404
+ ];
405
+ exports.StopSuiteRun$ = [9, n0, _SSRt,
406
+ { [_h]: ["POST", "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/stop", 200] }, () => exports.StopSuiteRunRequest$, () => exports.StopSuiteRunResponse$
407
+ ];
408
+ exports.TagResource$ = [9, n0, _TRa,
409
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
410
+ ];
411
+ exports.UntagResource$ = [9, n0, _UR,
412
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
413
+ ];
414
+ exports.UpdateSuiteDefinition$ = [9, n0, _USD,
415
+ { [_h]: ["PATCH", "/suiteDefinitions/{suiteDefinitionId}", 200] }, () => exports.UpdateSuiteDefinitionRequest$, () => exports.UpdateSuiteDefinitionResponse$
416
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultIotDeviceAdvisorHttpAuthSchemeProvider } 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-18",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.iotdeviceadvisor",
30
+ errorTypeRegistries,
29
31
  version: "2020-09-18",
30
32
  serviceTarget: "IotSenateService",
31
33
  },
@@ -97,7 +97,7 @@ const _pa = "passed";
97
97
  const _qRDU = "qualificationReportDownloadUrl";
98
98
  const _rA = "resourceArn";
99
99
  const _rG = "rootGroup";
100
- const _s = "status";
100
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.iotdeviceadvisor";
101
101
  const _sA = "startedAt";
102
102
  const _sDA = "suiteDefinitionArn";
103
103
  const _sDC = "suiteDefinitionConfiguration";
@@ -113,7 +113,7 @@ const _sRL = "suiteRunsList";
113
113
  const _sT = "startTime";
114
114
  const _sTL = "selectedTestList";
115
115
  const _se = "server";
116
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.iotdeviceadvisor";
116
+ const _st = "status";
117
117
  const _t = "tags";
118
118
  const _tA = "thingArn";
119
119
  const _tCDI = "testCaseDefinitionId";
@@ -130,12 +130,38 @@ const n0 = "com.amazonaws.iotdeviceadvisor";
130
130
  import { TypeRegistry } from "@smithy/core/schema";
131
131
  import { ConflictException, InternalServerException, ResourceNotFoundException, ValidationException, } from "../models/errors";
132
132
  import { IotDeviceAdvisorServiceException } from "../models/IotDeviceAdvisorServiceException";
133
+ const _s_registry = TypeRegistry.for(_s);
134
+ export var IotDeviceAdvisorServiceException$ = [-3, _s, "IotDeviceAdvisorServiceException", 0, [], []];
135
+ _s_registry.registerError(IotDeviceAdvisorServiceException$, IotDeviceAdvisorServiceException);
136
+ const n0_registry = TypeRegistry.for(n0);
133
137
  export var ConflictException$ = [-3, n0, _CE,
134
138
  { [_e]: _c, [_hE]: 400 },
135
139
  [_m],
136
140
  [0]
137
141
  ];
138
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
142
+ n0_registry.registerError(ConflictException$, ConflictException);
143
+ export var InternalServerException$ = [-3, n0, _ISE,
144
+ { [_e]: _se, [_hE]: 500 },
145
+ [_m],
146
+ [0]
147
+ ];
148
+ n0_registry.registerError(InternalServerException$, InternalServerException);
149
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
150
+ { [_e]: _c, [_hE]: 404 },
151
+ [_m],
152
+ [0]
153
+ ];
154
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
155
+ export var ValidationException$ = [-3, n0, _VE,
156
+ { [_e]: _c, [_hE]: 400 },
157
+ [_m],
158
+ [0]
159
+ ];
160
+ n0_registry.registerError(ValidationException$, ValidationException);
161
+ export const errorTypeRegistries = [
162
+ _s_registry,
163
+ n0_registry,
164
+ ];
139
165
  export var CreateSuiteDefinitionRequest$ = [3, n0, _CSDR,
140
166
  0,
141
167
  [_sDC, _t, _cT],
@@ -198,7 +224,7 @@ export var GetSuiteRunRequest$ = [3, n0, _GSRR,
198
224
  ];
199
225
  export var GetSuiteRunResponse$ = [3, n0, _GSRRe,
200
226
  0,
201
- [_sDI, _sDV, _sRI, _sRA, _sRC, _tR, _sT, _eT, _s, _eR, _t],
227
+ [_sDI, _sDV, _sRI, _sRA, _sRC, _tR, _sT, _eT, _st, _eR, _t],
202
228
  [0, 0, 0, 0, () => SuiteRunConfiguration$, () => TestResult$, 4, 4, 0, 0, 128 | 0]
203
229
  ];
204
230
  export var GroupResult$ = [3, n0, _GR,
@@ -206,12 +232,6 @@ export var GroupResult$ = [3, n0, _GR,
206
232
  [_gI, _gN, _te],
207
233
  [0, 0, () => TestCaseRuns]
208
234
  ];
209
- export var InternalServerException$ = [-3, n0, _ISE,
210
- { [_e]: _se, [_hE]: 500 },
211
- [_m],
212
- [0]
213
- ];
214
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
215
235
  export var ListSuiteDefinitionsRequest$ = [3, n0, _LSDR,
216
236
  0,
217
237
  [_mR, _nT],
@@ -242,12 +262,6 @@ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
242
262
  [_t],
243
263
  [128 | 0]
244
264
  ];
245
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
246
- { [_e]: _c, [_hE]: 404 },
247
- [_m],
248
- [0]
249
- ];
250
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
251
265
  export var StartSuiteRunRequest$ = [3, n0, _SSRR,
252
266
  0,
253
267
  [_sDI, _sRC, _sDV, _t],
@@ -285,7 +299,7 @@ export var SuiteRunConfiguration$ = [3, n0, _SRC,
285
299
  ];
286
300
  export var SuiteRunInformation$ = [3, n0, _SRI,
287
301
  0,
288
- [_sDI, _sDV, _sDN, _sRI, _cA, _sA, _eA, _s, _pa, _f],
302
+ [_sDI, _sDV, _sDN, _sRI, _cA, _sA, _eA, _st, _pa, _f],
289
303
  [0, 0, 0, 0, 4, 4, 4, 0, 1, 1]
290
304
  ];
291
305
  export var TagResourceRequest$ = [3, n0, _TRR,
@@ -300,12 +314,12 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
300
314
  ];
301
315
  export var TestCaseRun$ = [3, n0, _TCR,
302
316
  0,
303
- [_tCRI, _tCDI, _tCDN, _s, _sT, _eT, _lU, _w, _fa, _tS],
317
+ [_tCRI, _tCDI, _tCDN, _st, _sT, _eT, _lU, _w, _fa, _tS],
304
318
  [0, 0, 0, 0, 4, 4, 0, 0, 0, () => TestCaseScenariosList]
305
319
  ];
306
320
  export var TestCaseScenario$ = [3, n0, _TCS,
307
321
  0,
308
- [_tCSI, _tCST, _s, _fa, _sM],
322
+ [_tCSI, _tCST, _st, _fa, _sM],
309
323
  [0, 0, 0, 0, 0]
310
324
  ];
311
325
  export var TestResult$ = [3, n0, _TR,
@@ -333,14 +347,6 @@ export var UpdateSuiteDefinitionResponse$ = [3, n0, _USDRp,
333
347
  [_sDI, _sDA, _sDN, _sDV, _cA, _lUA],
334
348
  [0, 0, 0, 0, 4, 4]
335
349
  ];
336
- export var ValidationException$ = [-3, n0, _VE,
337
- { [_e]: _c, [_hE]: 400 },
338
- [_m],
339
- [0]
340
- ];
341
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
342
- export var IotDeviceAdvisorServiceException$ = [-3, _sm, "IotDeviceAdvisorServiceException", 0, [], []];
343
- TypeRegistry.for(_sm).registerError(IotDeviceAdvisorServiceException$, IotDeviceAdvisorServiceException);
344
350
  var DeviceUnderTestList = [1, n0, _DUTL,
345
351
  0, () => DeviceUnderTest$
346
352
  ];
@@ -1,5 +1,16 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var IotDeviceAdvisorServiceException$: StaticErrorSchema;
2
4
  export declare var ConflictException$: StaticErrorSchema;
5
+ export declare var InternalServerException$: StaticErrorSchema;
6
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
7
+ export declare var ValidationException$: StaticErrorSchema;
8
+ /**
9
+ * TypeRegistry instances containing modeled errors.
10
+ * @internal
11
+ *
12
+ */
13
+ export declare const errorTypeRegistries: TypeRegistry[];
3
14
  export declare var CreateSuiteDefinitionRequest$: StaticStructureSchema;
4
15
  export declare var CreateSuiteDefinitionResponse$: StaticStructureSchema;
5
16
  export declare var DeleteSuiteDefinitionRequest$: StaticStructureSchema;
@@ -14,14 +25,12 @@ export declare var GetSuiteRunReportResponse$: StaticStructureSchema;
14
25
  export declare var GetSuiteRunRequest$: StaticStructureSchema;
15
26
  export declare var GetSuiteRunResponse$: StaticStructureSchema;
16
27
  export declare var GroupResult$: StaticStructureSchema;
17
- export declare var InternalServerException$: StaticErrorSchema;
18
28
  export declare var ListSuiteDefinitionsRequest$: StaticStructureSchema;
19
29
  export declare var ListSuiteDefinitionsResponse$: StaticStructureSchema;
20
30
  export declare var ListSuiteRunsRequest$: StaticStructureSchema;
21
31
  export declare var ListSuiteRunsResponse$: StaticStructureSchema;
22
32
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
23
33
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
24
- export declare var ResourceNotFoundException$: StaticErrorSchema;
25
34
  export declare var StartSuiteRunRequest$: StaticStructureSchema;
26
35
  export declare var StartSuiteRunResponse$: StaticStructureSchema;
27
36
  export declare var StopSuiteRunRequest$: StaticStructureSchema;
@@ -39,8 +48,6 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
39
48
  export declare var UntagResourceResponse$: StaticStructureSchema;
40
49
  export declare var UpdateSuiteDefinitionRequest$: StaticStructureSchema;
41
50
  export declare var UpdateSuiteDefinitionResponse$: StaticStructureSchema;
42
- export declare var ValidationException$: StaticErrorSchema;
43
- export declare var IotDeviceAdvisorServiceException$: StaticErrorSchema;
44
51
  export declare var CreateSuiteDefinition$: StaticOperationSchema;
45
52
  export declare var DeleteSuiteDefinition$: StaticOperationSchema;
46
53
  export declare var GetEndpoint$: StaticOperationSchema;