@aws-sdk/client-iotdeviceadvisor 3.934.0 → 3.936.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
@@ -117,10 +117,6 @@ let IotDeviceAdvisorServiceException$1 = class IotDeviceAdvisorServiceException
117
117
  }
118
118
  };
119
119
 
120
- const AuthenticationMethod = {
121
- SignatureVersion4: "SignatureVersion4",
122
- X509ClientCertificate: "X509ClientCertificate",
123
- };
124
120
  let ConflictException$1 = class ConflictException extends IotDeviceAdvisorServiceException$1 {
125
121
  name = "ConflictException";
126
122
  $fault = "client";
@@ -133,12 +129,6 @@ let ConflictException$1 = class ConflictException extends IotDeviceAdvisorServic
133
129
  Object.setPrototypeOf(this, ConflictException.prototype);
134
130
  }
135
131
  };
136
- const Protocol = {
137
- MqttV3_1_1: "MqttV3_1_1",
138
- MqttV3_1_1_OverWebSocket: "MqttV3_1_1_OverWebSocket",
139
- MqttV5: "MqttV5",
140
- MqttV5_OverWebSocket: "MqttV5_OverWebSocket",
141
- };
142
132
  let InternalServerException$1 = class InternalServerException extends IotDeviceAdvisorServiceException$1 {
143
133
  name = "InternalServerException";
144
134
  $fault = "server";
@@ -175,43 +165,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends IotDev
175
165
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
176
166
  }
177
167
  };
178
- const SuiteRunStatus = {
179
- CANCELED: "CANCELED",
180
- ERROR: "ERROR",
181
- FAIL: "FAIL",
182
- PASS: "PASS",
183
- PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
184
- PENDING: "PENDING",
185
- RUNNING: "RUNNING",
186
- STOPPED: "STOPPED",
187
- STOPPING: "STOPPING",
188
- };
189
- const Status = {
190
- CANCELED: "CANCELED",
191
- ERROR: "ERROR",
192
- FAIL: "FAIL",
193
- PASS: "PASS",
194
- PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
195
- PENDING: "PENDING",
196
- RUNNING: "RUNNING",
197
- STOPPED: "STOPPED",
198
- STOPPING: "STOPPING",
199
- };
200
- const TestCaseScenarioStatus = {
201
- CANCELED: "CANCELED",
202
- ERROR: "ERROR",
203
- FAIL: "FAIL",
204
- PASS: "PASS",
205
- PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
206
- PENDING: "PENDING",
207
- RUNNING: "RUNNING",
208
- STOPPED: "STOPPED",
209
- STOPPING: "STOPPING",
210
- };
211
- const TestCaseScenarioType = {
212
- Advanced: "Advanced",
213
- Basic: "Basic",
214
- };
215
168
 
216
169
  const _CE = "ConflictException";
217
170
  const _CSD = "CreateSuiteDefinition";
@@ -1010,6 +963,54 @@ const paginateListSuiteDefinitions = core.createPaginator(IotDeviceAdvisorClient
1010
963
 
1011
964
  const paginateListSuiteRuns = core.createPaginator(IotDeviceAdvisorClient, ListSuiteRunsCommand, "nextToken", "nextToken", "maxResults");
1012
965
 
966
+ const AuthenticationMethod = {
967
+ SignatureVersion4: "SignatureVersion4",
968
+ X509ClientCertificate: "X509ClientCertificate",
969
+ };
970
+ const Protocol = {
971
+ MqttV3_1_1: "MqttV3_1_1",
972
+ MqttV3_1_1_OverWebSocket: "MqttV3_1_1_OverWebSocket",
973
+ MqttV5: "MqttV5",
974
+ MqttV5_OverWebSocket: "MqttV5_OverWebSocket",
975
+ };
976
+ const SuiteRunStatus = {
977
+ CANCELED: "CANCELED",
978
+ ERROR: "ERROR",
979
+ FAIL: "FAIL",
980
+ PASS: "PASS",
981
+ PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
982
+ PENDING: "PENDING",
983
+ RUNNING: "RUNNING",
984
+ STOPPED: "STOPPED",
985
+ STOPPING: "STOPPING",
986
+ };
987
+ const Status = {
988
+ CANCELED: "CANCELED",
989
+ ERROR: "ERROR",
990
+ FAIL: "FAIL",
991
+ PASS: "PASS",
992
+ PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
993
+ PENDING: "PENDING",
994
+ RUNNING: "RUNNING",
995
+ STOPPED: "STOPPED",
996
+ STOPPING: "STOPPING",
997
+ };
998
+ const TestCaseScenarioStatus = {
999
+ CANCELED: "CANCELED",
1000
+ ERROR: "ERROR",
1001
+ FAIL: "FAIL",
1002
+ PASS: "PASS",
1003
+ PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
1004
+ PENDING: "PENDING",
1005
+ RUNNING: "RUNNING",
1006
+ STOPPED: "STOPPED",
1007
+ STOPPING: "STOPPING",
1008
+ };
1009
+ const TestCaseScenarioType = {
1010
+ Advanced: "Advanced",
1011
+ Basic: "Basic",
1012
+ };
1013
+
1013
1014
  Object.defineProperty(exports, "$Command", {
1014
1015
  enumerable: true,
1015
1016
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./IotDeviceAdvisorClient";
2
2
  export * from "./IotDeviceAdvisor";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { IotDeviceAdvisorServiceException } from "./models/IotDeviceAdvisorServiceException";
@@ -0,0 +1,47 @@
1
+ export const AuthenticationMethod = {
2
+ SignatureVersion4: "SignatureVersion4",
3
+ X509ClientCertificate: "X509ClientCertificate",
4
+ };
5
+ export const Protocol = {
6
+ MqttV3_1_1: "MqttV3_1_1",
7
+ MqttV3_1_1_OverWebSocket: "MqttV3_1_1_OverWebSocket",
8
+ MqttV5: "MqttV5",
9
+ MqttV5_OverWebSocket: "MqttV5_OverWebSocket",
10
+ };
11
+ export const SuiteRunStatus = {
12
+ CANCELED: "CANCELED",
13
+ ERROR: "ERROR",
14
+ FAIL: "FAIL",
15
+ PASS: "PASS",
16
+ PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
17
+ PENDING: "PENDING",
18
+ RUNNING: "RUNNING",
19
+ STOPPED: "STOPPED",
20
+ STOPPING: "STOPPING",
21
+ };
22
+ export const Status = {
23
+ CANCELED: "CANCELED",
24
+ ERROR: "ERROR",
25
+ FAIL: "FAIL",
26
+ PASS: "PASS",
27
+ PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
28
+ PENDING: "PENDING",
29
+ RUNNING: "RUNNING",
30
+ STOPPED: "STOPPED",
31
+ STOPPING: "STOPPING",
32
+ };
33
+ export const TestCaseScenarioStatus = {
34
+ CANCELED: "CANCELED",
35
+ ERROR: "ERROR",
36
+ FAIL: "FAIL",
37
+ PASS: "PASS",
38
+ PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
39
+ PENDING: "PENDING",
40
+ RUNNING: "RUNNING",
41
+ STOPPED: "STOPPED",
42
+ STOPPING: "STOPPING",
43
+ };
44
+ export const TestCaseScenarioType = {
45
+ Advanced: "Advanced",
46
+ Basic: "Basic",
47
+ };
@@ -0,0 +1,49 @@
1
+ import { IotDeviceAdvisorServiceException as __BaseException } from "./IotDeviceAdvisorServiceException";
2
+ export class ConflictException extends __BaseException {
3
+ name = "ConflictException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "ConflictException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, ConflictException.prototype);
12
+ }
13
+ }
14
+ export class InternalServerException extends __BaseException {
15
+ name = "InternalServerException";
16
+ $fault = "server";
17
+ constructor(opts) {
18
+ super({
19
+ name: "InternalServerException",
20
+ $fault: "server",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, InternalServerException.prototype);
24
+ }
25
+ }
26
+ export class ValidationException extends __BaseException {
27
+ name = "ValidationException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "ValidationException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, ValidationException.prototype);
36
+ }
37
+ }
38
+ export class ResourceNotFoundException extends __BaseException {
39
+ name = "ResourceNotFoundException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "ResourceNotFoundException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
48
+ }
49
+ }
@@ -1,96 +1 @@
1
- import { IotDeviceAdvisorServiceException as __BaseException } from "./IotDeviceAdvisorServiceException";
2
- export const AuthenticationMethod = {
3
- SignatureVersion4: "SignatureVersion4",
4
- X509ClientCertificate: "X509ClientCertificate",
5
- };
6
- export class ConflictException extends __BaseException {
7
- name = "ConflictException";
8
- $fault = "client";
9
- constructor(opts) {
10
- super({
11
- name: "ConflictException",
12
- $fault: "client",
13
- ...opts,
14
- });
15
- Object.setPrototypeOf(this, ConflictException.prototype);
16
- }
17
- }
18
- export const Protocol = {
19
- MqttV3_1_1: "MqttV3_1_1",
20
- MqttV3_1_1_OverWebSocket: "MqttV3_1_1_OverWebSocket",
21
- MqttV5: "MqttV5",
22
- MqttV5_OverWebSocket: "MqttV5_OverWebSocket",
23
- };
24
- export class InternalServerException extends __BaseException {
25
- name = "InternalServerException";
26
- $fault = "server";
27
- constructor(opts) {
28
- super({
29
- name: "InternalServerException",
30
- $fault: "server",
31
- ...opts,
32
- });
33
- Object.setPrototypeOf(this, InternalServerException.prototype);
34
- }
35
- }
36
- export class ValidationException extends __BaseException {
37
- name = "ValidationException";
38
- $fault = "client";
39
- constructor(opts) {
40
- super({
41
- name: "ValidationException",
42
- $fault: "client",
43
- ...opts,
44
- });
45
- Object.setPrototypeOf(this, ValidationException.prototype);
46
- }
47
- }
48
- export class ResourceNotFoundException extends __BaseException {
49
- name = "ResourceNotFoundException";
50
- $fault = "client";
51
- constructor(opts) {
52
- super({
53
- name: "ResourceNotFoundException",
54
- $fault: "client",
55
- ...opts,
56
- });
57
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
58
- }
59
- }
60
- export const SuiteRunStatus = {
61
- CANCELED: "CANCELED",
62
- ERROR: "ERROR",
63
- FAIL: "FAIL",
64
- PASS: "PASS",
65
- PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
66
- PENDING: "PENDING",
67
- RUNNING: "RUNNING",
68
- STOPPED: "STOPPED",
69
- STOPPING: "STOPPING",
70
- };
71
- export const Status = {
72
- CANCELED: "CANCELED",
73
- ERROR: "ERROR",
74
- FAIL: "FAIL",
75
- PASS: "PASS",
76
- PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
77
- PENDING: "PENDING",
78
- RUNNING: "RUNNING",
79
- STOPPED: "STOPPED",
80
- STOPPING: "STOPPING",
81
- };
82
- export const TestCaseScenarioStatus = {
83
- CANCELED: "CANCELED",
84
- ERROR: "ERROR",
85
- FAIL: "FAIL",
86
- PASS: "PASS",
87
- PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS",
88
- PENDING: "PENDING",
89
- RUNNING: "RUNNING",
90
- STOPPED: "STOPPED",
91
- STOPPING: "STOPPING",
92
- };
93
- export const TestCaseScenarioType = {
94
- Advanced: "Advanced",
95
- Basic: "Basic",
96
- };
1
+ export {};
@@ -128,7 +128,7 @@ const _te = "tests";
128
128
  const _w = "warnings";
129
129
  const n0 = "com.amazonaws.iotdeviceadvisor";
130
130
  import { TypeRegistry } from "@smithy/core/schema";
131
- import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/index";
131
+ import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ValidationException as __ValidationException, } from "../models/errors";
132
132
  import { IotDeviceAdvisorServiceException as __IotDeviceAdvisorServiceException } from "../models/IotDeviceAdvisorServiceException";
133
133
  export var ConflictException = [
134
134
  -3,
@@ -18,5 +18,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
18
18
  export type { IotDeviceAdvisorExtensionConfiguration } from "./extensionConfiguration";
19
19
  export * from "./commands";
20
20
  export * from "./pagination";
21
- export * from "./models";
21
+ export * from "./models/enums";
22
+ export * from "./models/errors";
23
+ export type * from "./models/models_0";
22
24
  export { IotDeviceAdvisorServiceException } from "./models/IotDeviceAdvisorServiceException";
@@ -0,0 +1,95 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AuthenticationMethod: {
6
+ readonly SignatureVersion4: "SignatureVersion4";
7
+ readonly X509ClientCertificate: "X509ClientCertificate";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type AuthenticationMethod = (typeof AuthenticationMethod)[keyof typeof AuthenticationMethod];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const Protocol: {
18
+ readonly MqttV3_1_1: "MqttV3_1_1";
19
+ readonly MqttV3_1_1_OverWebSocket: "MqttV3_1_1_OverWebSocket";
20
+ readonly MqttV5: "MqttV5";
21
+ readonly MqttV5_OverWebSocket: "MqttV5_OverWebSocket";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
27
+ /**
28
+ * @public
29
+ * @enum
30
+ */
31
+ export declare const SuiteRunStatus: {
32
+ readonly CANCELED: "CANCELED";
33
+ readonly ERROR: "ERROR";
34
+ readonly FAIL: "FAIL";
35
+ readonly PASS: "PASS";
36
+ readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
37
+ readonly PENDING: "PENDING";
38
+ readonly RUNNING: "RUNNING";
39
+ readonly STOPPED: "STOPPED";
40
+ readonly STOPPING: "STOPPING";
41
+ };
42
+ /**
43
+ * @public
44
+ */
45
+ export type SuiteRunStatus = (typeof SuiteRunStatus)[keyof typeof SuiteRunStatus];
46
+ /**
47
+ * @public
48
+ * @enum
49
+ */
50
+ export declare const Status: {
51
+ readonly CANCELED: "CANCELED";
52
+ readonly ERROR: "ERROR";
53
+ readonly FAIL: "FAIL";
54
+ readonly PASS: "PASS";
55
+ readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
56
+ readonly PENDING: "PENDING";
57
+ readonly RUNNING: "RUNNING";
58
+ readonly STOPPED: "STOPPED";
59
+ readonly STOPPING: "STOPPING";
60
+ };
61
+ /**
62
+ * @public
63
+ */
64
+ export type Status = (typeof Status)[keyof typeof Status];
65
+ /**
66
+ * @public
67
+ * @enum
68
+ */
69
+ export declare const TestCaseScenarioStatus: {
70
+ readonly CANCELED: "CANCELED";
71
+ readonly ERROR: "ERROR";
72
+ readonly FAIL: "FAIL";
73
+ readonly PASS: "PASS";
74
+ readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
75
+ readonly PENDING: "PENDING";
76
+ readonly RUNNING: "RUNNING";
77
+ readonly STOPPED: "STOPPED";
78
+ readonly STOPPING: "STOPPING";
79
+ };
80
+ /**
81
+ * @public
82
+ */
83
+ export type TestCaseScenarioStatus = (typeof TestCaseScenarioStatus)[keyof typeof TestCaseScenarioStatus];
84
+ /**
85
+ * @public
86
+ * @enum
87
+ */
88
+ export declare const TestCaseScenarioType: {
89
+ readonly Advanced: "Advanced";
90
+ readonly Basic: "Basic";
91
+ };
92
+ /**
93
+ * @public
94
+ */
95
+ export type TestCaseScenarioType = (typeof TestCaseScenarioType)[keyof typeof TestCaseScenarioType];
@@ -0,0 +1,50 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IotDeviceAdvisorServiceException as __BaseException } from "./IotDeviceAdvisorServiceException";
3
+ /**
4
+ * <p>Sends a Conflict Exception.</p>
5
+ * @public
6
+ */
7
+ export declare class ConflictException extends __BaseException {
8
+ readonly name: "ConflictException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>Sends an Internal Failure exception.</p>
17
+ * @public
18
+ */
19
+ export declare class InternalServerException extends __BaseException {
20
+ readonly name: "InternalServerException";
21
+ readonly $fault: "server";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>Sends a validation exception.</p>
29
+ * @public
30
+ */
31
+ export declare class ValidationException extends __BaseException {
32
+ readonly name: "ValidationException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>Sends a Resource Not Found exception.</p>
41
+ * @public
42
+ */
43
+ export declare class ResourceNotFoundException extends __BaseException {
44
+ readonly name: "ResourceNotFoundException";
45
+ readonly $fault: "client";
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
50
+ }
@@ -1,29 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { IotDeviceAdvisorServiceException as __BaseException } from "./IotDeviceAdvisorServiceException";
3
- /**
4
- * @public
5
- * @enum
6
- */
7
- export declare const AuthenticationMethod: {
8
- readonly SignatureVersion4: "SignatureVersion4";
9
- readonly X509ClientCertificate: "X509ClientCertificate";
10
- };
11
- /**
12
- * @public
13
- */
14
- export type AuthenticationMethod = (typeof AuthenticationMethod)[keyof typeof AuthenticationMethod];
15
- /**
16
- * <p>Sends a Conflict Exception.</p>
17
- * @public
18
- */
19
- export declare class ConflictException extends __BaseException {
20
- readonly name: "ConflictException";
21
- readonly $fault: "client";
22
- /**
23
- * @internal
24
- */
25
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
26
- }
1
+ import { AuthenticationMethod, Protocol, Status, SuiteRunStatus, TestCaseScenarioStatus, TestCaseScenarioType } from "./enums";
27
2
  /**
28
3
  * <p>Information of a test device. A thing ARN, certificate ARN
29
4
  * or device role ARN is required.</p>
@@ -46,20 +21,6 @@ export interface DeviceUnderTest {
46
21
  */
47
22
  deviceRoleArn?: string | undefined;
48
23
  }
49
- /**
50
- * @public
51
- * @enum
52
- */
53
- export declare const Protocol: {
54
- readonly MqttV3_1_1: "MqttV3_1_1";
55
- readonly MqttV3_1_1_OverWebSocket: "MqttV3_1_1_OverWebSocket";
56
- readonly MqttV5: "MqttV5";
57
- readonly MqttV5_OverWebSocket: "MqttV5_OverWebSocket";
58
- };
59
- /**
60
- * @public
61
- */
62
- export type Protocol = (typeof Protocol)[keyof typeof Protocol];
63
24
  /**
64
25
  * <p>Gets the suite definition configuration.</p>
65
26
  * @public
@@ -159,30 +120,6 @@ export interface CreateSuiteDefinitionResponse {
159
120
  */
160
121
  createdAt?: Date | undefined;
161
122
  }
162
- /**
163
- * <p>Sends an Internal Failure exception.</p>
164
- * @public
165
- */
166
- export declare class InternalServerException extends __BaseException {
167
- readonly name: "InternalServerException";
168
- readonly $fault: "server";
169
- /**
170
- * @internal
171
- */
172
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
173
- }
174
- /**
175
- * <p>Sends a validation exception.</p>
176
- * @public
177
- */
178
- export declare class ValidationException extends __BaseException {
179
- readonly name: "ValidationException";
180
- readonly $fault: "client";
181
- /**
182
- * @internal
183
- */
184
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
185
- }
186
123
  /**
187
124
  * @public
188
125
  */
@@ -233,18 +170,6 @@ export interface GetEndpointResponse {
233
170
  */
234
171
  endpoint?: string | undefined;
235
172
  }
236
- /**
237
- * <p>Sends a Resource Not Found exception.</p>
238
- * @public
239
- */
240
- export declare class ResourceNotFoundException extends __BaseException {
241
- readonly name: "ResourceNotFoundException";
242
- readonly $fault: "client";
243
- /**
244
- * @internal
245
- */
246
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
247
- }
248
173
  /**
249
174
  * @public
250
175
  */
@@ -320,25 +245,6 @@ export interface GetSuiteRunRequest {
320
245
  */
321
246
  suiteRunId: string | undefined;
322
247
  }
323
- /**
324
- * @public
325
- * @enum
326
- */
327
- export declare const SuiteRunStatus: {
328
- readonly CANCELED: "CANCELED";
329
- readonly ERROR: "ERROR";
330
- readonly FAIL: "FAIL";
331
- readonly PASS: "PASS";
332
- readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
333
- readonly PENDING: "PENDING";
334
- readonly RUNNING: "RUNNING";
335
- readonly STOPPED: "STOPPED";
336
- readonly STOPPING: "STOPPING";
337
- };
338
- /**
339
- * @public
340
- */
341
- export type SuiteRunStatus = (typeof SuiteRunStatus)[keyof typeof SuiteRunStatus];
342
248
  /**
343
249
  * <p>Gets suite run configuration.</p>
344
250
  * @public
@@ -361,56 +267,6 @@ export interface SuiteRunConfiguration {
361
267
  */
362
268
  parallelRun?: boolean | undefined;
363
269
  }
364
- /**
365
- * @public
366
- * @enum
367
- */
368
- export declare const Status: {
369
- readonly CANCELED: "CANCELED";
370
- readonly ERROR: "ERROR";
371
- readonly FAIL: "FAIL";
372
- readonly PASS: "PASS";
373
- readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
374
- readonly PENDING: "PENDING";
375
- readonly RUNNING: "RUNNING";
376
- readonly STOPPED: "STOPPED";
377
- readonly STOPPING: "STOPPING";
378
- };
379
- /**
380
- * @public
381
- */
382
- export type Status = (typeof Status)[keyof typeof Status];
383
- /**
384
- * @public
385
- * @enum
386
- */
387
- export declare const TestCaseScenarioStatus: {
388
- readonly CANCELED: "CANCELED";
389
- readonly ERROR: "ERROR";
390
- readonly FAIL: "FAIL";
391
- readonly PASS: "PASS";
392
- readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
393
- readonly PENDING: "PENDING";
394
- readonly RUNNING: "RUNNING";
395
- readonly STOPPED: "STOPPED";
396
- readonly STOPPING: "STOPPING";
397
- };
398
- /**
399
- * @public
400
- */
401
- export type TestCaseScenarioStatus = (typeof TestCaseScenarioStatus)[keyof typeof TestCaseScenarioStatus];
402
- /**
403
- * @public
404
- * @enum
405
- */
406
- export declare const TestCaseScenarioType: {
407
- readonly Advanced: "Advanced";
408
- readonly Basic: "Basic";
409
- };
410
- /**
411
- * @public
412
- */
413
- export type TestCaseScenarioType = (typeof TestCaseScenarioType)[keyof typeof TestCaseScenarioType];
414
270
  /**
415
271
  * <p>Provides test case scenario.</p>
416
272
  * @public
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { IotDeviceAdvisorExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { IotDeviceAdvisorServiceException } from "./models/IotDeviceAdvisorServiceException";
@@ -0,0 +1,57 @@
1
+ export declare const AuthenticationMethod: {
2
+ readonly SignatureVersion4: "SignatureVersion4";
3
+ readonly X509ClientCertificate: "X509ClientCertificate";
4
+ };
5
+ export type AuthenticationMethod =
6
+ (typeof AuthenticationMethod)[keyof typeof AuthenticationMethod];
7
+ export declare const Protocol: {
8
+ readonly MqttV3_1_1: "MqttV3_1_1";
9
+ readonly MqttV3_1_1_OverWebSocket: "MqttV3_1_1_OverWebSocket";
10
+ readonly MqttV5: "MqttV5";
11
+ readonly MqttV5_OverWebSocket: "MqttV5_OverWebSocket";
12
+ };
13
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
14
+ export declare const SuiteRunStatus: {
15
+ readonly CANCELED: "CANCELED";
16
+ readonly ERROR: "ERROR";
17
+ readonly FAIL: "FAIL";
18
+ readonly PASS: "PASS";
19
+ readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
20
+ readonly PENDING: "PENDING";
21
+ readonly RUNNING: "RUNNING";
22
+ readonly STOPPED: "STOPPED";
23
+ readonly STOPPING: "STOPPING";
24
+ };
25
+ export type SuiteRunStatus =
26
+ (typeof SuiteRunStatus)[keyof typeof SuiteRunStatus];
27
+ export declare const Status: {
28
+ readonly CANCELED: "CANCELED";
29
+ readonly ERROR: "ERROR";
30
+ readonly FAIL: "FAIL";
31
+ readonly PASS: "PASS";
32
+ readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
33
+ readonly PENDING: "PENDING";
34
+ readonly RUNNING: "RUNNING";
35
+ readonly STOPPED: "STOPPED";
36
+ readonly STOPPING: "STOPPING";
37
+ };
38
+ export type Status = (typeof Status)[keyof typeof Status];
39
+ export declare const TestCaseScenarioStatus: {
40
+ readonly CANCELED: "CANCELED";
41
+ readonly ERROR: "ERROR";
42
+ readonly FAIL: "FAIL";
43
+ readonly PASS: "PASS";
44
+ readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
45
+ readonly PENDING: "PENDING";
46
+ readonly RUNNING: "RUNNING";
47
+ readonly STOPPED: "STOPPED";
48
+ readonly STOPPING: "STOPPING";
49
+ };
50
+ export type TestCaseScenarioStatus =
51
+ (typeof TestCaseScenarioStatus)[keyof typeof TestCaseScenarioStatus];
52
+ export declare const TestCaseScenarioType: {
53
+ readonly Advanced: "Advanced";
54
+ readonly Basic: "Basic";
55
+ };
56
+ export type TestCaseScenarioType =
57
+ (typeof TestCaseScenarioType)[keyof typeof TestCaseScenarioType];
@@ -0,0 +1,28 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IotDeviceAdvisorServiceException as __BaseException } from "./IotDeviceAdvisorServiceException";
3
+ export declare class ConflictException extends __BaseException {
4
+ readonly name: "ConflictException";
5
+ readonly $fault: "client";
6
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
7
+ }
8
+ export declare class InternalServerException extends __BaseException {
9
+ readonly name: "InternalServerException";
10
+ readonly $fault: "server";
11
+ constructor(
12
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
13
+ );
14
+ }
15
+ export declare class ValidationException extends __BaseException {
16
+ readonly name: "ValidationException";
17
+ readonly $fault: "client";
18
+ constructor(
19
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
20
+ );
21
+ }
22
+ export declare class ResourceNotFoundException extends __BaseException {
23
+ readonly name: "ResourceNotFoundException";
24
+ readonly $fault: "client";
25
+ constructor(
26
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
27
+ );
28
+ }
@@ -1,28 +1,16 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { IotDeviceAdvisorServiceException as __BaseException } from "./IotDeviceAdvisorServiceException";
3
- export declare const AuthenticationMethod: {
4
- readonly SignatureVersion4: "SignatureVersion4";
5
- readonly X509ClientCertificate: "X509ClientCertificate";
6
- };
7
- export type AuthenticationMethod =
8
- (typeof AuthenticationMethod)[keyof typeof AuthenticationMethod];
9
- export declare class ConflictException extends __BaseException {
10
- readonly name: "ConflictException";
11
- readonly $fault: "client";
12
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
13
- }
1
+ import {
2
+ AuthenticationMethod,
3
+ Protocol,
4
+ Status,
5
+ SuiteRunStatus,
6
+ TestCaseScenarioStatus,
7
+ TestCaseScenarioType,
8
+ } from "./enums";
14
9
  export interface DeviceUnderTest {
15
10
  thingArn?: string | undefined;
16
11
  certificateArn?: string | undefined;
17
12
  deviceRoleArn?: string | undefined;
18
13
  }
19
- export declare const Protocol: {
20
- readonly MqttV3_1_1: "MqttV3_1_1";
21
- readonly MqttV3_1_1_OverWebSocket: "MqttV3_1_1_OverWebSocket";
22
- readonly MqttV5: "MqttV5";
23
- readonly MqttV5_OverWebSocket: "MqttV5_OverWebSocket";
24
- };
25
- export type Protocol = (typeof Protocol)[keyof typeof Protocol];
26
14
  export interface SuiteDefinitionConfiguration {
27
15
  suiteDefinitionName: string | undefined;
28
16
  devices?: DeviceUnderTest[] | undefined;
@@ -43,20 +31,6 @@ export interface CreateSuiteDefinitionResponse {
43
31
  suiteDefinitionName?: string | undefined;
44
32
  createdAt?: Date | undefined;
45
33
  }
46
- export declare class InternalServerException extends __BaseException {
47
- readonly name: "InternalServerException";
48
- readonly $fault: "server";
49
- constructor(
50
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
51
- );
52
- }
53
- export declare class ValidationException extends __BaseException {
54
- readonly name: "ValidationException";
55
- readonly $fault: "client";
56
- constructor(
57
- opts: __ExceptionOptionType<ValidationException, __BaseException>
58
- );
59
- }
60
34
  export interface DeleteSuiteDefinitionRequest {
61
35
  suiteDefinitionId: string | undefined;
62
36
  }
@@ -70,13 +44,6 @@ export interface GetEndpointRequest {
70
44
  export interface GetEndpointResponse {
71
45
  endpoint?: string | undefined;
72
46
  }
73
- export declare class ResourceNotFoundException extends __BaseException {
74
- readonly name: "ResourceNotFoundException";
75
- readonly $fault: "client";
76
- constructor(
77
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
78
- );
79
- }
80
47
  export interface GetSuiteDefinitionRequest {
81
48
  suiteDefinitionId: string | undefined;
82
49
  suiteDefinitionVersion?: string | undefined;
@@ -95,55 +62,11 @@ export interface GetSuiteRunRequest {
95
62
  suiteDefinitionId: string | undefined;
96
63
  suiteRunId: string | undefined;
97
64
  }
98
- export declare const SuiteRunStatus: {
99
- readonly CANCELED: "CANCELED";
100
- readonly ERROR: "ERROR";
101
- readonly FAIL: "FAIL";
102
- readonly PASS: "PASS";
103
- readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
104
- readonly PENDING: "PENDING";
105
- readonly RUNNING: "RUNNING";
106
- readonly STOPPED: "STOPPED";
107
- readonly STOPPING: "STOPPING";
108
- };
109
- export type SuiteRunStatus =
110
- (typeof SuiteRunStatus)[keyof typeof SuiteRunStatus];
111
65
  export interface SuiteRunConfiguration {
112
66
  primaryDevice: DeviceUnderTest | undefined;
113
67
  selectedTestList?: string[] | undefined;
114
68
  parallelRun?: boolean | undefined;
115
69
  }
116
- export declare const Status: {
117
- readonly CANCELED: "CANCELED";
118
- readonly ERROR: "ERROR";
119
- readonly FAIL: "FAIL";
120
- readonly PASS: "PASS";
121
- readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
122
- readonly PENDING: "PENDING";
123
- readonly RUNNING: "RUNNING";
124
- readonly STOPPED: "STOPPED";
125
- readonly STOPPING: "STOPPING";
126
- };
127
- export type Status = (typeof Status)[keyof typeof Status];
128
- export declare const TestCaseScenarioStatus: {
129
- readonly CANCELED: "CANCELED";
130
- readonly ERROR: "ERROR";
131
- readonly FAIL: "FAIL";
132
- readonly PASS: "PASS";
133
- readonly PASS_WITH_WARNINGS: "PASS_WITH_WARNINGS";
134
- readonly PENDING: "PENDING";
135
- readonly RUNNING: "RUNNING";
136
- readonly STOPPED: "STOPPED";
137
- readonly STOPPING: "STOPPING";
138
- };
139
- export type TestCaseScenarioStatus =
140
- (typeof TestCaseScenarioStatus)[keyof typeof TestCaseScenarioStatus];
141
- export declare const TestCaseScenarioType: {
142
- readonly Advanced: "Advanced";
143
- readonly Basic: "Basic";
144
- };
145
- export type TestCaseScenarioType =
146
- (typeof TestCaseScenarioType)[keyof typeof TestCaseScenarioType];
147
70
  export interface TestCaseScenario {
148
71
  testCaseScenarioId?: string | undefined;
149
72
  testCaseScenarioType?: TestCaseScenarioType | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotdeviceadvisor",
3
3
  "description": "AWS SDK for JavaScript Iotdeviceadvisor Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iotdeviceadvisor",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";